Contains four functions used in the DICtau_g procedure. SCRSELECT() and SCRSELECTRUN() uses Stochastic Search Variable Selection to select important covariates in the three hazard functions of a semicompeting risks model. These functions perform the Gibbs sampler for variable selection and a MetropolisHastingsGreen sampler for the number of split points and parameters for the three baseline hazard function. The function SCRSELECT() returns the posterior sample of all quantities sampled in the Gibbs sampler after a burnin period to a desired file location, while the function SCRSELECTRUN() returns posterior values of important quantities to the DICTau_g procedure in a list. The function DICTAUG() returns a list containing the DIC values for the unique models visited by the DICTau_g grid search. The function ReturnModel() uses SCRSELECTRUN() and DICTAUG() to return a summary of the posterior coefficient vectors for the optimal model along with saving this posterior sample to a desired path location.
Package details 


Author  Andrew Chapple [aut, cre] 
Maintainer  Andrew Chapple <[email protected]> 
License  GPL2 
Version  1.33 
Package repository  View on CRAN 
Installation 
Install the latest version of this package by entering the following in R:

Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.