Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 4.13 - Gaussian posterior credible interval
Exercise 4.13 - Gaussian posterior credible interval
Answers
Assume the prior distribution for an 1d normal distribution:
And the likelihood is:
Having observed variables, we want that the probability measure of ’s posterior distribution is no less than 0.95 within an interval no longer than 1. The posterior for is:
where we have dropped the terms inrevelent with . The posterior variance of is determined by the coefficient of in the exponential of the posterior distribution:
Since 0.95 of the probability mass for a normal distribution lies within and , we have: