About Anaconda Help Download Anaconda
If you were automatically logged out you may need to refresh the page. You're trying to access a page that requires authentication. ×

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 4.0 MB | win-64/r-rstpm2-1.6.6.1-r43h891d650_0.conda  3 months and 30 days ago 323 main
conda 4.0 MB | win-64/r-rstpm2-1.6.6.1-r44h891d650_0.conda  3 months and 30 days ago 372 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.6.1-r43h9c54416_0.conda  3 months and 30 days ago 223 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.6.1-r44h9c54416_0.conda  3 months and 30 days ago 221 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.6.1-r44h773be8d_0.conda  3 months and 30 days ago 548 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.6.1-r43h773be8d_0.conda  3 months and 30 days ago 545 main
conda 4.0 MB | win-64/r-rstpm2-1.6.6-r43h891d650_0.conda  5 months and 23 days ago 293 main
conda 4.0 MB | win-64/r-rstpm2-1.6.6-r44h891d650_0.conda  5 months and 23 days ago 288 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.6-r44h9c54416_0.conda  5 months and 23 days ago 231 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.6-r43h9c54416_0.conda  5 months and 23 days ago 211 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.6-r43h773be8d_0.conda  5 months and 23 days ago 675 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.6-r44h773be8d_0.conda  5 months and 23 days ago 654 main
conda 4.0 MB | win-64/r-rstpm2-1.6.5-r44h891d650_0.conda  8 months and 3 days ago 475 main
conda 4.0 MB | win-64/r-rstpm2-1.6.5-r43h891d650_0.conda  8 months and 3 days ago 493 main
conda 4.1 MB | osx-64/r-rstpm2-1.6.5-r44hc039d2b_0.conda  8 months and 3 days ago 384 main
conda 4.1 MB | osx-64/r-rstpm2-1.6.5-r43hc039d2b_0.conda  8 months and 3 days ago 420 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.5-r44h2ee40c2_0.conda  8 months and 3 days ago 1034 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.5-r43h2ee40c2_0.conda  8 months and 3 days ago 1075 main
conda 4.0 MB | win-64/r-rstpm2-1.6.4-r44h891d650_0.conda  8 months and 4 days ago 506 main
conda 4.0 MB | win-64/r-rstpm2-1.6.4-r43h891d650_0.conda  8 months and 4 days ago 467 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.4-r43hc039d2b_0.conda  8 months and 4 days ago 394 main
conda 4.0 MB | osx-64/r-rstpm2-1.6.4-r44hc039d2b_0.conda  8 months and 4 days ago 391 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.4-r43h2ee40c2_0.conda  8 months and 4 days ago 1033 main
conda 4.0 MB | linux-64/r-rstpm2-1.6.4-r44h2ee40c2_0.conda  8 months and 4 days ago 988 main
conda 4.0 MB | win-64/r-rstpm2-1.6.3-r43h891d650_1.conda  9 months and 10 days ago 460 main

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