Package: BGPhazard 2.1.1

BGPhazard: Markov Beta and Gamma Processes for Modeling Hazard Rates

Computes the hazard rate estimate as described by Nieto-Barajas & Walker (2002), Nieto-Barajas (2003), Nieto-Barajas & Walker (2007) and Nieto-Barajas & Yin (2008).

Authors:L. E. Nieto-Barajas, J. A. Garcia Bueno, E.A. Morones Ishikawa and J. Pliego

BGPhazard_2.1.1.tar.gz
BGPhazard_2.1.1.zip(r-4.7)BGPhazard_2.1.1.zip(r-4.6)BGPhazard_2.1.1.zip(r-4.5)
BGPhazard_2.1.1.tgz(r-4.6-any)BGPhazard_2.1.1.tgz(r-4.5-any)
BGPhazard_2.1.1.tar.gz(r-4.7-any)BGPhazard_2.1.1.tar.gz(r-4.6-any)
BGPhazard_2.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
BGPhazard/json (API)

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

Bug tracker:https://github.com/eami91/bgphazard/issues

Datasets:
  • BMTKleinbook - Times to death or relapse (in days) for patients with bone marrow transplants for Hodgkin and non-Hodgkin lymphoma
  • crm3 - Simulated data from the proportional hazards cure rate model of Yakolev & Tsodikov (1996) by taking a baseline density with a bounded support.
  • gehan - Times of Remission of Leukemia Patients
  • KIDNEY - Recurrent infection of kidney catheters
  • leukemiaFZ - Survival Times of Patients with Leukemia
  • psych - Death Times of Psychiatric Patients

On CRAN:

Conda:

4.34 score 1 stars 22 scripts 314 downloads 21 exports 45 dependencies

Last updated from:38b5da4457. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK162
source / vignettesOK220
linux-release-x86_64OK153
macos-release-arm64OK175
macos-oldrel-arm64OK171
windows-develOK101
windows-releaseOK116
windows-oldrelOK111
wasm-releaseOK120

Exports:BeMResBePlotDiagBePlothBSBHazBSBInitBSBPlotDiagBSBPlotSummBSBSummCCuMResCCuPlotDiagCCuPlothCGaMResCGaPlotDiagCGaPlothcpoCuMResCuPlotDiagCuPlothGaMResGaPlotDiagGaPloth

Dependencies:bitbit64Brobdingnagclicliprcpp11crayondplyrfarvergenericsggplot2ggthemesgluegridExtragtablehmsisobandlabelinglatticelifecyclemagrittrMatrixpillarpkgconfigprettyunitsprogresspurrrR6RColorBrewerreadrrlangS7scalesstringistringrsurvivaltibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithr

Introduction to BGPhazard
Abstract | Introduction | Hazard rate estimation | Markov beta and gamma prior processes | Gamma Process | Beta Process | Prior to posterior analysis | Beta process | Cox-gamma model | Gamma model examples | Example 1. Independence case. Unitary length intervals} | Example 2. Introducing dependence through c. Unitary length intervals | Example 3. Varying c through a distribution. Unitary length intervals | Example 4. Using a hierarchical model to estimate c. Unitary intervals | Example 5. Introducing dependence through c. Equally dense intervals | Example 6. Varying c through a distribution. Equally dense intervals | Example 7. Using a hierarchical model to estimate c. Equally dense intervals | Beta model examples | Example 1. Independence case | Example 2. Introducing dependence through c | Example 3. Varying c through a distribution | Example 4. Using a hierarchical model to estimate c | Cox-gamma model example

Last update: 2023-09-01
Started: 2023-09-01

Bivariate Model Example
Initial setup | Gibbs Sampler | Summaries | Tables | Plots

Last update: 2021-01-02
Started: 2020-08-23

Readme and manuals

Help Manual

Help pageTopics
Markov Beta ModelBeMRes
Diagnosis plots for PI, U, C and EpsilonBePlotDiag
Plots for the discrete Hazard and Survival Function EstimatesBePloth
BGPHazard: A package bayesian nonparametric inference in survival analysis.BGPHazard
Times to death or relapse (in days) for patients with bone marrow transplants for Hodgkin and non-Hodgkin lymphomaBMTKleinbook
BSBHaz posterior samples using Gibbs SamplerBSBHaz
Initial setup for BSBHaz modelBSBInit
Plot diagnostics for BSBHaz modelBSBPlotDiag
Plot summaries for BSBHaz modelBSBPlotSumm
Get posterior summaries for BSBHaz modelBSBSumm
Bayesian Semiparametric Cure Rate Model with an Unknown Threshold and Covariate InformationCCuMRes
Diagnostics plots for Lambda, Theta, Delta, U, C, Pi, Z and Epsilon. Hazard function, cure proportion and cure time for the median observation.CCuPlotDiag
Plots for the Hazard and Survival Funcion EstimatesCCuPloth
Markov Gamma Model with CovariatesCGaMRes
Diagnostics plots for lambda, U, C, Epsilon and ThetaCGaPlotDiag
Plots for the Hazard and Survival Funcion Estimates for the Bayesian non-parametric Markov gamma model with covariates in survival analysis.CGaPloth
Conditional Predictive Ordinate (CPO) Statisticcpo
Simulated data from the proportional hazards cure rate model of Yakolev & Tsodikov (1996) by taking a baseline density with a bounded support.crm3
Bayesian Semiparametric Cure Rate Model with an Unknown ThresholdCuMRes
Diagnosis plots for Lambda, U, C, Mu, Pi, Z and EpsilonCuPlotDiag
Plots for the Hazard and Survival Funcion EstimatesCuPloth
Markov Gamma ModelGaMRes
Diagnosis plots for Lambda, U, C and EpsilonGaPlotDiag
Plots for the Hazard and Survival Function EstimatesGaPloth
Times of Remission of Leukemia Patients (Gehan)gehan
Recurrent infection of kidney cathetersKIDNEY
Survival Times of Patients with Leukemia (Feigl and Zelen)leukemiaFZ
Death Times of Psychiatric Patients (Woolson)psych