PMDrho | R Documentation |
Data object containing two tables with \rho
coefficients for the
Pattern Mortality Decline method as implemented in the pmd
function.
data(PMDrho)
Using data(PMDrho)
loads two objects into memory: RhoFemales
and
RhoMales
. They both are data frames with 22 rows corresponding to age groups,
and 17 columns corresponding to different levels of life expectancy in 5-years intervals
(from 50 to 135). The names of the columns reflect the middle of the respective interval.
Andreev, K. Gu, D., Gerland, P. (2013). Age Patterns of Mortality Improvement by Level of Life Expectancy at Birth with Applications to Mortality Projections. Paper presented at the Annual Meeting of the Population Association of America, New Orleans, LA. https://paa2013.populationassociation.org/papers/132554.
Gu, D., Pelletier, F. and Sawyer, C. (2017). Projecting Age-sex-specific Mortality: A Comparison of the Modified Lee-Carter and Pattern of Mortality Decline Methods, UN Population Division, Technical Paper No. 6. New York: United Nations. https://population.un.org/wpp/Publications/Files/WPP2017_TechnicalPaperNo6.pdf
pmd
data(PMDrho)
head(RhoFemales)
head(RhoMales)
# plot a few male patterns
e0lev <- colnames(RhoMales)[c(1, 5, 9, 13, 17)]
plot(RhoMales[, e0lev[1]], type="l", log="y", ylim=range(RhoMales[,e0lev]),
ylab="male rho", xlab="Age")
for(i in 2:length(e0lev)) lines(RhoMales[,e0lev[i]], lty = i)
legend("bottomleft", legend = e0lev, lty = 1:length(e0lev), bty= "n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.