Hexa Scholar

Bias and variance of an estimator

An empty cream and gold target stands beside unused darts on a wooden table.
An empty target and unused darts: a place to compare repeated attempts at the same aim.

The question

Four procedures estimate a true value of 10. How would you compare where their estimates land?

Judge the procedure across samples, then measure its error.

  1. 1 SeeClassify four estimation procedures.
  2. 2 TryCompare errors and choose a weight.
  3. 3 ProveBuild the error decomposition.
  4. 4 ApplyCompute and interpret estimation errors.
Before you start · 3 quick checks on expectations, standard deviations, and sampling distributions

Two ideas before you start

2 ideas

Compare the center with the truth

Two equally likely estimates and a fixed mark for the true value.

Bias compares the average estimate with the true value. Its sign tells you the direction of the offset.

Exact definition

A parameter \(\theta\) is a fixed number describing the population. An estimator \(T\) is a rule computed from the random sample, without using the unknown parameter. Its realized output is an estimate. At a fixed population model, its bias is

\[b=E[T]-\theta.\]

The expectation averages over fresh samples drawn by the specified sampling rule. An estimator is unbiased over a model family if this difference is zero at every allowed parameter value. A calculation at one value establishes only its bias there.

Measure spread around the estimator’s own center

Two equally likely estimates move closer to or farther from their common mean.

Variance measures how much the estimator changes between samples. The reference point is its own mean, which need not be the truth.

Exact definition

With \(m=E[T]\), the estimator’s variance and standard error are

\[\begin{aligned}v&=E[(T-m)^2],\\\operatorname{SE}(T)&=\sqrt v.\end{aligned}\]

Bias and standard error use the units of the estimate; variance uses squared units. These definitions require the relevant moments to exist. Throughout this lesson, the estimators have finite second moments. Review expectation and variance for probability-weighted averages.

What is repeated, and what stays fixed?

Repeat the original data collection, keeping the population, sample size, and estimation rule fixed. Record one estimate from each sample. This is the sampling distribution already studied in the preceding lesson. Here the additional reference point is the population parameter being estimated.

A single estimate can miss the truth even when the procedure is unbiased. Conversely, a biased procedure can happen to give a close estimate on one sample. Neither property can be diagnosed just by looking at one realized error. The examples below supply the true value for comparison; real data usually do not.

1 See

Classify four procedures

The laws listed here are exact teaching models at the stated true value. They are not four small datasets whose unknown populations must be inferred. Use the midpoint to find the mean of each equally likely pair, then compare its spread around that midpoint.

2 Try

Compare a new estimation rule

3 Prove

Split the squared error

Theorem: MSE decomposition

Let \(T\) be a real estimator with \(E[T^2]\lt\infty\), and let \(\theta\) be a fixed finite real parameter. Define \(m=E[T]\), \(b=m-\theta\), \(v=\operatorname{Var}(T)\), and \(Y=T-m\). Then

\[\operatorname{MSE}(T)=v+b^2.\]

Expectation is taken under one fixed sampling model. The result does not require independent observations, a normal distribution, or an unbiased estimator. The earlier sample-mean variance calculation uses independence; this identity does not.

The choice exercise assumes additionally \(b\ne0\) and \(v\gt0\), so every alternative equation stays distinct. Build the proof from centered errors. The read mode shows the same steps. The identity itself also covers the zero cases discussed afterward.

4 Apply

Compute and interpret the score

Enter decimals without units. Each problem states its accepted error and includes hints and a worked solution. Keep signed bias, standard error, and MSE separate.

What a bootstrap can and cannot tell you here

The bootstrap lesson resamples the observed data to approximate sampling variation. Its distribution is conditional on the sample. The difference between the mean bootstrap estimate and the observed estimate can be used as a plug-in estimate of bias, but it need not equal the true repeated-sampling bias.

In particular, resampling cannot reveal a population group that the original sampling rule never included. Repeatedly reproducing a biased data collection process does not establish accuracy. Use the known laws on this page to understand the quantities; use an appropriate sampling model when estimating them from data.

Key point Name the parameter, sampling rule, and loss before comparing estimators. Report the signed bias in original units and the squared-error score in squared units.
Level IntroPrerequisites Sampling distributions, expectation, and varianceTime About 30 min

Further reading