CRAN/E | StanMoMo

StanMoMo

Bayesian Mortality Modelling with 'Stan'

Installation

About

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.

github.com/kabarigou/StanMoMo
System requirements GNU make
Bug report File report

Key Metrics

Version 1.2.0
R ≥ 3.5.0
Published 2023-09-23 68 days ago
Needs compilation? yes
License GPL-3
CRAN checks StanMoMo results

Downloads

Last 24 hours 12 -33%
Last 7 days 48 -9%
Last 30 days 251 -14%
Last 90 days 935 +54%
Last 365 days 2.625 -5%

Maintainer

Maintainer

Karim Barigou

karim290492@gmail.com

Authors

Karim Barigou

aut / cre

Pierre-Olivier Goffard

aut

Material

README
NEWS
Reference manual
Package source

In Views

ActuarialScience

Vignettes

Bayesian Mortality Modeling
Bayesian Model Averaging

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

StanMoMo archive

Depends

R ≥ 3.5.0

Imports

loo
methods
RcppParallel
Rcpp ≥ 0.12.0
rstan ≥2.26.0
rstantools ≥ 2.0.0
tidyverse
dplyr
tibble
httr
bridgesampling
stats
utils
tidyselect
latex2exp
tidyr
ggplot2

Suggests

knitr
rmarkdown
shinystan
Cairo

LinkingTo

BH ≥ 1.66.0
Rcpp ≥ 0.12.0
RcppEigen ≥ 0.3.3.3.0
rstan ≥ 2.26.0
StanHeaders ≥ 2.26.0
RcppParallel