Lecture 10 Improving Estimators: Rao–Blackwell and Lehmann–Scheffe
In lecture 8 we have seen that a sufficient statistic can be used to summarise all the information in the data about the parameter. In this lecture we will use this idea to construct improved versions of estimators. The Rao–Blackwell theorem states that conditioning an unbiased estimator on the value of never increases its variance. The Lehmann–Scheffe theorem states that, if is a complete sufficient statistic, this procedure gives the best unbiased estimator.
10.1 The Rao–Blackwell Theorem
Assume that we want to estimate a function of the parameter, e.g. we could be interested in the probability of zero counts. As in lecture 2, an estimator with finite mean is unbiased for , if for all . Unbiased estimators are often easy to find, but a crude one, such as the indicator of the event , uses only a small part of the available sample. The Rao–Blackwell theorem uses a sufficient statistic to improve an existing estimator by replacing with the conditional expectation , i.e. the average of for all samples which have the same value of as the observed sample.
Let be a sufficient statistic for and let be an unbiased estimator for with for all . Then has the following properties.
-
1.
The random variable does not depend on , but is a function of alone and thus a statistic.
-
2.
The statistic is an unbiased estimator for .
-
3.
For all we have .
Since is a sufficient statistic, the conditional distribution of the sample given does not depend on ; for discrete data this is definition 8.1, and for continuous data it is the property stated after proposition 8.3. Since is a function of the sample, the conditional distribution of given , and thus the conditional expectation , do not depend on either. Like every conditional expectation given , the random variable is a function of , as explained in appendix A, and since this function does not involve the parameter , the random variable is a statistic in the sense of definition 1.3.
For the second statement, using the tower property from proposition A.9, we find
for all . This shows that is unbiased.
Since both estimators are unbiased, their mean squared errors equal their variances by lemma 2.7, and thus is at least as good as . The procedure of passing from to is called Rao–Blackwellisation. Sufficiency is needed here: conditioning on a statistic which is not sufficient will in general give a quantity which depends on and is thus not an estimator.
Let be i.i.d. Poisson with parameter and assume that we want to estimate . The indicator is unbiased for , since . By corollary 8.5 the sum is sufficient. Given , the first observation is distributed as ; this is shown in exercise 10.1. Thus we have
The Rao–Blackwellised estimator now uses all observations. Exercise 10.3 applies the same procedure to a continuous model.
10.2 Completeness and the Lehmann–Scheffe Theorem
The Rao–Blackwell theorem improves an existing estimator, but two different unbiased estimators could in principle be improved to two different functions of . To rule this out we need one more property of a statistic, concerning functions of the statistic which are unbiased estimators for zero.
A statistic is complete, if for every function such that has finite mean under for all , the condition for all implies for all .
This means that a function of a complete statistic which has expectation zero for all parameter values is itself zero with probability one. The condition is violated for statistics which do not reduce the data enough: in exercise 10.2 we will see that the whole Bernoulli sample is sufficient, but not complete, whereas the total is complete by proposition 10.6 below. Completeness is a separate property from minimal sufficiency: a minimal sufficient statistic need not be complete. If is complete, two unbiased estimators for the same quantity which are both functions of agree with probability one, and thus every Rao–Blackwellisation leads to the same estimator. Before we prove this, we name the target.
An unbiased estimator for with for all is a uniformly minimum variance unbiased estimator (UMVUE) for , if for all and for every unbiased estimator for with finite variance.
The word “uniformly” refers to the parameter: the inequality has to hold for every at once, and there is no reason a priori why such an estimator should exist. The following theorem shows that, whenever a complete sufficient statistic exists, a UMVUE exists as well and is easy to identify.
Let be a complete sufficient statistic for and let be a function of which is unbiased for and has for all . Then is a UMVUE for .
We first show that is the only unbiased estimator for among the functions of . Let be another unbiased estimator for which is a function of . Then we have for all . The function satisfies for all and, since is complete, by definition 10.3, we have for all , i.e. with probability one.
Now let be any unbiased estimator for with finite variance. Then, by the Rao–Blackwell theorem, proposition 10.1, the random variable is a function of which is unbiased for . Thus, by the first step of the proof, it equals with probability one. The Rao–Blackwell theorem then gives
for all , i.e. is a UMVUE. This completes the proof. ∎
The theorem turns the search for a best unbiased estimator into a two-step recipe: find a complete sufficient statistic , then find any function of which is unbiased for , by adjusting a constant or by Rao–Blackwellising a crude unbiased estimator. For the models of this module the following two facts settle the question of completeness.
-
1.
Let be an i.i.d. sample from a one-parameter exponential family of full rank, as given in definitions 7.1 and 7.8. Then the natural statistic of the sample is complete. For a -parameter exponential family of full rank, as given in definition 7.6, the vector
of summed natural statistics is complete.
-
2.
Let be i.i.d. and uniformly distributed on the interval where . Then the sample maximum is complete.
We state this proposition without proof, and both statements may be used without proof in what follows. The first statement rests on the uniqueness theorem for Laplace transforms. The second statement rests on taking derivatives, with respect to , of the relation , which is the condition up to a constant factor. Together with corollary 8.5 and example 8.4 they provide a complete sufficient statistic for every family in tables 1.1 and 1.2 (with known for the binomial). A one-to-one function of a complete sufficient statistic is again complete and sufficient: sufficiency was shown in lecture 8, and if for all , then is a function of with mean zero and thus, since is complete, with probability one. In particular, we can use the sample mean instead of if required.
For the Poisson sample from example 10.2, the natural parameter takes values on all of , and thus the family is of full rank in the sense of definition 7.8. By corollary 8.5 and proposition 10.6 the sum is a complete and sufficient statistic. Since is a function of , is unbiased for and has finite variance , it is the UMVUE for by theorem 10.5. Similarly, the Rao–Blackwellised indicator takes values in and thus has finite variance, and it is the UMVUE for .
Let be i.i.d. with both parameters unknown. This is a two-parameter exponential family with natural statistic , and the pair is sufficient by example 8.7. The family has full rank, and thus the pair is also complete by proposition 10.6; exercise 10.5 verifies the rank condition. Since and are unbiased for and by lemmas 2.2 and 2.3, they are the UMVUEs for these parameters.
The second example puts section 2.3 into perspective: there the biased estimator had smaller mean squared error than . This is no contradiction, since the Lehmann–Scheffe theorem compares to unbiased estimators only.
In lecture 13 we will see a second way to derive optimality, using the Cramer–Rao bound, which does not require conditioning.
-
•
Rao–Blackwell: If an unbiased estimator is conditioned on a sufficient statistic , the conditioned estimator is unbiased and has no larger variance.
-
•
A UMVUE is an unbiased estimator which has minimal variance among all unbiased estimators, for all .
-
•
A statistic is complete, if every function of with expectation zero for all is zero with probability one.
-
•
Lehmann–Scheffe: If is complete and sufficient, then the only function of which is unbiased for is the UMVUE for .
-
•
The natural statistic for a full-rank exponential family and the maximum of a uniform sample are complete (stated without proof).
Let , let be i.i.d. Poisson with parameter , let and let , as in example 10.2. You may use the fact that a sum of independent Poisson random variables is again Poisson, with the parameters added.
-
1.
Show that is an unbiased estimator for and determine the variance of this estimator.
-
2.
Show that for and we have
i.e. that the conditional distribution of given is and that this distribution does not depend on .
-
3.
Deduce that .
- 4.
-
5.
Explain why is the UMVUE for and discuss the differences between this UMVUE and the MLE , introduced in exercise 5.7.
Let be i.i.d. Bernoulli with success probability , where , and let be the whole sample.
-
1.
Show that satisfies for all and .
-
2.
Using definition 10.3, show that is not complete, despite being sufficient.
Let and let be i.i.d. exponential with rate , i.e. for and let . You may use the fact that the sum of independent random variables of this type has density for .
-
1.
Explain why is an unbiased estimator for the mean and why is sufficient for .
-
2.
Let . Use the independence of and to find the joint density of . Deduce the conditional density of given . The result is
and zero elsewhere. Check that this density does not depend on .
-
3.
Show that and conclude that Rao–Blackwellising leads to the sample mean , again unbiased for .
-
4.
Find a second argument for , based on the symmetry of the sample, without any integration.
Let be i.i.d. uniformly distributed on the interval where , and let .
Let be i.i.d. , where both parameters are unknown. This is the situation of example 10.8.
-
1.
Write the density of an observation in the form from definition 7.6, confirm that the natural statistic is and determine the natural parameter and the function .
-
2.
Show that the family of densities has full rank, in the sense of definition 7.8, by determining the range of .
-
3.
Deduce that is complete and sufficient and argue that the same holds for the pair .