The mstate package for estimation and prediction in non- and semi-parametric multi-state and competing risks models.
In recent years, multi-state models have been studied widely in survival analysis. Despite their clear advantages, their use in biomedical and other applications has been rather limited so far. An important reason for this is the lack of flexible and user-friendly software for multi-state models. This paper introduces a package in R, called 'mstate', for each of the steps of the analysis of multi-state models. It can be applied to non- and semi-parametric models. The package contains functions to facilitate data preparation and flexible estimation of different types of covariate effects in the context of Cox regression models, functions to estimate patient-specific transition intensities, dynamic prediction probabilities and their associated standard errors (both Greenwood and Aalen-type). Competing risks models can also be analyzed by means of mstate, as they are a special type of multi-state models. The package is available from the R homepage http://cran.r-project.org. We give a self-contained account of the underlying mathematical theory, including a new asymptotic result for the cumulative hazard function and new recursive formulas for the calculation of the estimated standard errors of the estimated transition probabilities, and we illustrate the use of the key functions of the mstate package by the analysis of a reversible multi-state model describing survival of liver cirrhosis patients.
Department of Medical Statistics and Bioinformatics, Leiden University Medical Center, P.O. Box 9600, 2300 RC Leiden, The Netherlands. l.c.de_wreede@lumc.nl
Liesbeth C
LC
de Wreede
Marta
M
Fiocco
Hein
H
Putter
D000465:Algorithms; D003627:Data Interpretation, Statistical; D006801:Humans; D008103:Liver Cirrhosis; D008390:Markov Chains; D015233:Models, Statistical; D015999:Multivariate Analysis; D016011:Normal Distribution; D016016:Proportional Hazards Models; D012044:Regression Analysis; D018570:Risk Assessment / Q000379:methods; D012984:Software; D018709:Statistics, Nonparametric; D016019:Survival Analysis