Exercises 9
Exercise 9.1
We consider the accuracy of the Gaussian approximation to the posterior of a Bernoulli likelihood
- Obtain a closed-form expression maximum a posteriori and the hessian of the log posterior for a conjugate
prior. - Repeat this with
, using a change of variable. - Plug in the approximations with a
prior for and plot the Gaussian approximation along with the true posterior. Is the approximation for better for small ? Discuss. - Compute the marginal likelihood and compare the approximation with the true value.
Exercise 9.2
Consider the Bernoulli sample of size