Package: StMoMo 0.4.1.9000

StMoMo: Stochastic Mortality Modelling

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) <doi:10.2307/2290201> and the Cairns-Blake-Dowd (2006) <doi:10.1111/j.1539-6975.2006.00195.x> models. It includes functions for fitting mortality models, analysing their goodness-of-fit and performing mortality projections and simulations.

Authors:Andres Villegas <[email protected]>, Pietro Millossovich <[email protected]>, Vladimir Kaishev <[email protected]>

StMoMo_0.4.1.9000.tar.gz
StMoMo_0.4.1.9000.zip(r-4.7)StMoMo_0.4.1.9000.zip(r-4.6)StMoMo_0.4.1.9000.zip(r-4.5)
StMoMo_0.4.1.9000.tgz(r-4.6-any)StMoMo_0.4.1.9000.tgz(r-4.5-any)
StMoMo_0.4.1.9000.tar.gz(r-4.7-any)StMoMo_0.4.1.9000.tar.gz(r-4.6-any)
StMoMo_0.4.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
StMoMo/json (API)
NEWS

# Install 'StMoMo' in R:
install.packages('StMoMo', repos = c('https://amvillegas.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/amvillegas/stmomo/issues

Datasets:
  • EWMaleData - England and Wales male mortality data

On CRAN:

Conda:

7.80 score 25 stars 4 packages 106 scripts 825 downloads 4 mentions 17 exports 46 dependencies

Last updated from:84805fb8bb. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE211
source / vignettesOK313
linux-release-x86_64NOTE216
macos-release-arm64NOTE184
macos-oldrel-arm64NOTE263
windows-develNOTE165
windows-releaseNOTE213
windows-oldrelNOTE189
wasm-releaseOK134

Exports:apcbootstrapcbdcentral2initialextractCohortfitgenWeightMatiarimainitial2centrallcm6m7m8mrwdrhStMoMoStMoMoData

Dependencies:clicolorspacecpp11dotCall64fanplotfarverfieldsforecastfracdiffgenericsggplot2gluegnmgtableisobandlabelinglatticelifecyclelmtestmagrittrmapsMASSMatrixnlmennetplyrqvcalcR6RColorBrewerRcppRcppArmadillorelimpreshape2rlangrootSolveS7scalesspamstringistringrtimeDateurcavctrsviridisLitewithrzoo

StMoMo: An R Package for Stochastic Mortality Modelling

Rendered fromStMoMoVignette.Rnwusingutils::Sweaveon May 20 2026.

Last update: 2017-03-31
Started: 2015-03-16

Readme and manuals

Help Manual

Help pageTopics
Create an Age-Period-Cohort mortality modelapc
Generic method for bootstrapping a fitted Stochastic Mortality Modelbootstrap
Bootstrap a fitted Stochastic Mortality Modelbootstrap.fitStMoMo
Create a Cairns-Blake-Dowd mortality modelcbd
Transform StMoMoData from central to initial exposurescentral2initial
Extract coefficients from a fitted Stochastic Mortality Modelcoef.fitStMoMo
England and Wales male mortality dataEWMaleData
Extract cohort from an age-period arrayextractCohort
Generic for fitting a Stochastic Mortality Modelfit
Fit a Renshaw and Haberman (Lee-Carter with cohorts) mortality modelfit.rh
Fit a Stochastic Mortality Modelfit.StMoMo
Compute fitted values for a Stochastic Mortality Modelfitted.fitStMoMo
Forecast mortality rates using a Stochastic Mortality Modelforecast.fitStMoMo
Forecast independent arima seriesforecast.iarima
Forecast a Multivariate Random Walk with Driftforecast.mrwd
Generate weight matrixgenWeightMat
Fit independent arima series to a multivariate time seriesiarima
Transform StMoMoData from initial to central exposuresinitial2central
Create a Lee-Carter modellc
Log-Likelihood of a fitStMoMo objectlogLik.fitStMoMo
Create an M6 type extension of the Cairns-Blake-Dowd mortality modelm6
Create an M7 type extension of the Cairns-Blake-Dowd mortality modelm7
Create an M8 type extension of the Cairns-Blake-Dowd mortality modelm8
Fit a Multivariate Random Walk with Driftmrwd
Plot bootstrapped parameters of a Stochastic Mortality Modelplot.bootStMoMo
Plot fitted parameters from a stochastic mortality modelplot.fitStMoMo
Plot a forecast from a Stochastic Mortality Modelplot.forStMoMo
Plot the residuals of a Stochastic Mortality Modelplot.resStMoMo
Predict method for Stochastic Mortality Models fitspredict.fitStMoMo
Extract deviance residuals of a Stochastic Mortality Modelresiduals.fitStMoMo
Create a Renshaw and Haberman (Lee-Carter with cohorts) mortality modelrh
Simulate future sample paths from a Bootstrapped Stochastic Mortality Modelsimulate.bootStMoMo
Simulate future sample paths from a Stochastic Mortality Modelsimulate.fitStMoMo
Simulate independent arima seriessimulate.iarima
Simulate a Multivariate Random Walk with Driftsimulate.mrwd
Create a new Stochastic Mortality ModelStMoMo-package StMoMo
Create StMoMoData object from demogdata objectStMoMoData