Skip to content

markovMSM

Methods for Checking the Markov Condition in Multi-State Survival Data

v0.1.3 · Feb 15, 2023 · GPL-3

Description

The inference in multi-state models is traditionally performed under a Markov assumption that claims that past and future of the process are independent given the present state. In this package, we consider tests of the Markov assumption that are applicable to general multi-state models. Three approaches using existing methodology are considered: a simple method based on including covariates depending on the history in Cox models for the transition intensities; methods based on measuring the discrepancy of the non-Markov estimators of the transition probabilities to the Markov Aalen-Johansen estimators; and, finally, methods that were developed by considering summaries from families of log-rank statistics where patients are grouped by the state occupied of the process at a particular time point (see Soutinho G, Meira-Machado L (2021) <doi:10.1007/s00180-021-01139-7> and Titman AC, Putter H (2020) <doi:10.1093/biostatistics/kxaa030>).

Downloads

CRAN

333

Last 30 days

11807th

858

Last 90 days

3.2K

Last year

Trend: +69% (30d vs prior 30d)

r2u

40

Last 30 days

119

Last 90 days

415

Last year

Trend: -20% (30d vs prior 30d)

r2u: no daily series yet

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

replacement functions

Warning in file(open = "w+") :
  cannot open file '/tmp/RtmpyFRC8d/Rf33dff3694a3bfe': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_namespace_quietly -> .try_quietly -> file
Execution halted
The argument of a replacement function which corresponds to the right
hand side must be named ‘value’.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies survival mstate markovMSM

Version History

5 tracked
new 0.1.3 Mar 10, 2026
updated 0.1.3 ← 0.1.2 diff Feb 14, 2023
updated 0.1.2 ← 0.1.1 diff Jan 4, 2023
updated 0.1.1 ← 0.1.0 diff Sep 28, 2022
new 0.1.0 Nov 22, 2021