LTabr: an abridged lifetable based on M(x)

View source: R/Stepwise.R

LTabrR Documentation

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)

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.

Value

numeric life expectancy at birth

References

\insertRef

andreev2002algorithmDemoDecomp \insertRefandreev2012excelDemoDecomp


timriffe/DemoDecomp documentation built on Nov. 4, 2023, 4:15 p.m.