Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 40 5 iii Solution Created 2026-10-03 Updated 2026-10-14
An exact Gibbs sampler update is available despite the non-Gaussian intercept: draw from the conditional gamma distribution law in part (ii), then setTogether with conditional updates of the two remaining effects, this targets the required joint posterior in the log-intercept coordinates. The log-gamma prior for a Poisson log-intercept includes the change-of-variable factor: with ,Using instead would omit the Jacobian and give the wrong conditional law for .