Package: BayesSurvival 0.2.0

BayesSurvival: Bayesian Survival Analysis for Right Censored Data

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.

Authors:Stephanie van der Pas [aut, cre], Ismael Castillo [aut]

BayesSurvival_0.2.0.tar.gz
BayesSurvival_0.2.0.zip(r-4.5)BayesSurvival_0.2.0.zip(r-4.4)BayesSurvival_0.2.0.zip(r-4.3)
BayesSurvival_0.2.0.tgz(r-4.4-any)BayesSurvival_0.2.0.tgz(r-4.3-any)
BayesSurvival_0.2.0.tar.gz(r-4.5-noble)BayesSurvival_0.2.0.tar.gz(r-4.4-noble)
BayesSurvival_0.2.0.tgz(r-4.4-emscripten)BayesSurvival_0.2.0.tgz(r-4.3-emscripten)
BayesSurvival.pdf |BayesSurvival.html
BayesSurvival/json (API)
NEWS

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

Peer review:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.70 score 4 scripts 253 downloads 11 exports 29 dependencies

Last updated 4 years agofrom:0c88791b4b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 23 2024
R-4.5-winOKNov 23 2024
R-4.5-linuxOKNov 23 2024
R-4.4-winOKNov 23 2024
R-4.4-macOKNov 23 2024
R-4.3-winOKNov 23 2024
R-4.3-macOKNov 23 2024

Exports:BayesSurvCumhazEvalMCMCDepGammaFirstMCMCDepGammaIntermediatePlotBayesSurvRadiusCredibleSetReshapeDataSamplePosteriorDepGammaSamplePosteriorIndepGammaSurvEvalSurvivalFromCumhaz

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalessurvivaltibbleutf8vctrsviridisLitewithr

Introduction to package BayesSurvival

Rendered fromVignetteBayesSurvival.Rmdusingknitr::rmarkdownon Nov 23 2024.

Last update: 2021-03-12
Started: 2021-03-12