Skip to content

StanMoMo

1.2.0

Bayesian Mortality Modelling with 'Stan'

0packages depend
3.6Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Karim BarigouFirst published 2021-10-074 releasesCRAN page ↗GitHub ↗

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

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
Slowest check: 19.6 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
17
Dependencies · direct
Check history
  • NOTE2026-06-09
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-04-22
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 355 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
100%
Return-value docs
100%
References docs
42%

Downloads

3.6K
CRAN downloads in the past year
Rank #10,361 · ~10/day · ~302/mo
Daily download trend is not available in this view yet.
41130 days
1K90 days
3.6K1 year
Compare downloads with other packages →
Also on525 r2u30 autocran49 c2d4u

Repository

Repository
15Stars
3Forks
0Open issues
0Open PRs
0Releases
144Commits
5Contributors
License GPL-3.0 · 144 commits · Last activity 2023-09-19

Stars over time

2024-10-29 · 152026-07-07 · 15

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
24 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.0Latest
    2023-09-23 · current release · diff ↗
  • 1.1.1
    2023-09-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    2022-06-24 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    2021-10-07
  • R
    R 4.1.0 released · 2021-05-18

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
Appears in task views
Report a problem with this page →