BayesPieceHazSelect: Variable Selection in a 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 and also uses Stochastic Search Variable Selection to determine what covariates drive the risk of the event. This function outputs trace plots depicting the number of split points in the hazard and the number of variables included in the hazard. The function saves all posterior quantities to the desired path.

Getting started

Package details

AuthorAndrew Chapple [aut, cre]
MaintainerAndrew Chapple <>
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the BayesPieceHazSelect package in your browser

Any scripts or data that you put into this service are public.

BayesPieceHazSelect documentation built on May 2, 2019, 6:42 a.m.