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.

11 exports 0.00 score 29 dependencies 5 scripts 277 downloads

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

TargetResultDate
Doc / VignettesOKAug 25 2024
R-4.5-winOKAug 25 2024
R-4.5-linuxOKAug 25 2024
R-4.4-winOKAug 25 2024
R-4.4-macOKAug 25 2024
R-4.3-winOKAug 25 2024
R-4.3-macOKAug 25 2024

Exports:BayesSurvCumhazEvalMCMCDepGammaFirstMCMCDepGammaIntermediatePlotBayesSurvRadiusCredibleSetReshapeDataSamplePosteriorDepGammaSamplePosteriorIndepGammaSurvEvalSurvivalFromCumhaz

Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalessurvivaltibbleutf8vctrsviridisLitewithr

Introduction to package BayesSurvival

Rendered fromVignetteBayesSurvival.Rmdusingknitr::rmarkdownon Aug 25 2024.

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