Quality of Estimators
Estimator Quality: Bias, Variance and Mean Squared Error
Several formulas can target the same population parameter. When the data are symmetric, the sample mean and the sample median both estimate a population mean. OLS and a simple two-point slope both estimate a regression coefficient. To choose among them, you judge each one by how it behaves across repeated samples: where its estimates centre, how widely they spread, and how far they land from the truth on average. This lesson covers those criteria for a given sample size. How an estimator behaves as the sample grows is a separate question.
Bias: where the estimates centre
Picture drawing many random samples of size n and computing θ^ in each one. The resulting sampling distribution has a mean E[θ^]. The bias of the estimator is the gap between that mean and the true parameter:
An estimator is unbiased when E[θ^]=θ for every possible value of the parameter, not just for one of them. The sample mean Xˉ is unbiased for the population mean μ. The sample variance computed with divisor n, n1∑(Xi−Xˉ)2, has expected value nn−1σ2. It therefore understates σ2 by σ2/n on average, and dividing by n−1 instead removes the bias.
Variance and efficiency: how widely the estimates spread
The variance Var(θ^) measures how far the estimates spread around their own mean E[θ^]. Its square root is the standard error. Of two unbiased estimators of the same parameter, the one with the smaller variance is more efficient. The relative efficiency of θ^1 with respect to θ^2 is
and a value above 1 favours θ^1.
Example: Take normally distributed data and a large sample. The sample median then has variance close to πσ2/(2n), while the mean has variance σ2/n. The mean's efficiency relative to the median is therefore about π/2≈1.57, so the median needs roughly 57% more observations to match the mean's precision.
In regression, the Gauss–Markov theorem gives the classic efficiency result. Under its assumptions (a linear model, random sampling or uncorrelated errors, no perfect collinearity, and errors with zero conditional mean and constant variance), OLS has the smallest variance among all linear unbiased estimators. That is why OLS is called BLUE. If any assumption fails, for example when the errors are serially correlated, OLS can stay unbiased but lose that guarantee. The guarantee also covers only that class, and a biased or nonlinear estimator can have a lower variance.
Mean squared error: combining bias and spread
Efficiency compares unbiased estimators only. To compare estimators when one of them is biased, use mean squared error, the expected squared distance from the truth:
For an unbiased estimator, the MSE equals the variance. A small bias can be worth accepting when it buys a large cut in variance. This is the bias–variance trade-off.
Example: In the figure, the unbiased estimator has standard error 2, so its MSE is 0+22=4. The biased estimator is off by 1 on average and has standard error 0.8, so its MSE is 0.82+12=1.64. Measured by average squared distance, the biased estimator lands closer to the true value.
Criterion | What it measures | Formula | Use it to |
|---|---|---|---|
Bias | Centre of the sampling distribution relative to θ | E[θ^]−θ | Detect systematic over- or underestimation |
Variance | Spread of the estimates around their own mean | Var(θ^) | Compare precision |
Relative efficiency | Ratio of two variances | Var(θ^2)/Var(θ^1) | Choose between two unbiased estimators |
MSE | Overall accuracy | Var+Bias2 | Compare estimators when any of them is biased |
What to remember
- Bias is E[θ^]−θ. It describes the average over repeated samples, never a single estimate.
- Among unbiased estimators, the one with the smaller variance is more efficient. OLS is BLUE when all the Gauss–Markov assumptions hold, including uncorrelated errors with constant variance.
- MSE=Var+Bias2, so a biased estimator can be more accurate than an unbiased one.
- MSE rankings can change with the true parameter value.
Example: Does shrinking the sample mean pay off?
An analyst estimates μ, the mean annual employment growth (in percent) of a country's regions. The estimate comes from a random sample of n=10 regions. Treat the regional growth rates as independent draws with variance σ2=20 percent squared. The analyst is considering two estimators. The first is the sample mean Xˉ. The second is the shrinkage estimator μ~=0.8Xˉ, which pulls every estimate 20% of the way toward zero.
a) Find the bias and variance of each estimator. Write them as expressions in μ where needed.
Start with the sample mean. Since E[Xˉ]=μ, its bias is zero. Its variance is Var(Xˉ)=σ2/n=20/10=2 percent squared.
Now the shrinkage estimator. Expectation is linear, so E[μ~]=0.8E[Xˉ], which equals ________. The bias is therefore
Multiplying a random variable by a constant multiplies its variance by the square of that constant. Here the square is ________, so
So Xˉ has bias 0 and variance 2 percent squared. μ~ has bias −0.2μ and variance 1.28 percent squared. Shrinking cuts the variance by 36%, at the cost of a bias that grows with the size of μ.
b) Suppose the true mean growth is μ=5 percent. Compute the MSE of each estimator and say which one is more accurate.
The bias of Xˉ is zero, so its MSE equals its variance: MSE(Xˉ)=2 percent squared.
At μ=5, the bias of μ~ is −0.2×5=−1 percent, so its squared bias is ________ percent squared. Then
At μ=5, the sample mean has the lower MSE: 2 percent squared against 2.28. The variance that shrinking saves is smaller than the squared bias it adds.
c) For which values of μ does μ~ have a lower MSE than Xˉ? What does this mean for the analyst, who does not know μ?
For a general μ, the squared bias of μ~ is (−0.2μ)2, which equals ________. So
This must be below MSE(Xˉ)=2. Subtracting 1.28 from both sides shows that the squared bias must be less than ________. Dividing by 0.04 then requires μ2 to be less than ________, so
Thus μ~ has lower MSE when the true mean growth lies strictly between −18 and 18 percent, regardless of what the analyst knows. The estimators have equal MSE at the boundaries, and Xˉ has lower MSE outside them. Because μ is unknown, the analyst cannot determine with certainty from a single sample which estimator has lower MSE. Data and contextual knowledge can inform the choice, but outside information is not a requirement for shrinkage to have lower MSE. This is the bias–variance trade-off at work: neither estimator has the lower MSE for every value of μ.
An economist uses an estimator θ^ that is unbiased for a population parameter θ: its expected value equals θ whatever the true value of θ, and its variance is positive. Which of the following statements must be true? Select all that apply.
A simulation with many repeated samples compares two estimators of an industry's average price markup over marginal cost, measured in percentage points. Estimator A is unbiased with standard error 3 percentage points. Estimator B overstates the markup by 2 percentage points on average and has standard error 2 percentage points. Which estimator has the lower mean squared error, and what are the two MSE values in percentage points squared?