Efficiency and the Cramer-Rao Bound
Two unbiased estimators of the same parameter can behave very differently. Both are correct on average, and one can be reliably close while the other swings wildly. The distinguishing quantity is variance.
Definition. Let and be unbiased estimators of the same parameter . Then is more efficient than when irrespective of the value of . The relative efficiency of with respect to is
A relative efficiency of 3 means has three times the variance of , so extracts more information from the same data.
Two conditions in the definition are easy to skip and both matter. The estimators must be unbiased, since otherwise comparing variances ignores the systematic error and mean squared error is the right instrument. And the inequality must hold for every , since an estimator that wins for some parameter values and loses for others is not more efficient in this sense.
1. Comparing two unbiased estimators
The procedure is direct: compute both variances and compare.
Worked example. Estimating , the number of tanks, from serial numbers, with two unbiased estimators: from the method of moments, and from the corrected maximum.
Simulating at with captures shows two clearly different sampling distributions. Both are centred at 1000, confirming unbiasedness. is broad and roughly symmetric; is narrow and sharply peaked with a short left tail. So and is more efficient.
The mechanism is worth extracting, because it explains when the maximum beats the mean. The sample mean uses all observations but each one contributes only its own magnitude, and low and high draws partially cancel. The maximum uses effectively one observation, but for a uniform distribution the largest of draws sits close to the ceiling and rarely far from it. The information about is concentrated at the top of the range, and the maximum is the statistic that reads it.
2. Is there a best possible estimator?
Given a stream of unbiased estimators, each more efficient than the last, a natural question is whether the improvement can continue indefinitely. It cannot. There is a floor on the variance of any unbiased estimator, determined by the model itself.
Theorem (Cramér-Rao inequality). Let be a random sample from a distribution with density , and let be an unbiased estimator of . Under smoothness conditions on , for all .
The right-hand side is the Cramér-Rao lower bound. No unbiased estimator can have smaller variance.
Definition. An unbiased estimator whose variance attains the Cramér-Rao bound is a minimum variance unbiased estimator, abbreviated MVUE.
An MVUE cannot be beaten among unbiased estimators. It can still be beaten on mean squared error by a biased estimator, which is not a contradiction, because the bound only constrains estimators that are unbiased.
Reading the bound
The denominator is times the Fisher information
The quantity being squared and averaged is the derivative of the log-density with respect to the parameter, which measures how sharply the density changes as moves. A density that responds strongly to a change in makes different parameter values easy to tell apart, so the data are informative and the floor is low. A density barely affected by makes them hard to distinguish and the floor is high.
The factor says information adds across independent observations, so the bound falls like , matching the rate at which the variance of a sample mean falls.
3. Establishing that an estimator is an MVUE
Three steps, and the exam expects all three.
- Compute and differentiate with respect to .
- Square and take the expectation to get , then form the bound .
- Compute and show it equals the bound.
Worked example: the exponential, parameterized by the mean
with . Write the density in terms of :
Show that is an MVUE of .
Step 1: the log-density and its derivative.
The last simplification is worth doing, because it makes the next step immediate.
Step 2: square, take the expectation.
using for an exponential. The numerator is the variance by definition, since .
So and the bound is
Step 3: compare with the variance of the sample mean.
The sample mean attains the bound, so it is a minimum variance unbiased estimator of . No unbiased estimator of the mean lifetime does better, whatever cleverness is applied.
The same computation in the rate parameterization
Writing and expanding rather than simplifying gives the same answer by a longer route:
Taking expectations term by term with and :
Same information, same bound. Grouping the derivative into first turns three expectations into one and is the version worth doing under time pressure.
4. What the bound does and does not say
It applies only to unbiased estimators. A biased estimator can have a variance below the bound. The shrunken exponential estimator has smaller variance than and a smaller mean squared error, and no theorem is violated, because it is not unbiased.
It requires smoothness conditions. The density must be differentiable in with the support not depending on . The uniform family fails this, since its support is , which is why the Cramér-Rao machinery cannot be applied there. That is the same structural feature that broke the maximum likelihood recipe for the uniform.
Attaining it is sufficient but not necessary for being best. For some models no unbiased estimator reaches the bound, and a minimum variance unbiased estimator still exists above it. Attaining the bound settles the question immediately; failing to attain it settles nothing.
5. Estimating efficiency by simulation
Where the variances are not available in closed form, simulate both estimators and compare the sample variances.
m <- 1000
lambda <- 5
n <- 365
t1 <- numeric(m)
t2 <- numeric(m)
for (i in seq(m)) {
sales <- rpois(n, lambda)
t1[i] <- mean(sales == 0)
t2[i] <- exp(-mean(sales))
}
var(t1)
var(t2)Output:
[1] 1.812066e-05
[1] 6.149703e-07is roughly 30 times , so is far less variable.
The comparison is not a statement about efficiency as defined here, because is biased and the definition requires both estimators to be unbiased. What the simulation licenses is a mean squared error comparison, which needs the bias as well. Stating that is “more efficient” on these numbers alone is the error the definition exists to prevent.
Vocabulary to deploy
- More efficient: smaller variance among unbiased estimators, for every .
- Relative efficiency .
- Cramér-Rao lower bound ; Fisher information .
- Minimum variance unbiased estimator: unbiased and attaining the bound.
- Smoothness conditions, which fail when the support depends on the parameter.