Description Usage Arguments Value References See Also Examples
Construct a multiple decrement life table for a given year. A multiple decrement life table (MDLT) describes the mortality experience of the group of individuals in the OLT cohort who are "due to die" of a particular cause of death. The MDLT is an example of a competing risks model.
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. |
all.deaths |
The number of deaths from all causes for each age group as a numeric vector. |
cause.deaths |
The number of deaths from a particular cause 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. |
a data.frame
with length(group)
rows and 7 columns:
Age group
crude conditional probability of dying in age group
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 270-273.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Example 13.3
## create multiple decrement life table for neoplasms
with(males, mdlt(group = age.group, all.deaths = deaths.all,
cause.deaths = neoplasm.deaths, pop = pop))
mdlt.out <- with(males,
mdlt(group = age.group, all.deaths = deaths.all,
cause.deaths = neoplasm.deaths, pop = pop))
## 27.17% of males born in Canada in 1991 predicted to die of neoplasm
mdlt.out[1,"Ljk"] / 1e5 * 100
## For an individual due to die of neoplasm, the life expectancy
## at birth is 73.27 years
mdlt.out[1,"ekxj"]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.