olt: Ordinary Life Table (OLT) for a given year

Description Usage Arguments Value References See Also Examples

Description

Construct an ordinary life table for a given year. The ordinary life table (OLT) provides a method of analyzing mortality for all causes of death combined.

Usage

1
olt(group, deaths, pop, radix = 1e+05, phi = 1, linear = TRUE)

Arguments

group

The age group vector as integer. For example, 0, 1, 5, ... where 0 indicates birth to one year, 1 indicates age 1 to age 5, and so forth. See data used with example below.

deaths

The number of deaths from all causes for each age group as a numeric vector.

pop

The population for each age group as a numeric vector.

radix

The number of individuals in the OLT birth cohort. Typically set to a large number like 100,000.

phi

The multiplier for sensitivity analysis. For example, set to 0.9 to examine mortality implications for a declining death rate.

linear

logical indicating which functional form to use to calculate number of survivors to age x (lxj). Default is TRUE, which means use linear form. Otherwise use exponential.

Value

a data.frame with length(group) rows and 8 columns:

group

Age group

qj

conditional probability of dying

pj

conditional probability of surviving

lxj

number of survivors to age x

dj

number of deaths in age group

Lj

number of person years in age group

Txj

Number of person years after age x

exj

Life expectancy at age x

References

Newman (2001), pages 264-269.

See Also

cdlt and mdlt

Examples

1
2
3
4
5
6
7
## Example 13.1
with(males, olt(group = age.group, deaths = deaths.all, pop = pop))
## predicted life expectancy birth is 73.34

## with sensitivity analysis for declinind death rate:
with(males, olt(group = age.group, deaths = deaths.all, pop = pop, phi = 0.9))
## predicted life expectancy birth is 75.65

clayford/bme documentation built on May 13, 2019, 7:37 p.m.