rstpm2 (1.5.1)

0 users

Smooth Survival Models, Including Generalized Survival Models.

R implementation of generalized survival models (GSMs), smooth accelerated failure time (AFT) models and Markov multi-state models. For the GSMs, 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 . For the smooth AFTs, S(t|x) = S_0(t*eta(t,x)), where the baseline survival function S_0(t)=exp(-exp(eta_0(t))) is modelled for natural splines for eta_0, and the time-dependent cumulative acceleration factor eta(t,x)=\int_0^t exp(eta_1(u,x)) du for log acceleration factor eta_1(u,x). The Markov multi-state models allow for a range of models with smooth transitions to predict transition probabilities, length of stay, utilities and costs, with differences, ratios and standardisation.

Maintainer: Mark Clements
Author(s): Mark Clements [aut, cre], Xing-Rong Liu [aut], Paul Lambert [ctb], Lasse Hjort Jakobsen [ctb], Alessandro Gasparini [ctb], Gordon Smyth [cph], Patrick Alken [cph], Simon Wood [cph], Rhys Ulerich [cph]

License: GPL-2 | GPL-3

Uses: bbmle, deSolve, fastGHQuad, mgcv, Rcpp, survival, eha, ggplot2, lattice, mstate, testthat, readstata13
Reverse depends: cuRe, metaRMST
Reverse suggests: biostat3, rsimsum, simsurv

Released 5 months ago.

10 previous versions



  (0 votes)


  (0 votes)

Log in to vote.


No one has written a review of rstpm2 yet. Want to be the first? Write one now.

Related packages: BMA, BayHaz, Epi, ICE, KMsurv, LearnBayes, MCMCpack, MLEcens, NADA, NestedCohort, SMPracticals, VGAM, aster, boot, clinfun, cmprsk, coin, coxphf, coxrobust, dblcens(20 best matches, based on common tags.)

Search for rstpm2 on google, google scholar, r-help, r-devel.

Visit rstpm2 on R Graphical Manual.