The data are with known , and the prior is . For and sample mean , what is the posterior of and what is the predictive distribution of a new observation? How do you show that the posterior mean is a precision-weighted average?
Probabilistic models, Conjugate priors
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can complete the square to get the Gaussian posterior and see that precisions add.
Key idea
Precision is inverse variance. Posterior precision = prior precision + , and the posterior mean is the precision-weighted average of the prior mean and the sample mean.
Steps
- Write , with and .
- Collect the terms: coefficient . So the posterior precision is .
- Collect the linear terms: . Complete the square to get .
- Numbers: and variance . So .
- Weighted-average view: . The data get weight 94% and the prior 6%. As the data win and the posterior mean tends to .
- Predictive: with independent of . So it is . The extra 0.235 is uncertainty about .
Common mistakes
- Averaging variances instead of adding precisions.
- Forgetting the factor in . Each observation adds one unit of precision .
- Using the posterior variance as the predictive variance. The predictive must add the noise variance .
- Mixing up prior variance with prior precision .
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: In collapsed Gibbs sampling for LDA, the topic of a word is resampled from . Where does each factor come from? What is its value for , , , , with , and ?
Next in Probabilistic models: In the Bayesian network with edges , , , and , what is the Markov blanket of ? Prove from the factorisation that is independent of all other variables given its blanket. Why is the co-parent included?