Skip to content

BayesMoFo

0.1.0

Bayesian Mortality Forecasting

0packages depend
6.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Jackie Siaw Tze WongFirst published 2025-07-141 releasesCRAN page ↗

Carry out Bayesian estimation and forecasting for a variety of stochastic mortality models using vague prior distributions. Models supported include numerous well-established approaches introduced in the actuarial and demographic literature, such as the Lee-Carter (1992) doi:10.1080/01621459.1992.10475265, the Cairns-Blake-Dowd (2009) doi:10.1080/10920277.2009.10597538, the Li-Lee (2005) doi:10.1353/dem.2005.0021, and the Plat (2009) doi:10.1016/j.insmatheco.2009.08.006 models. The package is designed to analyse stratified mortality data structured as a 3-dimensional array of dimensions p × A × T (strata × age × year). Stratification can represent factors such as cause of death, country, deprivation level, sex, geographic region, insurance product, marital status, socioeconomic group, or smoking behavior. While the primary focus is on analysing stratified data (p > 1), the package can also handle mortality data that are not stratified (p = 1). Model selection via the Deviance Information Criterion (DIC) is supported.

Install

Health

CRAN checks
13OK
Slowest check: 7.1 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 278 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
71%
Documented parameters
100%
Return-value docs
100%
References docs
53%

Downloads

6.5K
CRAN downloads in the past year
Rank #7,024 · ~18/day · ~544/mo
Daily download trend is not available in this view yet.
26030 days
1.2K90 days
6.5K1 year
Compare downloads with other packages →
Also on108 r2u21 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (2)
Contributor
Contributor
Listed in earlier versions (1)
no longer listed · 0.1.0
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-07-14
Total releases
1 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0.0
Bundled data
523 KB / 9 files
Download size
1.5 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BayesMoFo")
Wong, J. S. T., Diana, A., & Pittea, A. (2025). BayesMoFo: Bayesian Mortality Forecasting (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.BayesMoFo

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for BayesMoFo version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy