4.9.18Probability Theory & Statistics

Properties of estimators — unbiasedness, consistency, efficiency

1,934 words9 min readdifficulty · medium

WHAT is an estimator?

WHY a random variable? Because before you sample, you don't know which values you'll draw. Different samples → different θ^\hat\theta values → a sampling distribution.


1. Unbiasedness

Derivation: why Xˉ\bar X is unbiased for μ\mu

Let X1,,XnX_1,\dots,X_n be i.i.d. with E[Xi]=μ\mathbb E[X_i]=\mu. E[Xˉ]=E ⁣[1ni=1nXi]=1ni=1nE[Xi]=1nnμ=μ.\mathbb E[\bar X]=\mathbb E\!\left[\frac1n\sum_{i=1}^n X_i\right]=\frac1n\sum_{i=1}^n\mathbb E[X_i]=\frac1n\cdot n\mu=\mu. Why this step? Expectation is linear, so it passes through the sum and the constant 1/n1/n. ✓

Derivation: why we divide by n1n-1 for variance

We want to estimate σ2=Var(X)\sigma^2=\operatorname{Var}(X). The naive estimator 1n(XiXˉ)2\frac1n\sum(X_i-\bar X)^2 is biased low. Let's see exactly why.

Start from the identity (subtract and add μ\mu): i(XiXˉ)2=i(Xiμ)2n(Xˉμ)2.\sum_i (X_i-\bar X)^2 = \sum_i (X_i-\mu)^2 - n(\bar X - \mu)^2. Why this step? Expand (Xiμ)2\sum(X_i-\mu)^2 around Xˉ\bar X; the cross term collapses because (XiXˉ)=0\sum(X_i-\bar X)=0.

Take expectations: E ⁣[i(XiXˉ)2]=iE[(Xiμ)2]σ2nE[(Xˉμ)2]Var(Xˉ)=σ2/n=nσ2σ2=(n1)σ2.\mathbb E\!\Big[\sum_i (X_i-\bar X)^2\Big] = \sum_i \underbrace{\mathbb E[(X_i-\mu)^2]}_{\sigma^2} - n\underbrace{\mathbb E[(\bar X-\mu)^2]}_{\operatorname{Var}(\bar X)=\sigma^2/n}=n\sigma^2-\sigma^2=(n-1)\sigma^2. Why this step? Each E[(Xiμ)2]=σ2\mathbb E[(X_i-\mu)^2]=\sigma^2 and Var(Xˉ)=σ2/n\operatorname{Var}(\bar X)=\sigma^2/n.

So to make it unbiased we divide by n1n-1, not nn:


2. Consistency

Derivation: the bias–variance decomposition

Let m=E[θ^]m=\mathbb E[\hat\theta]. Insert ±m\pm m: E[(θ^θ)2]=E[(θ^m+mθ)2].\mathbb E[(\hat\theta-\theta)^2]=\mathbb E[(\hat\theta-m+m-\theta)^2]. Why this step? Adding zero (m+m)(-m+m) lets us split into a "random part" and a "constant part." Expand: =E[(θ^m)2]Var+2(mθ)E[θ^m]=0+(mθ)2Bias2.=\underbrace{\mathbb E[(\hat\theta-m)^2]}_{\operatorname{Var}}+2(m-\theta)\underbrace{\mathbb E[\hat\theta-m]}_{=0}+\underbrace{(m-\theta)^2}_{\operatorname{Bias}^2}. Why the middle vanishes? E[θ^m]=mm=0\mathbb E[\hat\theta-m]=m-m=0. So MSE=Var+Bias2\boxed{\text{MSE}=\text{Var}+\text{Bias}^2}.

Why Xˉ\bar X is consistent

Var(Xˉ)=σ2/n0\operatorname{Var}(\bar X)=\sigma^2/n\to 0 and bias =0=0, so MSE=σ2/n0\operatorname{MSE}=\sigma^2/n\to0. Done. (This is the Weak Law of Large Numbers in disguise.)


3. Efficiency

Figure — Properties of estimators — unbiasedness, consistency, efficiency

Worked examples


Common mistakes (Steel-man + fix)


Recall Feynman: explain to a 12-year-old

Imagine you're guessing how tall the average kid in your school is by measuring a few friends.

  • Unbiased = your guessing trick doesn't lean too tall or too short — if you repeated it tons of times, the average of your guesses lands exactly right.
  • Consistent = the more friends you measure, the closer your guess sneaks up to the real answer.
  • Efficient = among all fair tricks, yours wobbles the least from sample to sample. You want a trick that's fair, gets better with more data, and is steady. That's a great estimator!

Flashcards

