StanMoMo
1.2.0Bayesian Mortality Modelling with 'Stan'
Overview
Implementation of popular mortality models using the 'rstan' package, which provides the R interface to the 'Stan' C++ library for Bayesian estimation. The package supports well-known models proposed in the actuarial and demographic literature including the Lee-Carter (1992) doi:10.1080/01621459.1992.10475265 and the Cairns-Blake-Dowd (2006) doi:10.1111/j.1539-6975.2006.00195.x models. By a simple call, the user inputs deaths and exposures and the package outputs the MCMC simulations for each parameter, the log likelihoods and predictions. Moreover, the package includes tools for model selection and Bayesian model averaging by leave future-out validation.
Install
Health
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-06-0911 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0810 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-04-229 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-188 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- NOTE2026-03-109 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 88%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 42%
Downloads
Repository
Stars over time
Forks over time
PRs over time
Repository practices
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/kabarigou/stanmomo on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2021-10-07
- Total releases
- 4 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 254 KB / 1 file
- Download size
- 361 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet