An Implementation of the Bayesian Markov (Renewal) Mixed Models
Overview
The Bayesian Markov renewal mixed models take sequentially observed categorical data with continuous duration times, being either state duration or inter-state duration. These models comprehensively analyze the stochastic dynamics of both state transitions and duration times under the influence of multiple exogenous factors and random individual effect. The default setting flexibly models the transition probabilities using Dirichlet mixtures and the duration times using gamma mixtures. It also provides the flexibility of modeling the categorical sequences using Bayesian Markov mixed models alone, either ignoring the duration times altogether or dividing duration time into multiples of an additional category in the sequence by a user-specific unit. The package allows extensive inference of the state transition probabilities and the duration times as well as relevant plots and graphs. It also includes a synthetic data set to demonstrate the desired format of input data set and the utility of various functions. Methods for Bayesian Markov renewal mixed models are as described in: Abhra Sarkar et al., (2018) doi:10.1080/01621459.2018.1423986 and Yutong Wu et al., (2022) doi:10.1093/biostatistics/kxac050.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 25%
Downloads
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.1Latest
- 1.0.02023-06-19 · diff ↗ ·
removed 10 exports
get_duration_diagnostic_plots, get_estimated_post_mean_and_sd, get_global_test_results, get_histogram_by_component, get_histogram_with_post_mean, get_lpml_waic_scores, get_mixture_params, get_mixture_probs_by_cov, get_tp_diagnostic_plots, get_tp_local_test_resultsadded 2 exports
diag.BMRMM, model.selection.scores - RR 4.3.0 released · 2023-04-21
- 0.0.32023-01-21 · diff ↗
- 0.0.22023-01-06 · diff ↗ ·
removed 2 exports
get_heatmap_by_cov, get_heatmap_mix_paramadded 2 exports
get_mixture_params, get_mixture_probs_by_cov - RR 4.2.0 released · 2022-04-22
- 0.0.12021-11-15
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-11-15
- Total releases
- 5 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 100 KB / 2 files
- Download size
- 127 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("BMRMM")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.