Define an unbiased estimator.
E[θ^]=θ\mathbb E[\hat\theta]=\theta for all θ\theta; i.e. bias =E[θ^]θ=0=\mathbb E[\hat\theta]-\theta=0.
Why divide sample variance by n1n-1?
E[(XiXˉ)2]=(n1)σ2\mathbb E[\sum(X_i-\bar X)^2]=(n-1)\sigma^2; one degree of freedom is used estimating μ\mu by Xˉ\bar X, so /(n1)/(n-1) removes the bias.
State the bias–variance decomposition of MSE.
MSE(θ^)=Var(θ^)+Bias(θ^)2\operatorname{MSE}(\hat\theta)=\operatorname{Var}(\hat\theta)+\operatorname{Bias}(\hat\theta)^2.
Definition of consistency.
θ^nPθ\hat\theta_n\xrightarrow{P}\theta: ε>0, P(θ^nθ>ε)0\forall\varepsilon>0,\ P(|\hat\theta_n-\theta|>\varepsilon)\to0 as nn\to\infty.
Easy sufficient condition for consistency.
MSE(θ^n)0\operatorname{MSE}(\hat\theta_n)\to0 (Var→0 and Bias→0), via Chebyshev.
Give an unbiased but inconsistent estimator of μ\mu.
μ^=X1\hat\mu=X_1: E[X1]=μ\mathbb E[X_1]=\mu but Var=σ2\operatorname{Var}=\sigma^2 never shrinks.
What does efficiency compare and how?
Among unbiased estimators, smaller variance = more efficient; relative efficiency =Var(θ^2)/Var(θ^1)=\operatorname{Var}(\hat\theta_2)/\operatorname{Var}(\hat\theta_1).
State the Cramér–Rao Lower Bound.
Var(θ^)1/I(θ)\operatorname{Var}(\hat\theta)\ge 1/I(\theta), with Fisher info I(θ)=E[(θlnf)2]I(\theta)=\mathbb E[(\partial_\theta\ln f)^2].
Why is Xˉ\bar X consistent for μ\mu?
Unbiased with Var=σ2/n0\operatorname{Var}=\sigma^2/n\to0, so MSE0\to0 (Weak LLN).
Is unbiasedness sufficient for "best"?
No; a biased estimator can have lower MSE. Use MSE = Var + Bias² as the true scorecard.

Connections

Concept Map

estimated by

function of

is a

judged by

judged by

judged by

means

so

example

via

requires

means

means

Parameter theta unknown

Estimator theta-hat

Random sample X1..Xn

Random variable with sampling distribution

Unbiasedness

Consistency

Efficiency

E of theta-hat equals theta

Bias equals zero

Sample mean X-bar for mu

Linearity of expectation

Divide by n-1 for variance s^2

Converges to theta as n grows

Smallest variance among good rules

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, hum ek unknown number θ\theta estimate karna chahte hain — maan lo population ka true mean. Hum sirf ek sample dekh sakte hain, aur uss sample se ek formula (estimator θ^\hat\theta) bana ke guess lagate hain. Kyunki sample random hai, θ^\hat\theta bhi ek random variable hai — har baar alag sample, alag guess. Toh sawaal yeh hai: yeh guessing rule kitni achhi hai?

Teen tareeke se judge karte hain. Unbiased matlab average mein bilkul sahi — agar infinite baar repeat karo toh guesses ka average exactly θ\theta par aaye, koi systematic over/under nahi. Yahi reason hai ki variance mein n1n-1 se divide karte hain, na ki nn se: kyunki humne μ\mu ki jagah Xˉ\bar X use kiya, ek degree of freedom kharch ho gaya, isliye correction zaroori hai.

Consistent matlab jaise-jaise data badhta hai (nn\to\infty), guess sach ke paas chala jaata hai. Iska easy test: agar MSE == Var ++ Bias2^2 zero ki taraf jaaye, toh estimator consistent hai. Yaad rakho — unbiased hona aur consistent hona alag cheez hai: θ^=X1\hat\theta=X_1 (sirf pehla observation) unbiased hai par consistent nahi, kyunki uska variance kabhi chhota nahi hota.

Efficient matlab jitne bhi fair (unbiased) rules hain, unmein sabse kam wobble (variance) wala. Cramér–Rao bound batata hai ki variance ek floor 1/I(θ)1/I(\theta) se neeche nahi ja sakta — kyunki data mein limited information hota hai. Short mein: Center, Closer, Calm — sahi center par, data badhne par closer, aur sabse calm (steady). Yeh teen properties estimator ki quality ka pura scorecard hain.

Go deeper — visual, from zero

Test yourself — Probability Theory & Statistics

Connections