The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Performs unadjusted Bayesian survival analysis for right censored time-to-event data. The main function, BayesSurv(), computes the posterior mean and a credible band for the survival function and for the cumulative hazard, as well as the posterior mean for the hazard, starting from a piecewise exponential (histogram) prior with Gamma distributed heights that are either independent, or have a Markovian dependence structure. A function, PlotBayesSurv(), is provided to easily create plots of the posterior means of the hazard, cumulative hazard and survival function, with a credible band accompanying the latter two. The priors and samplers are described in more detail in Castillo and Van der Pas (2020) "Multiscale Bayesian survival analysis" <doi:10.48550/arXiv.2005.02889>. In that paper it is also shown that the credible bands for the survival function and the cumulative hazard can be considered confidence bands (under mild conditions) and thus offer reliable uncertainty quantification.
Version: | 0.2.0 |
Depends: | R (≥ 3.6.0) |
Imports: | survival, stats, ggplot2 |
Suggests: | simsurv, knitr, rmarkdown |
Published: | 2021-03-12 |
DOI: | 10.32614/CRAN.package.BayesSurvival |
Author: | Stephanie van der Pas [aut, cre], Ismael Castillo [aut] |
Maintainer: | Stephanie van der Pas <s.l.vanderpas at amsterdamumc.nl> |
License: | GPL-3 |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | BayesSurvival results |
Reference manual: | BayesSurvival.pdf |
Vignettes: |
VignetteBayesSurvival |
Package source: | BayesSurvival_0.2.0.tar.gz |
Windows binaries: | r-devel: BayesSurvival_0.2.0.zip, r-release: BayesSurvival_0.2.0.zip, r-oldrel: BayesSurvival_0.2.0.zip |
macOS binaries: | r-release (arm64): BayesSurvival_0.2.0.tgz, r-oldrel (arm64): BayesSurvival_0.2.0.tgz, r-release (x86_64): BayesSurvival_0.2.0.tgz, r-oldrel (x86_64): BayesSurvival_0.2.0.tgz |
Old sources: | BayesSurvival archive |
Please use the canonical form https://CRAN.R-project.org/package=BayesSurvival to link to this page.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.