The Gaussian That Knows Its Own Variance
Suppose you observe a single data point drawn from a Gaussian with known mean but unknown variance . You want to estimate .
The MLE gives .
Now consider the family of estimators for some constant .
Question: Find the value of that minimizes the mean squared error .
Is (the MLE)? If not, which direction does the optimal move, and why does this make intuitive sense?
Answer: The Gaussian That Knows Its Own Variance
Key Idea / Intuition
The MLE is unbiased but can have large variance. A slightly shrunken estimator — choosing — trades a little bias for a big reduction in variance, and the net effect is a lower MSE. This is the bias-variance tradeoff made completely explicit in a one-parameter family: the optimal is strictly less than 1, meaning the MLE is inadmissible in the MSE sense even for this simple problem.
Formal Proof / Solution
Setup. Since , we have , so:
(using the fact that for , , i.e., ).
Expand MSE.
Substituting:
Minimize over .
Check MLE. At :
At :
So the optimal estimator achieves one-third the MSE of the MLE!
Why the direction makes sense. The MLE is unbiased but has very high variance (). Since has a right-skewed distribution (chi-squared), the typical value of tends to overestimate on average in terms of squared loss. Shrinking by introduces downward bias but dramatically cuts variance. The bias-variance tradeoff strongly favors shrinkage here.
Decomposition at :
The MLE is unbiased but not MSE-optimal — a recurring theme in statistics.
Source: The Elements of Statistical Learning, Hastie–Tibshirani–Friedman (2nd ed.); statistical folklore