mortassumptions: Mortality Assumptions

Description Usage Details Examples

Description

A class which describes the mortality for a policyholder. The params argument should be a list with x for the age and table for the table. See the examples below.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
mortassumptions(params)

kpx(k, mort)

kdeferredqx(k, mort)

## S3 method for class 'mortassumptions'
kpx(k, mort)

## S3 method for class 'mortassumptions'
kdeferredqx(k, mort)

Details

The kpx function can be used to calculate survival probabilities and the kdeferredqx function can be used to calculate probability of death in a given year. See the examples below.

Examples

1
2
3
4
5
6
malemort = mortassumptions(list(x = 50, table = "MaleMort91"))
femalemort = mortassumptions(list(x = 30, table = "FemaleMort91"))

# calculate probabilities
kpx(5, malemort)
kdeferredqx(2, femalemort)

nathanesau/stocins documentation built on May 23, 2019, 12:19 p.m.