Survival analysis using a flexible Bayesian model for individual-level right-censored data, optionally combined with aggregate data on counts of survivors in different periods of time. An M-spline is used to describe the hazard function, with a prior on the coefficients that controls over-fitting. Proportional hazards or flexible non-proportional hazards models can be used to relate survival to predictors. Additive hazards (relative survival) models, waning treatment effects, and mixture cure models are also supported. Priors can be customised and calibrated to substantive beliefs. Posterior distributions are estimated using 'Stan', and outputs are arranged in a tidy format. See Jackson (2023) <doi:10.1186/s12874-023-02094-1>.
Package details |
|
---|---|
Author | Christopher Jackson [aut, cre, cph] (ORCID: <https://orcid.org/0000-0002-6656-8913>), Iain Timmins [ctb] (ORCID: <https://orcid.org/0000-0002-8761-582X>), Michael Sweeting [ctb] (ORCID: <https://orcid.org/0000-0003-0980-8965>) |
Maintainer | Christopher Jackson <chris.jackson@mrc-bsu.cam.ac.uk> |
License | GPL (>= 3) |
Version | 1.0 |
URL | https://github.com/chjackson/survextrap https://chjackson.github.io/survextrap/ |
Package repository | View on CRAN |
Installation |
Install the latest version of this package by entering the following in R:
|
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.