CRAN Task View: Survival Analysis

Maintainer:Arthur Allignol and Aurélien Latouche
Contact:arthur.allignol at fdm.uni-freiburg.de
Version:2008-09-01

Survival analysis, also called event history analysis in social science, or reliability analysis in engineering, deals with time until occurrence of an event of interest. However, this failure time may not be observed within the relevant time period, producing so-called censored observations.

This task view aims at presenting the useful R packages for the analysis of time to event data.

This is a preliminary task view, and we have likely missed some important information. Please email the task view maintainer with any feedback.

Standard Survival Analysis

Multistate Models

Relative Survival

relsurv implements various regression models used in relative survival, such as the additive model for relative survival with a binomial or a Poisson error, or the Andersen at al. multiplicative regression model, which is an extension of the Cox model for relative survival. It can also fit the Cox proportional hazards model in transformed times. The package also includes display facilities and miscellaneous functions. The timereg permits to fit relative survival models like the proportional excess and additive excess models.

Multivariate Survival

We mean by multivariate survival the analysis of unit, e.g., the survival of twins or a family. To analyze such data, we can estimate the joint distribution of the survival times or use frailty models.

Bayesian Models

bayesSurv package proposes an implementation of several accelerated failure time models with random effects. Parameter estimation is made using MCMC methods. The package DPpackage includes a generic function to fit a mixture of Dirichlet process in an accelerated failure time model for interval censored data. A proportional hazards model using a Bayesian approach is implemented in package survBayes. Right- and interval-censored data and a lognormal or gamma frailty term can be fitted.

High-dimensional data

The mboost package includes a random forest and a generic gradient boosting algorithm for the construction of prognostic and diagnostic models for right-censored data. CoxBoost provides routines for fitting the Cox proportional hazards model and the Fine and Gray model by likelihood based boosting. An extension of Random Forest techniques to right-censored data can be found in randomSurvivalForest. timereg implements Lasso model for additive hazards model. The rpart package can do recursive partitioning and regression trees for survival data.

Predictions and prediction performance

The pec package provides utilities to plot prediction error curves for several survival models. peperr implements prediction error techniques which can be computed in a parallelized way. Useful for high-dimensional data.

Other

prodlim provides a function to simulate survival data. KMsurv includes the data sets and functions which illustrates Klein and Moeschberger (1997), Survival Analysis, Techniques for Censored and Truncated Data , Springer-Verlag. The package boot contains the function bootcens, which performs various resampling plans for censored data. survivalROC computes time-dependent ROC curve from censored data using Kaplan-Meier or nearest neighbor estimation method. The TwoWaySurv package fits an additive hazard model for data where, besides the follow-time, a non-periodic calendar time is also taken into account. The package party provides various recursive partitioning algorithms that are also applicable to censored responses (conditional inference trees/forests, model-based recursive partitioning).

CRAN packages:

Related links: