Description Usage Arguments Details Value References See Also Examples
Construct either a period or cohort life table from enumerated deaths and mid-interval population estimates.
1 2 3 4 5 6 7 8 |
x |
age at the beginning of the age classes of the life table |
nDx |
deaths |
nKx |
population size |
b0 |
coefficients used in Keyfitz-Flieger graduation |
b1 |
first set of coefficients used in Coale-Demeny graduation |
b4 |
second set of coefficients used in Coale-Demeny graduation |
type |
type of life table calculation: "kf", "cd", or "cohort". Default is "kf". |
nxx |
person-years lived by those dying in the last (possibly
open) age-class. If |
iwidth |
width of the age intervals. Default |
width12 |
width of the first two age classes. Default
|
Constructs a period or cohort life tables from enumerated deaths and
mid-interval population sizes (period) or enumerated deaths and
person-years at risk (cohort). x
, nDx
, and nKx
must all
the be same length.
There are currently three options for life table construction. The
first two are for the construction of period life tables. They differ
only in the way that person-years lived by those dying in the first
two intervals are handled. For type="kf"
, the default, the
first two values of nax estimated using Keyfitz and Fleiger's (1990)
regression method. For type="cd"
, Coale and Demeny's method
(1983) is used. The Coale-Demeny method uses different coefficients
depending on the level of early mortality. As a result, this method
may work better for high-mortality populations.
The third type of life table is a cohort life table, for which the conversion from mortality rates to probabilities of death is unnecessary, so the nax column of the life table is of limited interest.
A dataframe with nine columns:
x |
age at the beginning of the interval |
nax |
person-years lived by those dying in the interval x to x+n |
nMx |
period central death rate |
nqx |
probability of death between ages x and x+n |
lx |
probability of survival to exact age x |
ndx |
proportion of deaths occurring between ages x and x+n |
nLx |
person-years lived in the interval x to x+n |
Tx |
person-years of life left in the cohort at age x |
ex |
life expectancy at age x |
Keyfitz, N. 1977. Introduction to the mathematics of populations. 2nd ed. Menlo Park: Addison-Wesley.
Coale, A., P. Demeny, and B. Vaughn. 1983. Regional model life tables and stable populations. 2nd ed. New York: Academic Press.
Keyfitz, N., and W. Flieger. 1990. World population growth and aging: Demographic trends in the late twentieth century. Chicago: University of Chicago Press.
Preston, S.H., P. Heuveline, and F. Guillot. 2001. Demography: Measuring and modeling population processes. Oxford: Blackwell.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(goodman)
## default type="kf"
vlt <- with(goodman, life.table(x=age, nKx=ven.nKx, nDx=ven.nDx))
## compare nax values for cd vs kf life tables
vlt1 <- with(goodman, life.table(x=age, nKx=ven.nKx, nDx=ven.nDx, type="cd"))
vlt$nax[1:2]
vlt1$nax[1:2]
## now construct a cohort life table for Himalayan thar,
## (Hemitargus jemlahicus)
data(thar)
thar.lt <- with(thar, life.table(x=age, nDx=deaths, nKx=count,
type="cohort", iwidth=1, width12=c(1,1)))
thar.lt
|
[1] 0.1483 1.5000
[1] 0.1820 1.5919
x nax nMx nqx lx ndx nLx Tx ex
1 0 0.5 0.5317 0.5317 1.0000 0.5317 0.7341 3.49 3.49
2 1 0.5 0.0208 0.0208 0.4683 0.0098 0.4634 2.75 5.88
3 2 0.5 0.0532 0.0532 0.4585 0.0244 0.4463 2.29 4.99
4 3 0.5 0.1124 0.1124 0.4341 0.0488 0.4098 1.84 4.24
5 4 0.5 0.1392 0.1392 0.3854 0.0537 0.3585 1.43 3.72
6 5 0.5 0.1912 0.1912 0.3317 0.0634 0.3000 1.07 3.24
7 6 0.5 0.2182 0.2182 0.2683 0.0585 0.2390 0.77 2.88
8 7 0.5 0.2558 0.2558 0.2098 0.0537 0.1829 0.53 2.55
9 8 0.5 0.3125 0.3125 0.1561 0.0488 0.1317 0.35 2.25
10 9 0.5 0.3182 0.3182 0.1073 0.0341 0.0902 0.22 2.05
11 10 0.5 0.3333 0.3333 0.0732 0.0244 0.0610 0.13 1.77
12 11 0.5 0.4000 0.4000 0.0488 0.0195 0.0390 0.07 1.40
13 12 1.0 1.0000 1.0000 0.0293 0.0293 0.0293 0.03 1.00
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.