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:
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')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated 4 years agofrom:0c88791b4b. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 23 2024 |
R-4.5-win | OK | Nov 23 2024 |
R-4.5-linux | OK | Nov 23 2024 |
R-4.4-win | OK | Nov 23 2024 |
R-4.4-mac | OK | Nov 23 2024 |
R-4.3-win | OK | Nov 23 2024 |
R-4.3-mac | OK | Nov 23 2024 |
Exports:BayesSurvCumhazEvalMCMCDepGammaFirstMCMCDepGammaIntermediatePlotBayesSurvRadiusCredibleSetReshapeDataSamplePosteriorDepGammaSamplePosteriorIndepGammaSurvEvalSurvivalFromCumhaz
Dependencies:clicolorspacefansifarverggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigR6RColorBrewerrlangscalessurvivaltibbleutf8vctrsviridisLitewithr