BayesSurvival
Bayesian Survival Analysis for Right Censored Data
Description
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" <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.
Downloads
239
Last 30 days
13205th
494
Last 90 days
494
Last year
Trend: -6.3% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
CRAN incoming feasibility
Maintainer: ‘Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Stephanie",
family = "van der Pas",
role = c("aut", "cre"),
email = "s.l.vanderpas@amsterdamumc.nl"),
person(given = "Ismael",
family = "Castillo",
role = "aut"))
as necessary.
The Description field contains
<arXiv:2005.02889>. In that paper it is also shown that the credible
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
CRAN incoming feasibility
Maintainer: ‘Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Stephanie",
family = "van der Pas",
role = c("aut", "cre"),
email = "s.l.vanderpas@amsterdamumc.nl"),
person(given = "Ismael",
family = "Castillo",
role = "aut"))
as necessary.
The Description field contains
<arXiv:2005.02889>. In that paper it is also shown that the credible
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.
*
*
*
*
*
*
*
*
*
*
*
*
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
CRAN incoming feasibility
Maintainer: ‘Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Stephanie",
family = "van der Pas",
role = c("aut", "cre"),
email = "s.l.vanderpas@amsterdamumc.nl"),
person(given = "Ismael",
family = "Castillo",
role = "aut"))
as necessary.
The Description field contains
<ar
CRAN incoming feasibility
Maintainer: ‘Stephanie van der Pas <s.l.vanderpas@amsterdamumc.nl>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Stephanie",
family = "van der Pas",
role = c("aut", "cre"),
email = "s.l.vanderpas@amsterdamumc.nl"),
person(given = "Ismael",
family = "Castillo",
role = "aut"))
as necessary.
The Description field contains
<ar