kannisto.estimate: Kannisto Estimation

Description Usage Arguments Details Value References See Also Examples

View source: R/kannisto.R

Description

Estimate the Kannisto parameters (Thatcher et al. 1998).

Usage

1

Arguments

mx

A vector of mortality rates.

ages

A vector of ages corresponding to mx. These can be indices of age groups or raw ages.

Details

Given the Kannisto equation logit(mx) = log(c) + dx, the function estimates the c and d parameters using values of ages as the covariate x.

Value

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

References

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.

See Also

kannisto.predict, kannisto, cokannisto.estimate

Examples

1
2
3
data(mxM, package = "wpp2017")
mx <- subset(mxM, name == "Canada")[,"2010-2015"]
kannisto.estimate(mx[18:21], ages = 18:21)

PPgp/MortCast documentation built on Aug. 8, 2021, 5:17 p.m.