About Anaconda Help Download Anaconda

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 <doi:10.1177/0962280216664760>. 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 <doi:10.1002/sim.7451>. 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.

copied from cf-staging / r-rstpm2
Type Size Name Uploaded Downloads Labels
conda 2.2 MB | win-64/r-rstpm2-1.5.9-r41h30befbe_0.conda  2 years and 3 months ago 899 main
conda 2.2 MB | osx-64/r-rstpm2-1.5.9-r41hcfa4a20_0.conda  2 years and 3 months ago 419 main
conda 2.2 MB | osx-64/r-rstpm2-1.5.9-r42hcfa4a20_0.conda  2 years and 3 months ago 420 main
conda 2.2 MB | linux-64/r-rstpm2-1.5.9-r41h6d9afb5_0.conda  2 years and 3 months ago 1972 main
conda 2.2 MB | linux-64/r-rstpm2-1.5.9-r42h6d9afb5_0.conda  2 years and 3 months ago 1992 main
conda 2.4 MB | win-64/r-rstpm2-1.5.8-r41h30befbe_0.tar.bz2  2 years and 6 months ago 523 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.8-r42hcfa4a20_0.tar.bz2  2 years and 6 months ago 70 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.8-r41hcfa4a20_0.tar.bz2  2 years and 6 months ago 67 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.8-r42hbb4fff6_0.tar.bz2  2 years and 6 months ago 1884 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.8-r41hbb4fff6_0.tar.bz2  2 years and 6 months ago 1919 main
conda 2.3 MB | win-64/r-rstpm2-1.5.7-r41h30befbe_1.tar.bz2  2 years and 6 months ago 531 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.7-r42hcfa4a20_1.tar.bz2  2 years and 6 months ago 69 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.7-r42hbb4fff6_1.tar.bz2  2 years and 6 months ago 1974 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.7-r41hbb4fff6_1.tar.bz2  2 years and 6 months ago 1926 main
conda 2.4 MB | win-64/r-rstpm2-1.5.7-r40h30befbe_0.tar.bz2  2 years and 9 months ago 634 main
conda 2.3 MB | win-64/r-rstpm2-1.5.7-r41h30befbe_0.tar.bz2  2 years and 9 months ago 636 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.7-r41hfa0d438_0.tar.bz2  2 years and 9 months ago 73 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.7-r40hfa0d438_0.tar.bz2  2 years and 9 months ago 73 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.7-r41hbb4fff6_0.tar.bz2  2 years and 9 months ago 2102 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.7-r40hbb4fff6_0.tar.bz2  2 years and 9 months ago 2115 main
conda 2.4 MB | win-64/r-rstpm2-1.5.6-r40h438b884_0.tar.bz2  2 years and 11 months ago 691 main
conda 2.3 MB | win-64/r-rstpm2-1.5.6-r41h438b884_0.tar.bz2  2 years and 11 months ago 685 main
conda 2.5 MB | osx-64/r-rstpm2-1.5.6-r40h8a37116_0.tar.bz2  2 years and 11 months ago 80 main
conda 2.4 MB | osx-64/r-rstpm2-1.5.6-r41h8a37116_0.tar.bz2  2 years and 11 months ago 83 main
conda 2.4 MB | linux-64/r-rstpm2-1.5.6-r41he9dea17_0.tar.bz2  2 years and 11 months ago 2197 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.1.0) Legal | Privacy Policy