Learn R Programming

lifecontingencies (version 1.3.12)

Exn: Function to evaluate the pure endowment

Description

Function to evaluate the pure endowment

Usage

Exn(actuarialtable, x, n, i = actuarialtable@interest, type = "EV", power = 1)

Value

The APV of the contract

Arguments

actuarialtable

An actuarial table object.

x

Age of the insured.

n

Length of the contract.

i

Interest rate (it overwrites the actuarialtable one)

type

A string, eithed "EV" (default value), "ST" (stocastic realization) or "VR" if the value of the variance is needed.

power

The power of the APV. Default is 1 (mean)

Author

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

axn, Axn

Examples

Run this code

#assumes SOA example life table to be load
data(soaLt)
soa08Act=with(soaLt, new("actuarialtable",interest=0.06, x=x,lx=Ix,name="SOA2008"))
#evaluate the pure endowment for a man aged 30 for a time span of 35
Exn(soa08Act, x=30, n=35) 

Run the code above in your browser using DataLab