Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2008/ib/paper-1/7h/solution

Let and . The Gaussian distribution likelihood is proportional to . Multiplying by the normal-gamma distribution prior gives the quadratic exponent . Completing the square,
The power of is , so the posterior distribution has exactly the required family with
and
For a proper prior, and . The separate factor is retained in both densities; it does not add to the update of . This is a conjugate prior for the Gaussian mean and precision parameter.

New to topics? Read the docs here!