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 nn and computing θ^\hat\theta in each one. The resulting sampling distribution has a mean E[θ^]E[\hat\theta]. The bias of the estimator is the gap between that mean and the true parameter:


Bias(θ^)=E[θ^]−θ\text{Bias}(\hat\theta) = E[\hat\theta] - \theta


An estimator is unbiased when E[θ^]=θE[\hat\theta] = \theta for every possible value of the parameter, not just for one of them. The sample mean Xˉ\bar X is unbiased for the population mean μ\mu. The sample variance computed with divisor nn, 1n∑(Xi−Xˉ)2\frac{1}{n}\sum (X_i - \bar X)^2, has expected value n−1nσ2\frac{n-1}{n}\sigma^2. It therefore understates σ2\sigma^2 by σ2/n\sigma^2/n on average, and dividing by n−1n-1 instead removes the bias.



Variance and efficiency: how widely the estimates spread

The variance Var(θ^)\text{Var}(\hat\theta) measures how far the estimates spread around their own mean E[θ^]E[\hat\theta]. 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\hat\theta_1 with respect to θ^2\hat\theta_2 is


RE(θ^1,θ^2)=Var(θ^2)Var(θ^1)\text{RE}(\hat\theta_1, \hat\theta_2) = \frac{\text{Var}(\hat\theta_2)}{\text{Var}(\hat\theta_1)}


and a value above 1 favours θ^1\hat\theta_1.


Example: Take normally distributed data and a large sample. The sample median then has variance close to πσ2/(2n)\pi\sigma^2/(2n), while the mean has variance σ2/n\sigma^2/n. The mean's efficiency relative to the median is therefore about π/2≈1.57\pi/2 \approx 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:


MSE(θ^)=E[(θ^−θ)2]=Var(θ^)+[Bias(θ^)]2\text{MSE}(\hat\theta) = E\big[(\hat\theta - \theta)^2\big] = \text{Var}(\hat\theta) + \big[\text{Bias}(\hat\theta)\big]^2


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.


Two bell-shaped density curves, a wide solid one centred on the true value 10 and a narrow dashed one centred at 11.


Example: In the figure, the unbiased estimator has standard error 2, so its MSE is 0+22=40 + 2^2 = 4. The biased estimator is off by 1 on average and has standard error 0.8, so its MSE is 0.82+12=1.640.8^2 + 1^2 = 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 θ\theta

E[θ^]−θE[\hat\theta]-\theta

Detect systematic over- or underestimation

Variance

Spread of the estimates around their own mean

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

Compare precision

Relative efficiency

Ratio of two variances

Var(θ^2)/Var(θ^1)\text{Var}(\hat\theta_2)/\text{Var}(\hat\theta_1)

Choose between two unbiased estimators

MSE

Overall accuracy

Var+Bias2\text{Var} + \text{Bias}^2

Compare estimators when any of them is biased


What to remember

  • Bias is E[θ^]−θE[\hat\theta]-\theta. 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\text{MSE} = \text{Var} + \text{Bias}^2, 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 μ\mu, the mean annual employment growth (in percent) of a country's regions. The estimate comes from a random sample of n=10n = 10 regions. Treat the regional growth rates as independent draws with variance σ2=20\sigma^2 = 20 percent squared. The analyst is considering two estimators. The first is the sample mean Xˉ\bar X. The second is the shrinkage estimator μ~=0.8Xˉ\tilde\mu = 0.8\bar X, which pulls every estimate 20% of the way toward zero.


a) Find the bias and variance of each estimator. Write them as expressions in μ\mu where needed.


Start with the sample mean. Since E[Xˉ]=μE[\bar X] = \mu, its bias is zero. Its variance is Var(Xˉ)=σ2/n=20/10=2\text{Var}(\bar X) = \sigma^2/n = 20/10 = 2 percent squared.


Now the shrinkage estimator. Expectation is linear, so E[μ~]=0.8E[Xˉ]E[\tilde\mu] = 0.8E[\bar X], which equals ________. The bias is therefore


Bias(μ~)=0.8μ−μ=−0.2μ\text{Bias}(\tilde\mu) = 0.8\mu - \mu = -0.2\mu


Multiplying a random variable by a constant multiplies its variance by the square of that constant. Here the square is ________, so


Var(μ~)=0.64×2=1.28 percent squared\text{Var}(\tilde\mu) = 0.64 \times 2 = 1.28 \text{ percent squared}


So Xˉ\bar X has bias 0 and variance 2 percent squared. μ~\tilde\mu has bias −0.2μ-0.2\mu and variance 1.28 percent squared. Shrinking cuts the variance by 36%, at the cost of a bias that grows with the size of μ\mu.


b) Suppose the true mean growth is μ=5\mu = 5 percent. Compute the MSE of each estimator and say which one is more accurate.


The bias of Xˉ\bar X is zero, so its MSE equals its variance: MSE(Xˉ)=2\text{MSE}(\bar X) = 2 percent squared.


At μ=5\mu = 5, the bias of μ~\tilde\mu is −0.2×5=−1-0.2 \times 5 = -1 percent, so its squared bias is ________ percent squared. Then


MSE(μ~)=1.28+(−1)2=2.28 percent squared\text{MSE}(\tilde\mu) = 1.28 + (-1)^2 = 2.28 \text{ percent squared}


At μ=5\mu = 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 μ\mu does μ~\tilde\mu have a lower MSE than Xˉ\bar X? What does this mean for the analyst, who does not know μ\mu?


For a general μ\mu, the squared bias of μ~\tilde\mu is (−0.2μ)2(-0.2\mu)^2, which equals ________. So


MSE(μ~)=1.28+0.04μ2\text{MSE}(\tilde\mu) = 1.28 + 0.04\mu^2


This must be below MSE(Xˉ)=2\text{MSE}(\bar X) = 2. Subtracting 1.28 from both sides shows that the squared bias must be less than ________. Dividing by 0.04 then requires μ2\mu^2 to be less than ________, so


∣μ∣<18≈4.24|\mu| < \sqrt{18} \approx 4.24


Thus μ~\tilde\mu has lower MSE when the true mean growth lies strictly between −18-\sqrt{18} and 18\sqrt{18} percent, regardless of what the analyst knows. The estimators have equal MSE at the boundaries, and Xˉ\bar X has lower MSE outside them. Because μ\mu 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 μ\mu.

Match each term used to judge the quality of an estimator with the description that defines it. Each description belongs to exactly one term.

Match each term
A.

Expected value of the estimator minus the true parameter value

B.

An estimator whose expected value equals the true parameter for every possible parameter value

C.

Average squared distance between the estimator and the true parameter over repeated samples

D.

Ratio of the variances of two unbiased estimators of the same parameter

E.

Standard deviation of the estimator across all possible random samples of a given size

Mean squared error

Unbiased estimator

Bias

Standard error

Relative efficiency

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

An economist uses an estimator θ^\hat\theta that is unbiased for a population parameter θ\theta: its expected value equals θ\theta whatever the true value of θ\theta, and its variance is positive. Which of the following statements must be true? Select all that apply.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

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?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors