Skip to content
BayesMoFo needs insight, which CRAN will archive unless its check problems are fixed by Nov 14.

BayesMoFo

0.2.0Package record

Bayesian Mortality Forecasting

0packages depend
6.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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), including 'demogdata' and 'StMoMoData' objects. Model selection via the Deviance Information Criterion (DIC) is supported.

Install

Health

CRAN checks
13OK
Slowest check: 7.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.0

Release 0.2.0 has not been analysed yet.

READMEYes · 278 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
36includes a package overview page
Examples that run
71%25 run in a plain check · 10 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
53%

Downloads

6.3K
CRAN downloads in the past year
Rank #8,021 · ~17/day · ~523/mo
Daily download trend is not available in this view yet.
43830 days
1.2K90 days
6.3K1 year
Compare downloads with other packages →
Also on75 r2u44 autocran

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing BayesMoFo adds 103 packages (50 with compiled code, 67 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.0.0
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 0.1.0 (2025)
Contributor
Contributor
Listed in earlier versions (1)
Wong
no longer listed · 0.1.0
Releases (2)

Pick two releases to compare their code metrics.

  • 0.2.0Latest
    record
    2026-10-26 · current release · diff ↗ ·
    48 hours in CRAN's queue
    Listed in CRAN's incoming queue from 2026-10-23 19:40 to 2026-10-25 19:37 UTC, in 14 readings.
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2025-07-14
  • R
    R 4.5.0 released · 2025-04-11
Across CRAN, the median accepted release of the past year spent 22 hours in the queue, 90% under 11 days.How queue time is measured

Package metadata

First published
2025-07-14
Total releases
2 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 4.0.0
Bundled data
523 KB / 9 files
Download size
1.6 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("BayesMoFo")
Wong, J. S. T., Diana, A., & Pittea, A. (2026). BayesMoFo: Bayesian Mortality Forecasting (Version 0.2.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.2.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-26, 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