multidecrins: Multiple decrement life insurance

Description Usage Arguments Value Warning Examples

Description

Function to evaluate multiple decrement insurances

Usage

1
Axn.mdt(object, x, n, i, decrement)

Arguments

object

an mdt or actuarialtable object

x

policyholder's age

n

contract duration

i

interest rate

decrement

decrement category

Value

The scalar representing APV of the insurance

Warning

The function is experimental and very basic. Testing is still needed. Use at own risk!

Examples

1
2
3
4
#creates a temporary mdt
myTable<-data.frame(x=41:43,lx=c(800,776,752),d1=rep(8,3),d2=rep(16,3))
myMdt<-new("mdt",table=myTable,name="ciao")
Axn.mdt(myMdt, x=41,n=2,i=.05,decrement="d2")

spedygiorgio/lifecontingencies documentation built on March 21, 2021, 5:36 a.m.