cokannisto.estimate | R Documentation |
Estimate the coherent Kannisto parameters as described in Sevcikova et al. (2016).
cokannisto.estimate(mxM, mxF, ages, fitted = TRUE)
mxM |
A vector of male mortality rates. |
mxF |
A vector of female mortality rates. |
ages |
A vector of ages corresponding to |
fitted |
Logical. If |
Given the Kannisto equation logit(m_x) = \log(c) + dx
,
the Coherent Kannisto method estimates the d
parameter jointly for male and female
data, in order to prevent mortality crossovers in higher ages.
List of two lists, one for male and one for female. Each of the two lists contains the following components:
coefficients
:named vector with the coherent Kannisto coefficients c
and d
. The d
values are the same in both lists.
fitted.values
:the fitted values (not included if fitted
is FALSE
)
residuals
:input rates minus the fitted values (not included if fitted
is FALSE
)
Sevcikova H., Li N., Kantorova V., Gerland P., Raftery A.E. (2016). Age-Specific Mortality and Fertility Rates for Probabilistic Population Projections. In: Schoen R. (eds) Dynamic Demographic Analysis. The Springer Series on Demographic Methods and Population Analysis, vol 39. Springer, Cham
cokannisto
, kannisto.predict
, kannisto
data(mxM, mxF, package = "wpp2017")
country <- "Brazil"
mxm <- subset(mxM, name == country)[,"2010-2015"]
mxf <- subset(mxF, name == country)[,"2010-2015"]
cokannisto.estimate(mxm[18:21], mxf[18:21], ages = 18:21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.