Changelog
Source:NEWS.md
Version 0.3 (2025/08/27)
msmbayes()now supports semi-Markov models with phase-type approximations to Weibull and Gamma sojourn distributions.obstypeanddeathexactsupported for exact transition times, as inmsm.Censored states supported through
censor_states.Misclassification models with fixed misclassification probabilities now supported.
Bayesian computation now uses
rstaninstead ofcmdstanr.cmdstanris now only used for Pathfinder, and is no longer a dependency.Functions
msmbayes_prior_sample()andmsmbayes_priorpred_sample()to simulate from prior and prior predictive distributions.Data summary function,
statetable(), similar to itsmsmcounterpart.New output functions, including
soj_prob()to return the CDF of the fitted sojourn distribution at arbitrary points, andpnext()to return the probability of the next state.summary()has an improved interface for selecting model parameters.
Version 0.2 (2024/04/09)
Friendlier interface for specifying prior distributions.
Prior distributions now summarised in
summary.msmbayes()output.New function
msmhist()for illustrating multi-state data over time.New function
standardise_to()for computing outputs standardised over the distribution of a given population.