Package: survstan 0.0.7.1

Fabio Demarqui

survstan: Fitting Survival Regression Models via 'Stan'

Parametric survival regression models under the maximum likelihood approach via 'Stan'. Implemented regression models include accelerated failure time models, proportional hazards models, proportional odds models, accelerated hazard models, Yang and Prentice models, and extended hazard models. Available baseline survival distributions include exponential, Weibull, log-normal, log-logistic, gamma, generalized gamma, rayleigh, Gompertz and fatigue (Birnbaum-Saunders) distributions. References: Lawless (2002) <ISBN:9780471372158>; Bennett (1982) <doi:10.1002/sim.4780020223>; Chen and Wang(2000) <doi:10.1080/01621459.2000.10474236>; Demarqui and Mayrink (2021) <doi:10.1214/20-BJPS471>.

Authors:Fabio Demarqui [aut, cre, cph], Andrew Johnson [ctb]

survstan_0.0.7.1.tar.gz
survstan_0.0.7.1.zip(r-4.7-x86_64)survstan_0.0.7.1.zip(r-4.7-arm64)survstan_0.0.7.1.zip(r-4.6-x86_64)survstan_0.0.7.1.zip(r-4.6-arm64)
survstan_0.0.7.1.tar.gz(r-4.7-arm64)survstan_0.0.7.1.tar.gz(r-4.7-x86_64)survstan_0.0.7.1.tar.gz(r-4.6-arm64)survstan_0.0.7.1.tar.gz(r-4.6-x86_64)
survstan_0.0.7.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
survstan/json (API)

# Install 'survstan' in R:
install.packages('survstan', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/fndemarqui/survstan/issues

Pkgdown/docs site:https://fndemarqui.github.io

Uses libs:
  • onetbb– Parallelism library for C++
  • c++– GNU Standard C++ Library v3
Datasets:
  • gastric - Gastric cancer data set
  • ipass - IRESSA Pan-Asia Study (IPASS) data set

On CRAN:

Conda:

onetbbcpp

4.02 score 104 scripts 399 downloads 24 exports 75 dependencies

Last updated from:7c5aed0da4. Checks:8 NOTE, 2 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64NOTE240
linux-devel-x86_64NOTE245
source / vignettesOK393
linux-release-arm64NOTE243
linux-release-x86_64NOTE260
windows-devel-arm64NOTE344
windows-devel-x86_64NOTE366
windows-release-arm64NOTE345
windows-release-x86_64NOTE309
wasm-releaseOK205

Exports:aftregahregcross_timedggprenticedggstacydgompertzehregestimatesggresidualspggprenticepggstacypgompertzphregporegqggprenticeqggstacyqgompertzrank_modelsrggprenticerggstacyrgompertzsetidyypreg

Dependencies:abindactuarbackportsBHbroomcallrcheckmateclicodetoolscpp11descdigestdistributionaldoFuturedplyrexpintextraDistrfarverforeachfuturefuture.applygenericsggplot2globalsgluegridExtragtableinlineisobanditeratorslabelinglatticelifecyclelistenvloomagrittrMASSMatrixmatrixStatsnumDerivotelparallellypillarpkgbuildpkgconfigposteriorprocessxpspurrrQuickJSRR6rbibutilsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRdpackrlangrstanrstantoolsS7scalesStanHeadersstringistringrsurvivaltensorAtibbletidyrtidyselectutf8vctrsviridisLitewithr

Introduction to the R package survstan

Last update: 2024-03-21
Started: 2023-05-04

Likelihood ratio tests with the survstan package
Ipass data

Last update: 2024-03-21
Started: 2023-08-10

Readme and manuals

Help Manual

Help pageTopics
The 'survstan' package.survstan-package survstan
Fitting Accelerated Failure Time Modelsaftreg
Fitting Accelerated Hazard Modelsahreg
Akaike information criterionAIC.survstan
anova method for survstan modelsanova.survstan
Estimated regression coefficientscoef.survstan
Confidence intervals for the regression coefficientsconfint.survstan
Generic S3 method cross_timecross_time
Computes the crossing survival timescross_time.survstan
Fitting Extended Hazard Modelsehreg
Support Functions for 'emmeans'emmeans-survstan-helpers recover_data.ehreg recover_data.survstan recover_data.ypreg
Parameters estimates of a survstan modelestimates
Extract AIC from a Fitted ModelextractAIC.survstan
Gastric cancer data setgastric
The Generalized Gamma Distribution (Prentice's alternative parametrization)dggprentice ggprentice pggprentice qggprentice rggprentice
Generic S3 method ggresidualsggresiduals
ggresiduals method for survstan modelsggresiduals.survstan
The Generalized Gamma Distribution (Stacy's original parametrization)dggstacy ggstacy pggstacy qggstacy rggstacy
The Gompertz Distributiondgompertz Gompertz gompertz Hgompertz hgompertz pgompertz qgompertz rgompertz
IRESSA Pan-Asia Study (IPASS) data setipass
Extract Log-Likelihood from a Fitted ModellogLik.survstan
Model.matrix method for survstan modelsmodel.matrix.survstan
Fitting Proportional Hazards Modelsphreg
Fitting Proportional Odds Modelsporeg
Print the summary.survstan outputprint.summary.survstan
Rank a collection of survstan modelsrank_models
residuals method for survstan modelsresiduals.survstan
Generic S3 method sese
Estimated standard errorsse.survstan
Summary for a survstan objectsummary.survstan
survfit method for survstan modelssurvfit.survstan
Tidy a survstan objecttidy.survstan
Variance-covariance matrixvcov.survstan
Fitting Yang and Prentice Modelsypreg