Description Usage Arguments Value References See Also Examples
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.
1 |
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. |
a data.frame
with length(group)
rows and 8 columns:
Age group
conditional probability of dying
conditional probability of surviving
number of survivors to age x
number of deaths in age group
number of person years in age group
Number of person years after age x
Life expectancy at age x
Newman (2001), pages 264-269.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.