modMStates: Simulation and Estimation of Continuous-Time Multi-State Markov Models for Panel Data

A higher-level interface to continuous-time Markov multi-state models for panel (interval-censored) data. Seven canonical clinical process structures are supplied with structurally valid generator matrices, so that transition matrices and starting values need not be constructed by hand. Panel data can be simulated from exact trajectories under regular or irregular observation schedules, with optional exactly observed absorption times and optional Weibull holding times for assessing the Markov assumption. A single fitting call validates the input against the assumed structure and returns the estimated generator with confidence intervals, mean sojourn times, transition probability matrices and observed transition counts, together with the optimiser's convergence code. A Monte Carlo driver reports Monte Carlo standard errors alongside bias, root mean squared error and interval coverage. Likelihood evaluation is delegated to 'msm' (Jackson, 2011, <doi:10.18637/jss.v038.i08>); the panel-data likelihood is that of Kalbfleisch and Lawless (1985) <doi:10.1080/01621459.1985.10478195>.

Version: 0.0.1
Depends: R (≥ 3.5.0)
Imports: msm (≥ 1.6), stats, utils
Suggests: testthat (≥ 3.0.0), survival
Published: 2026-09-03
DOI: 10.32614/CRAN.package.modMStates (may not be active yet)
Author: Atanu Bhattacharjee [aut, cre, ctb], Akash Pawar [aut, ctb]
Maintainer: Atanu Bhattacharjee <atanustat at gmail.com>
BugReports: https://github.com/infinitebstats/modMStates/issues
License: GPL-3
URL: https://github.com/infinitebstats/modMStates
NeedsCompilation: no
Language: en-GB
Materials: NEWS
CRAN checks: modMStates results

Documentation:

Reference manual: modMStates.html , modMStates.pdf

Downloads:

Package source: modMStates_0.0.1.tar.gz
Windows binaries: r-devel: not available, r-release: modMStates_0.0.1.zip, r-oldrel: not available
macOS binaries: r-release (arm64): modMStates_0.0.1.tgz, r-oldrel (arm64): modMStates_0.0.1.tgz, r-release (x86_64): modMStates_0.0.1.tgz, r-oldrel (x86_64): modMStates_0.0.1.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=modMStates to link to this page.