Cramer-Rao Bound and Efficiency
No unbiased estimator beats the information in the data. Cramer-Rao turns that slogan into a floor: variance sits at or above one over information.
Why Does This Exist?
Estimator shootouts need a referee. One rule reports variance 0.003, another 0.012. Is the first genuinely better, or just luckier on this dataset? Without a floor, every comparison is relative: A beats B today, C arrives tomorrow and the ranking resets.
The Cramer-Rao lower bound ends that regress for unbiased rules. It says the variance of any unbiased estimator of a parameter cannot go below one over the Fisher information :
In plain words: the data holds a fixed amount of information, and no unbiased arithmetic can squeeze more precision out of it than that. When an estimator touches the floor it is efficient and the search is over. When it sits far above, either the estimator is wasteful or the model needs more data. It builds on Fisher information and certifies the estimators in maximum likelihood estimation.
The one idea you need first
An estimator is unbiased when : right on average across repeated datasets. Variance measures its dataset-to-dataset wobble. Information measures how sharply the data distinguishes nearby parameter values. The bound connects the two: sharp distinction means a low floor, flat likelihood means a high one.
Think of It Like This
A speed limit for precision
Information is fuel and variance is travel time. The bound is the posted speed limit: no unbiased car arrives faster than its fuel allows. An efficient estimator drives exactly at the limit. A noisy one dawdles above it, burning the same fuel for a slower arrival.
Biased estimators are bicycles on a separate path. By cutting corners they can post a faster time, but they arrive at the wrong address. The limit never claimed to govern bicycles.
Where it stops: the limit assumes a smooth road. At a boundary or a kink in the model the signposts fall over and the number on the sign means nothing.
How It Actually Works
Under regularity conditions, the Cauchy-Schwarz inequality applied to the score function gives . For unbiased rules the derivative is , so the right side is and the familiar floor drops out. Efficiency is the ratio of floor to actual variance, so means optimal and means five times worse than necessary.
Three consequences matter in practice. The maximum likelihood estimator is asymptotically efficient: with enough data it touches the floor under regularity. The multiparameter form floors whole covariance matrices as . And biased rules obey a shifted floor with on top, which is why shrinkage can report variance below without breaking anything.
Worked example
Take flips of a fair coin, so . For one Bernoulli trial the information is . Information adds across independent flips, so . The floor is and the standard error floor is .
The sample mean has variance . It touches the floor exactly, so it is efficient here with efficiency .
A noisier rule that adds independent noise to has variance . Its efficiency is , five times worse, floating above the floor as the diagram shows.
A shrunk rule has variance , below . No theorem is broken: its mean is , whose derivative with respect to is , so its own floor is , which it attains. Below the unbiased floor, exactly on its own biased floor.
Code
The snippet below uses only the standard library. It recomputes the floor and the three variances above, so the hand arithmetic has a second witness.
p = 0.5n = 100
i_one = 1.0 / (p * (1.0 - p)) # one flip: 1 / 0.25i_n = n * i_one # one hundred flips addfloor = 1.0 / i_n # the boundmean_var = p * (1.0 - p) / n # sample mean attains itnoisy_var = mean_var + 0.01 # plus independent noiseshrunk_var = 0.81 * mean_var # 0.9 squared times mean variance
print(round(i_one, 4)) # -> 4.0print(round(i_n, 4)) # -> 400.0print(round(floor, 5)) # -> 0.0025print(round(mean_var, 5)) # -> 0.0025print(round(noisy_var, 5)) # -> 0.0125print(round(floor / noisy_var, 4)) # -> 0.2print(round(shrunk_var, 6)) # -> 0.002025The prints land on the hand trace: information , floor , noisy with efficiency , shrunk on its own biased floor.
Watch Out For
Applying the unbiased floor to a biased rule
Shrinkage, early stopping, weight decay and regularized fits bias on purpose and can report variance below while losing on bias. Declaring them impossible misreads the theorem and blocks estimators that win on mean-squared error.
Compare biased rules by mean-squared error, which is variance plus squared bias, not by the unbiased floor. If a bound is needed, use the biased form with the squared derivative of the mean on top.
Quoting the floor where regularity fails
At or , on a constrained edge, or where the support of the data moves with the parameter, the score no longer averages to zero and differentiating under the integral sign fails. The computed floor is then an artifact and an apparently attaining estimator proves nothing.
Check interior parameters, smooth support and finite information first. On edges, switch to constrained or Bayesian analysis instead of quoting the bound.
The Quick Version
- Unbiased variance floors at , and efficiency is that floor divided by actual variance.
- On 100 fair flips the information is , the floor is and the standard error floor is .
- The sample mean attains the floor with efficiency ; adding noise drops efficiency to .
- Biased rules obey their own shifted floor, so shrinkage below is expected and judged by mean-squared error.
- The maximum likelihood estimator is asymptotically efficient under regularity.
- Boundaries void the bound, so verify regularity before quoting a floor.