Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/iii/paper-40/5/vi/solution

Under the reference convention , the hypothesis becomes absence of the free group contrast . Introduce an inclusion indicator : set when , and use its stated proper normal prior when . Assign positive prior probabilities to those models, and retain in both.
A birth draws from a proposal probability density function and appends it as ; the reverse death deletes it. The Jacobian is one. At fixed , the likelihood ratio is
Thus the birth acceptance ratio before capping is
where is the normalized prior. Again, taking cancels that factor. Use the reciprocal death rule and ordinary within-model parameter updates.
After warm-up, the Markov chain Monte Carlo occupation fraction estimates the desired probability:
This requires the chain to explore both models and satisfy its usual ergodic convergence conditions. Under the original continuous normal prior alone, the equality event has posterior probability zero; the explicit model indicator supplies the necessary prior atom. If intercept selection from part (v) is also performed, use two indicators and count all sampled states with , regardless of the intercept indicator.

New to topics? Read the docs here!