flexsurv: A Platform for Parametric Survival Modeling in R.

J Stat Softw

Christopher Jackson, MRC Biostatistics Unit, Cambridge Institute of Public Health, Robinson Way, Cambridge, CB2 0SR, United Kingdom.

Published: May 2016

is an R package for fully-parametric modeling of survival data. Any parametric time-to-event distribution may be fitted if the user supplies a probability density or hazard function, and ideally also their cumulative versions. Standard survival distributions are built in, including the three and four-parameter generalized gamma and F distributions. Any parameter of any distribution can be modeled as a linear or log-linear function of covariates. The package also includes the spline model of Royston and Parmar (2002), in which both baseline survival and covariate effects can be arbitrarily flexible parametric functions of time. The main model-fitting function, flexsurvreg, uses the familiar syntax of survreg from the standard package (Therneau 2016). Censoring or left-truncation are specified in 'Surv' objects. The models are fitted by maximizing the full log-likelihood, and estimates and confidence intervals for any function of the model parameters can be printed or plotted. also provides functions for fitting and predicting from fully-parametric multi-state models, and connects with the package (de Wreede, Fiocco, and Putter 2011). This article explains the methods and design principles of the package, giving several worked examples of its use.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC5868723PMC
http://dx.doi.org/10.18637/jss.v070.i08DOI Listing

Publication Analysis

Top Keywords

package
5
flexsurv platform
4
platform parametric
4
survival
4
parametric survival
4
survival modeling
4
modeling package
4
package fully-parametric
4
fully-parametric modeling
4
modeling survival
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!