Learn R Programming

lifecontingencies (version 0.0.3)

axyn: Functions to evaluate life insurance and annuities on two heads.

Description

These functions evalutates life insurances and annuities on two heads.

Usage

axyn(tablex, tabley, x, y, n, i, m, k = 1, status = "joint", type = "EV")

Axyn(tablex, x, tabley, y, n, i, m, k = 1, status = "joint", type = "EV")

Arguments

tablex
Life X lifetable object.
tabley
Life Y lifetable object.
x
Age of life X.
y
Age of life Y.
n
Insured duration. Infinity if missing.
i
Interest rate. Default value is those implied in actuarialtable.
m
Deferring period. Default value is zero.
k
Fractional payments or periods where insurance is payable.
status
Either "joint" or "last" survival status.
type
"immediate" or "due", annuities only.

Value

  • A numeric value representing APV of the chosen insurance.

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

Actuarial mathematics book formulas has been implemented with little testing available.

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

pxyt

Examples

Run this code
data(soa08Act)
	#last survival status annuity
	axyn(tablex=soa08Act, tabley=soa08Act, x=65, y=70, n=5,  status = "last", 
    type = "EV")
    #first survival status annuity
	
	Axyn(tablex=soa08Act, tabley=soa08Act, x=65, y=70,   status = "last", 
    type = "EV")

Run the code above in your browser using DataLab