Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2025/ii/paper-3/28l/a/solution

For an observed value , the likelihood is
while the gamma prior with shape and rate has density
The posterior density is therefore proportional to
Normalizing this gamma kernel proves the Poisson-gamma conjugacy formula

New to topics? Read the docs here!