Search the atlas

Rao–Blackwellization

Construct a conditionally averaged estimator from five binary tests, verify its variance reduction exactly, and explain why sufficiency matters for an implementable result.

Rao–Blackwellization and Unnecessary Estimator Noise

An estimator may contain randomness that carries no additional information about its target. Rao–Blackwellization removes such variation by conditioning on a sufficient statistic. A small binary-test example makes the operation concrete and distinguishes it from arbitrary smoothing of a measured signal.

State the Statistical Experiment

Observe five independent tests X1,…,X5X_1,\ldots,X_5, each Bernoulli with the same unknown probability pp, where 0<p<10<p<1. Interpret one as a declared event, such as a defect detected under a fixed test protocol. Let

S=∑i=15Xi.S=\sum_{i=1}^5X_i.

The likelihood of an ordered outcome is pS(1−p)5−Sp^S(1-p)^{5-S}. Its dependence on pp is entirely through SS, which is sufficient for this model. Conditional on S=sS=s, all binary sequences with that total have equal probability, independently of pp.

Richard Lockhart’s statistical-estimation lecture states the Rao–Blackwell theorem: conditioning an estimator on a sufficient statistic preserves its bias and cannot increase its variance or squared-error risk, assuming the relevant moments exist.

Start with a Deliberately Wasteful Estimator

Take T=X1T=X_1. It is unbiased for pp, since E[T]=pE[T]=p, but ignores four observations that were already collected. Form

T∗=E[T∣S].T^*=E[T\mid S].

Given S=sS=s, symmetry gives P(X1=1∣S=s)=s/5P(X_1=1\mid S=s)=s/5. Equivalently, for interior counts, the ratio of sequence counts is (4s−1)/(5s)=s/5\binom4{s-1}/\binom5s=s/5. The endpoint cases give zero and one directly. Therefore

T∗=S/5.T^*=S/5.

For an observed total of one, the improved estimate is 0.2 regardless of which test produced the event. The original estimator is one if it happened first and zero otherwise. That distinction between orderings is unnecessary under this particular independent, identical-trial model.

Quantify What Was Removed

The two variances are

Var⁡(T)=p(1−p),Var⁡(T∗)=p(1−p)5.\operatorname{Var}(T)=p(1-p),\qquad \operatorname{Var}(T^*)=\frac{p(1-p)}5.

At an assigned study value p=0.1p=0.1, these are 0.09 and 0.018. The variance reduction is 80%; the unknown population probability is not being estimated by substituting 0.1 into the data.

The law of total variance identifies the removed term:

Var⁡(T)=Var⁡(E[T∣S])+E[Var⁡(T∣S)].\operatorname{Var}(T)=\operatorname{Var}(E[T\mid S])+E[\operatorname{Var}(T\mid S)].

Here the last term is 0.072. Exact enumeration of all 32 ordered outcomes checks the conditional estimator, both means and both variances. Equal bias means lower variance also lowers mean squared error in this example.

Why Sufficiency Is More Than a Label

Conditional averaging reduces variance mathematically, but an arbitrary conditional expectation may depend on the unknown parameter and therefore fail to define a usable estimator. Sufficiency supplies a parameter-independent conditional distribution here. It does not mean every summary statistic is sufficient, or that all information should always be reduced to a count.

Applications and checks

The Blackwell biography introduces the value of information in decisions; this example shows one precise estimator improvement. It uses the same collected observations and changes how their information is used.

Check the experiment before applying the result. Dependence between tests, changing event probabilities, detection errors or a sampling plan tied to earlier outcomes change the model. If order records wear or drift, it may contain essential information. Reduced estimator variance does not repair an invalid sampling model or establish that the observed event probability equals the underlying physical defect probability.

Back to contents