Skip to content

StanMoMo

Bayesian Mortality Modelling with 'Stan'

v1.2.0 · Sep 23, 2023 · GPL-3

Description

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.

Downloads

258

Last 30 days

12327th

258

Last 90 days

258

Last year

CRAN Check Status

5 NOTE
9 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (17 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’
  ‘utils’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’
  ‘utils’
  All declared Imports should be used.
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 100.9Mb
  sub-directories of 1Mb or more:
    libs  100.1Mb
NOTE r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 92.1Mb
  sub-directories of 1Mb or more:
    libs  91.3Mb
NOTE r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   5.0Mb
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’
  ‘utils’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespaces in Imports field not imported from:
  ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’
  ‘utils’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

installed package size

  installed size is 100.9Mb
  sub-directories of 1Mb or more:
    libs  100.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is 92.1Mb
  sub-directories of 1Mb or more:
    libs  91.3Mb
NOTE r-oldrel-windows-x86_64

installed package size

  installed size is  5.7Mb
  sub-directories of 1Mb or more:
    libs   5.0Mb

Dependency Network

Dependencies Reverse dependencies loo RcppParallel Rcpp rstan (>= 2.26.0) rstantools tidyverse dplyr tibble httr bridgesampling tidyselect latex2exp tidyr ggplot2 StanMoMo

Version History

new 1.2.0 Mar 9, 2026