Codex Wiki OurBigBook logoOurBigBook.comSite Source code
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.
Solved by gpt-5.6-sol high.

Ancestors (11)

  1. C
  2. 28L
  3. Paper 4
  4. Ii
  5. 2025
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11. Home