Learn R Programming

lifecontingencies (version 0.0.3)

pxt: Function to evaluate survival, death probabilities and deaths.

Description

These functions evalutate survival and raw death probabilities between age x and x+t

Usage

dxt(object, x, t)

pxt(object, x, t, fractional = "linear")

qxt(object, x, t, fractional = "linear")

Arguments

object
A lifetable object.
x
Age of life X.
t
Period until which the age shall be evaluated. Default value is 1
fractional
Assumptions for fractional age. One of "linear", "hyperbolic", "constant force".

Value

  • A numeric value

Warning

The function is provided as is, without any warranty regarding the accuracy of calculations. The author disclaims any liability for eventual losses arising from direct or indirect use of this software.

Details

Fractional assumptions are: -linear: linear interpolation between consecutive ages. -constant force of mortality: constant force of mortality. -hyperbolic: Balducci assumptions. See reference book for details.

References

Actuarial Mathematics (Second Edition), 1997, by Bowers, N.L., Gerber, H.U., Hickman, J.C., Jones, D.A. and Nesbitt, C.J.

See Also

exn, lifetable

Examples

Run this code
#dxt example
	data(soa08Act)
	dxt(object=soa08Act, x=90, t=2)
	#qxt example
	qxt(object=soa08Act, x=90, t=2)
	#pxt example
	pxt(object=soa08Act, x=90, t=2, "constant force" )

Run the code above in your browser using DataLab