CRAN/E | BayesSurvival

BayesSurvival

Bayesian Survival Analysis for Right Censored Data

Installation

About

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" . 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.

Key Metrics

Version 0.2.0
R ≥ 3.6.0
Published 2021-03-12 1153 days ago
Needs compilation? no
License GPL-3
CRAN checks BayesSurvival results

Downloads

Yesterday 12 -14%
Last 7 days 71 -8%
Last 30 days 261 +2%
Last 90 days 711 -20%
Last 365 days 3.037 -1%

Maintainer

Maintainer

Stephanie van der Pas

s.l.vanderpas@amsterdamumc.nl

Authors

Stephanie van der Pas

aut / cre

Ismael Castillo

aut

Material

README
NEWS
Reference manual
Package source

Vignettes

VignetteBayesSurvival

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

BayesSurvival archive

Depends

R ≥ 3.6.0

Imports

survival
stats
ggplot2

Suggests

simsurv
knitr
rmarkdown