kannisto.estimate | R Documentation |
Estimate the Kannisto parameters (Thatcher et al. 1998).
kannisto.estimate(mx, ages)
mx |
A vector of mortality rates. |
ages |
A vector of ages corresponding to |
Given the Kannisto equation logit(m_x) = \log(c) + dx
,
the function estimates the c
and d
parameters using
values of ages
as the covariate x
.
List with the following components:
coefficients
:named vector with Kannisto coefficients c
and d
.
fitted.values
:the fitted values
residuals
:input rates minus the fitted values
Thatcher, A. R., Kannisto, V. and Vaupel, J. W. (1998). The Force of Mortality at Ages 80 to 120, volume 5 of Odense Monographs on Population Aging Series. Odense, Denmark: Odense University Press.
kannisto.predict
, kannisto
, cokannisto.estimate
data(mxM, package = "wpp2017")
mx <- subset(mxM, name == "Canada")[,"2010-2015"]
kannisto.estimate(mx[18:21], ages = 18:21)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.