Learn R Programming

BMRMM (version 1.0.0)

An Implementation of the Bayesian Markov (Renewal) Mixed Models

Description

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) and Yutong Wu et al., (2022) .

Copy Link

Version

Install

install.packages('BMRMM')

Monthly Downloads

694

Version

1.0.0

License

MIT + file LICENSE

Maintainer

Yutong Wu

Last Published

June 19th, 2023

Functions in BMRMM (1.0.0)

foxp2

Simulated FoxP2 Data Set.
plot.BMRMMsummary

Plot Method for Visualizing BMRMM Summary
diag.BMRMM

MCMC Diagnostic Plots for Transition Probabilities and Duration Times
hist.BMRMM

Histogram of Duration Times
summary.BMRMM

Summary Method for Objects of Class BMRMM
model.selection.scores

Model Selection Scores for the Number of Components for Duration Times
BMRMM

Bayesian Markov Renewal Mixed Models (BMRMMs)
foxp2sm

Shortened Simulated FoxP2 Data Set.