1. The decomposition
Suppose with and . Train a model on a random training set to get . At a fixed point , the expected squared error over training sets and noise is
- Bias: how far the average prediction (over training sets) is from the truth. It comes from wrong assumptions, e.g. fitting a line to a curve.
- Variance: how much the prediction changes from one training set to another. It comes from sensitivity to the particular sample.
- Irreducible error : noise in itself. No model can remove it.
The proof uses the identity twice; the cross terms vanish because the noise is independent of and has mean 0.
For an estimator of a parameter the same identity reads A slightly biased estimator can have lower MSE than an unbiased one if it cuts variance enough.