Maximum marginal likelihood estimator 2026-09-28
A maximum marginal likelihood estimator chooses a hyperparameter by maximizing the data density obtained after integrating the model parameter against its prior distribution.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 216 1 b Solution 2026-09-28
After integrating out the multivariate normal distribution , the marginal distribution isUp to terms independent of , the log-likelihood isDifferentiating and setting the result to zero gives the maximum marginal likelihood estimatorThis is an Empirical Bayes method because the estimated hyperparameter is then inserted into the prior and posterior distributions.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 216 2 b Solution 2026-09-28
Multiplying the exponential family likelihood by its natural conjugate prior givesThus the posterior remains in the same family, with updated hyperparametersUnder quadratic loss, the Bayes estimator under squared error loss is the posterior mean. Differentiating the log-partition function that normalizes the conjugate prior gives