English

BMRMM: An R Package for Bayesian Markov (Renewal) Mixed Models

Methodology 2024-09-18 v1 Applications

Abstract

We introduce the BMRMM package implementing Bayesian inference for a class of Markov renewal mixed models which can characterize the stochastic dynamics of a collection of sequences, each comprising alternative instances of categorical states and associated continuous duration times, while being influenced by a set of exogenous factors as well as a 'random' individual. The default setting flexibly models the state transition probabilities using mixtures of Dirichlet distributions and the duration times using mixtures of gamma kernels while also allowing variable selection for both. Modeling such data using simpler Markov mixed models also remains an option, either by ignoring the duration times altogether or by replacing them with instances of an additional category obtained by discretizing them by a user-specified unit. The option is also useful when data on duration times may not be available in the first place. We demonstrate the package's utility using two data sets.

Keywords

Cite

@article{arxiv.2409.10835,
  title  = {BMRMM: An R Package for Bayesian Markov (Renewal) Mixed Models},
  author = {Yutong Wu and Abhra Sarkar},
  journal= {arXiv preprint arXiv:2409.10835},
  year   = {2024}
}

Comments

20 pages, 11 figures

R2 v1 2026-06-28T18:47:08.309Z