mdlt: Multiple Decrement Life Table (MDLT) for a given year

Description Usage Arguments Value References See Also Examples

Description

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.

Usage

1
mdlt(group, all.deaths, cause.deaths, pop, radix = 1e+05)

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.

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.

Value

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

group

Age group

qjk

crude conditional probability of dying in age group

lkxj

number of survivors to age x

djk

number of deaths in age group

Ljk

number of person years in age group

Tkxj

number of person years after age x

ekxj

life expectancy at age x

References

Newman (2001), pages 270-273.

See Also

olt and cdlt

Examples

 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"]

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