Timereg for Event Times (timereg)
Additive survival model, semiparametric proportional odds model, cumulative residuals, excess risk models and more.
Flexible competing risks regression including GOF-tests.
Two-stage frailty modelling. PLS for the additive risk model.
Additive hazard Lasso in the ‘ahaz’ package for high-dimensional data.
mets package has a collection of tools for multivariate data.
Programs for Martinussen and Scheike (2006), `Dynamic Regression Models for Survival Data’, Springer Verlag.
Installation
install.packages("timereg",dependencies=TRUE)The development version may be installed directly from github (requires Rtools on windows and development tools (+Xcode) for Mac OS X):
devtools::install_github("scheike/timereg")or download the source
git@github.com:scheike/timereg.git
Citation
To cite the timereg package please use one of the following references
Thomas H. Scheike, Torben Martinussen (2006), Dynamic Regression models for survival data. Springer, New-York
“Thomas H. Scheike, Mei-Jie Zhang (2011).” “Analyzing Competing Risk Data Using the R timereg Package.” “Journal of Statistical Software, 38(2), 1-15.” “URL http://www.jstatsoft.org/v38/i02/.”
BibTeX:
@Book{ms06,
title = {Dynamic Regression Models for Survival Data},
publisher = {Springer-Verlag New York},
year = {2006},
author = {T. Martinussen and T.H. Scheike},
}
@Article{ts-mz-jss-2010,
author = {Scheike, T. H. and Mei-Jie Zhang},
title = {Modelling competing risks data using the {R}-timereg package},
journal = {Journal of Statistical Software},
year = {2011},
volume = {38},
pages = {1-15},
}
Examples
library(timereg)
example(aalen)
example(cox.aalen)
example(comp.risk)
example(two.stage)
example(restricted.residual.mean)
