Skip to content
Part IA Easter Term

Mean Squared Error

Definition

The mean squared error (MSE) of an estimator θ^\hat{\theta} for parameter θ\theta is:

MSE(θ^)=E[(θ^θ)2]\text{MSE}(\hat{\theta}) = E[(\hat{\theta} - \theta)^2]

Bias-Variance Decomposition

MSE(θ^)=Var(θ^)+Bias(θ^)2\text{MSE}(\hat{\theta}) = \text{Var}(\hat{\theta}) + \text{Bias}(\hat{\theta})^2

Proof:

E[(θ^θ)2]=E[((θ^E[θ^])+(E[θ^]θ))2]E[(\hat{\theta} - \theta)^2] = E[((\hat{\theta} - E[\hat{\theta}]) + (E[\hat{\theta}] - \theta))^2]

=E[(θ^E[θ^])2]+(E[θ^]θ)2+2E[(θ^E[θ^])(E[θ^]θ)]= E[(\hat{\theta} - E[\hat{\theta}])^2] + (E[\hat{\theta}] - \theta)^2 + 2E[(\hat{\theta} - E[\hat{\theta}])(E[\hat{\theta}] - \theta)]

The cross-term vanishes: the second bracket is constant.

=Var(θ^)+Bias(θ^)2= \text{Var}(\hat{\theta}) + \text{Bias}(\hat{\theta})^2

Interpretation

MSE measures total error:

  • Variance: Random error from sampling
  • Bias2^2: Systematic error from estimator design

A good estimator balances both.

For Unbiased Estimators

If θ^\hat{\theta} is unbiased (Bias=0\text{Bias} = 0):

MSE(θ^)=Var(θ^)\text{MSE}(\hat{\theta}) = \text{Var}(\hat{\theta})

MSE equals variance.

Example: Sample Mean

Xˉ\bar{X} is unbiased for μ\mu:

MSE(Xˉ)=Var(Xˉ)=σ2n\text{MSE}(\bar{X}) = \text{Var}(\bar{X}) = \frac{\sigma^2}{n}

Example: Sample Variance Variants

Sn2=1n(XiXˉ)2S_n^2 = \frac{1}{n}\sum(X_i - \bar{X})^2: biased, lower variance.

S2=1n1(XiXˉ)2S^2 = \frac{1}{n-1}\sum(X_i - \bar{X})^2: unbiased, higher variance.

Which has lower MSE? For normal distribution, Sn2S_n^2 often wins.

Root Mean Squared Error

RMSE=MSE\text{RMSE} = \sqrt{\text{MSE}}

RMSE is in the same units as θ\theta, making it more interpretable.

Consistent Estimators

If θ^n\hat{\theta}_n is consistent, then MSE(θ^n)0\text{MSE}(\hat{\theta}_n) \to 0 as nn \to \infty.

Consistency requires vanishing MSE.

Optimality

Among unbiased estimators, the one with minimum variance (and hence minimum MSE) is called efficient or minimum variance unbiased estimator (MVUE).

Summary

QuantityFormula
MSEE[(θ^θ)2]E[(\hat{\theta} - \theta)^2]
DecompositionVar(θ^)+Bias2\text{Var}(\hat{\theta}) + \text{Bias}^2
RMSEMSE\sqrt{\text{MSE}}