Implementation of the family of generalised age-period-cohort
stochastic mortality models. This family of models encompasses many models
proposed in the actuarial and demographic literature including the
Lee-Carter (1992)
StMoMo (Stochastic Mortality Modelling) is an R package providing functions to specify and fit stochastic mortality models including the Lee-Carter models, the CBD model, the APC model and many other (possibly new) models. The package also includes tools for analysing the goodness of fit of the models and performing mortality projections and simulations.
An overview of the usage and facilities of StMoMo is described in the working paper Andrés M. Villegas, Pietro Millossovich, Vladimir K. Kaishev. “StMoMo: An R Package for Stochastic Mortality Modelling”
To install the stable version on R CRAN:
install.packages("StMoMo")
To install the latest development version:
install.packages("devtools")devtools::install_github("amvillegas/StMoMo")
This package is free and open source software, licensed under GPL (>= 2)
If you are interested in the package feel free to email [email protected] or track development at http://github.com/amvillegas/StMoMo
Add optional parameters kt.lookback and gc.lookback to functions forecast.fitStMoMo, simulate.fitStMoMo and simulate.bootStMoMo. These new parameters allow the forecast and simulation of mortality models using only a limited history of the period and cohort indexes
Improve documentation of some functions
Update package vignette
Add citation file