Learn R Programming

DemoDecomp (version 1.14.1)

LTabr: an abridged lifetable based on M(x)

Description

Implements the abridged lifetable formulas given in the supplementary material to Andreev et. al. (2012). An entire lifetable is calculated, but only life expectancy at birth is returned.

Usage

LTabr(Mx, Age = c(0, 1, cumsum(rep(5, length(Mx) - 2))), radix = 1e+05)

Value

numeric life expectancy at birth

Arguments

Mx

numeric vector of abridged mortality rates.

Age

integer, abridged age lower bounds.

radix

numeric. Can be anything positive.

Details

Chiang's a(x) is assumed in the following way: \(a(0) = 0.07 + 1.7 * M(0)\), \(a(1) = 1.6\), \(a(\omega) = \frac{1}{M(\omega)}\), and all others are assumed at mid interval. The last age is assumed open. Everything else is pretty standard.

References

andreev2002algorithmDemoDecomp andreev2012excelDemoDecomp