axyn {lifecontingencies} | R Documentation |
Functions to evaluate life insurance and annuities on two heads.
Description
These functions evaluates life insurances and annuities on two heads.
Usage
axyn(tablex, tabley, x, y, n, i, m, k = 1, status = "joint", type = "EV",
payment="advance")
Axyn(tablex, x, tabley, y, n, i, m, k = 1, status = "joint", type = "EV")
Arguments
tablex |
Life X |
tabley |
Life Y |
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 |
m |
Deferring period. Default value is zero. |
k |
Fractional payments or periods where insurance is payable. |
status |
Either |
type |
A string, either |
payment |
The Payment type, either |
Details
Actuarial mathematics book formulas has been implemented.
Value
A numeric value returning APV of chosen insurance form.
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.
Note
Deprecated functions. Use Axyzn
and axyzn
instead.
Author(s)
Giorgio A. Spedicato
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
Examples
## Not run:
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")
## End(Not run)