BayesPiecewiseICAR: Hierarchical Bayesian Model for a Hazard Function

Fits a piecewise exponential hazard to survival data using a Hierarchical Bayesian model with an Intrinsic Conditional Autoregressive formulation for the spatial dependency in the hazard rates for each piece. This function uses Metropolis- Hastings-Green MCMC to allow the number of split points to vary. This function outputs graphics that display the histogram of the number of split points and the trace plots of the hierarchical parameters. The function outputs a list that contains the posterior samples for the number of split points, the location of the split points, and the log hazard rates corresponding to these splits. Additionally, this outputs the posterior samples of the two hierarchical parameters, Mu and Sigma^2.

Author
person("Andrew", "Chapple", email = "Andrew.G.Chapple@rice.edu", role = c("aut", "cre"))
Date of publication
2016-08-20 10:31:28
Maintainer
Andrew Chapple <Andrew.G.Chapple@rice.edu>
License
GPL-2
Version
0.2.0

View on CRAN

Man pages

ICARBHSampler
This function fits a piecewise hazard using a hierarchical...

Files in this package

BayesPiecewiseICAR
BayesPiecewiseICAR/NAMESPACE
BayesPiecewiseICAR/R
BayesPiecewiseICAR/R/ICARBHSampler.R
BayesPiecewiseICAR/MD5
BayesPiecewiseICAR/DESCRIPTION
BayesPiecewiseICAR/man
BayesPiecewiseICAR/man/ICARBHSampler.Rd