mclements/rstpm2: Generalized Survival Models
Version 1.4.1

R implementation of generalized survival models, where g(S(t|x))=eta(t,x) for a link function g, survival S at time t with covariates x and a linear predictor eta(t,x). The main assumption is that the time effect(s) are smooth. For fully parametric models with natural splines, this re-implements Stata's 'stpm2' function, which are flexible parametric survival models developed by Royston and colleagues. We have extended the parametric models to include any smooth parametric smoothers for time. We have also extended the model to include any smooth penalized smoothers from the 'mgcv' package, using penalized likelihood. These models include left truncation, right censoring, interval censoring, gamma frailties and normal random effects. This also includes a smooth implementation of accelerated failure time models.

Getting started

Package details

AuthorMark Clements [aut, cre], Xing-Rong Liu [aut], Paul Lambert [ctb]
MaintainerMark Clements <[email protected]>
LicenseGPL-2 | GPL-3
Version1.4.1
URL http://github.com/mclements/rstpm2
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("mclements/rstpm2")
mclements/rstpm2 documentation built on Sept. 22, 2017, 10:58 a.m.