Package: BMRMM
Title: An Implementation of the Bayesian Markov (Renewal) Mixed Models
Version: 1.0.1
Authors@R: c(
    person(given = "Yutong",family = "Wu",role = c("aut", "cre"),email = "yutong.wu@utexas.edu"),
    person(given = "Abhra",family = "Sarkar",role = c("aut"),email = "abhra.sarkar@utexas.edu"))
Author: Yutong Wu [aut, cre],
  Abhra Sarkar [aut]
Maintainer: Yutong Wu <yutong.wu@utexas.edu>
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) <doi:10.1080/01621459.2018.1423986> and Yutong Wu et al., (2022) <doi:10.1093/biostatistics/kxac050>.
Imports: fields, logOfGamma, MCMCpack, multicool, pracma
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Depends: R (>= 2.10)
NeedsCompilation: no
Packaged: 2024-04-22 04:58:34 UTC; yutongwu
Repository: CRAN
Date/Publication: 2024-04-22 05:42:36 UTC
Built: R 4.4.0; ; 2024-05-03 16:08:59 UTC; unix
