UpdateGamma | R Documentation |
This contains subfunctions to update parameters gammas, betas, baseline hazard and graph learning parameters
UpdateGamma(sobj, hyperpar, ini, S, method, MRF_G, MRF_2b, cpp = FALSE)
sobj |
a list containing observed data |
hyperpar |
a list containing prior parameter values |
ini |
a list containing prior parameters' initial values |
S |
the number of subgroups |
method |
a method option from
|
MRF_G |
logical value. |
MRF_2b |
two different b in MRF prior for subgraphs G_ss and G_rs |
cpp |
logical, whether to use C++ code for faster computation |
A list object with two components for the latent variable selection indicators gamma with either independent Bernoulli prior
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.