Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 11.15 - Posterior mean and variance of a truncated Gaussian
Exercise 11.15 - Posterior mean and variance of a truncated Gaussian
Answers
Denote , for the conditional mean, by linearity:
And we have:
where is defined by (11.139). (Recall the definition of the conditional expectation!) Therefore we have:
Now we proceed to calculate the expectation for the squared term:
To evaluate , we make use of the hint of this exercise:
Hence we can solve for the following integral by parts:
Thence:
Plug it into the previous formula: