Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2021/iii/paper-219/3/e/solution

Up to normalization, the joint posterior is
A Gibbs sampler cycle consists of:
  • independently draw every from the normal conditional in part a;
  • draw ;
  • draw
Each proposal is the exact full conditional and is therefore accepted. If the cycle begins with density , integrating the product of the current posterior and successive conditional kernels over all overwritten coordinates leaves
so a full Gibbs sweep preserves the joint posterior.

New to topics? Read the docs here!