mod8p: Heligman-Pollard parameter coversion to age-specific...

Description Usage Arguments Value References Examples

View source: R/mod8p.R

Description

Calculates the age-specific probabilities of death using the Heligman-Pollard model

Usage

1
mod8p(theta, x)

Arguments

theta

A vector containing values for the 8 parameters of the Heligman-Pollard model

x

A vector containing the ages at which to calculate the probabilities of death

Value

A vector of probabilities of death at ages defined by x

References

Heligman, Larry and John H. Pollard. 1980 "The Age Pattern of Mortality." Journal of the Institute of Actuaries 107:49–80.

Examples

1
2
3
4
theta <- c(0.06008, 0.31087, 0.34431, 0.00698,
           1.98569, 26.71071, 0.00022, 1.08800)
age <- c(0.00001, 1, seq(5, 85, 5))
result <- mod8p(theta=theta, x=age)

HPbayes documentation built on May 2, 2019, 5:53 a.m.