Hi

I have hierarchical Bayesian model with 32 unknown parameters (alpha_1, alpha_2,..., alpha_30, mu, .sigma^2).

conditional posterior distributions of mu  and sigma^2 have closed forms, but conditional posterior distributions of ( alpha_1, alpha_2,..., alpha_30 ) are not closed form, so I need to use Metropolis Hastings sampler within Gibbs sampler.

My question what is an algorithm and R code of Metropolis Hastings sampler of 30 parameters?

More Zainab Al-kaabawi's questions See All
Similar questions and discussions