In the model with prior and noise , you observe and . Find the posterior mean and variance of . How is the posterior mean related to ridge regression?
Probabilistic models, Bayesian linear regression
Level L2 Elementary. Length Short. Nature Mat Mathematical.
What's being asked
Whether you can use the conjugate Gaussian update, and relate the posterior mean to a ridge solution.
Key idea
With prior precision and noise precision : and .
Steps
- Prior variance 1 means prior precision . Noise variance means noise precision .
- and .
- Posterior precision and mean: , so the posterior variance is , and the posterior mean is .
- Ridge link: the posterior mean minimises , so . Check: , the same value.
- Compared with the least-squares estimate , the prior pulls the mean slightly towards 0.
Common mistakes
- Using the variances in place of the precisions in .
- Forgetting the prior term, which gives instead of 21.
- Thinking ridge regression gives the whole posterior. It gives only the mean (the mode).
How long your answer should be
5–6 lines.
Read this
Previous in Probabilistic models: A 1D Gaussian mixture has two components with unit variance, means and , and weights and . For the data points and , what are the responsibilities of component 1? What are the M-step updates of and using only these two points (keeping the other parameters fixed)?
Next in Probabilistic models: A coin has unknown heads probability with prior . After 10 tosses you see 7 heads and 3 tails. Find the posterior, the MLE, the MAP estimate and the posterior mean. What is the probability that the next toss is heads, and the probability that the next two tosses are both heads?