Write
Multiplying the likelihood by the improper prior gives the Bayesian posterior kernel
Since
the first full conditional is
Holding fixed and comparing powers and exponential rates gives
The assumed parity of makes a positive integer.
Initialize arbitrarily. At iteration , put
Draw independent uniform variables and set
By sampling an integer-shape gamma distribution, this has the required law. Next draw independently and set
These are exactly the two full-conditional updates of the normal mean-precision Gibbs sampler. After discarding burn-in, the pairs are approximate samples from the posterior by Markov chain Monte Carlo.

Articles by others on the same topic (0)

There are currently no matching articles.