The Rao-Blackwell Theorem

Suppose two statisticians estimate the same unknown quantity from the same data. Both use unbiased estimators. Is there a systematic way to mechanically improve a merely reasonable unbiased estimator? Crucially, can this be done without seeing more data? This question sounds like it demands new information, but it does not. The raw data itself contains "extra noise" beyond what is needed to estimate the parameter. A sufficient statistic captures exactly the useful part. The Rao–Blackwell theorem shows that averaging an estimator over the data given a sufficient statistic never increases risk. It strictly decreases risk whenever the original estimator was not already a function of that statistic. This idea matters because it converts an abstract structural fact — sufficiency — into a concrete algorithmic improvement. It explains why good estimators in practice tend to be functions of sufficient statistics. It also gives a rigorous meaning to the folklore claim that "sufficient statistics are all you need." The theorem is also a bridge. It is the conceptual first step toward the Cramer-Rao Lower Bound. It also leads toward the theory of minimum-variance unbiased estimation. Finally, it leads toward the Lehmann–Scheffé characterization of best unbiased estimators via completeness. The big picture is a variance-reduction argument dressed up in conditional expectation. Rao–Blackwellization is not merely a theoretical curiosity. It is a working tool in Monte Carlo simulation, in Bayesian computation. It is also used in modern machine learning under the name "Rao–Blackwellized particle filtering." The same inequality — conditioning reduces variance — appears throughout probability. Here, though, it is harnessed specifically against the backdrop of Sufficiency and the Factorization Theorem. This article states the theorem with full hypotheses. It proves the theorem from first principles, using only the tower property. It also uses the conditional-variance decomposition. The article gives two asymmetric worked examples. Finally, it shows exactly which hypothesis is needed. It does this by constructing a case where the theorem fails.

Key takeaways
  • Rao–Blackwellization replaces an estimator δ(X)\delta(X) by its conditional expectation given a sufficient statistic T(X)T(X).
  • The new estimator δ∗(T)=E[δ(X)∣T]\delta^*(T) = E[\delta(X)\mid T] has the same bias as δ(X)\delta(X), because TT is sufficient and this conditional expectation does not depend on the unknown parameter.
  • Mean squared error never increases: MSE(δ∗)≤MSE(δ)\mathrm{MSE}(\delta^*) \le \mathrm{MSE}(\delta) for every value of the parameter.
  • The inequality is strict unless δ(X)\delta(X) is already (almost surely) a function of T(X)T(X).
  • The proof is a direct application of the law of total variance / tower property, not a new inequality.
  • Key idea: conditioning a statistic on a sufficient statistic averages away irrelevant randomness without losing information about the parameter, and averaging can only shrink variance.

Where this lives today

The Rao–Blackwell principle recurs across statistics and computation wherever an estimator can be improved "for free" by exploiting distributional structure. In classical parametric inference, it is the standard route to building good unbiased estimators once a sufficient statistic (via the Factorization Theorem) has been identified, and it is the conceptual predecessor to the Lehmann–Scheffé theorem for uniformly minimum variance unbiased estimation. In Monte Carlo statistics, Rao–Blackwellization is an explicit variance-reduction technique: if a Monte Carlo estimator can be written as E[h(X,Y)]E[h(X,Y)] and E[h(X,Y)∣X]E[h(X,Y)\mid X] has closed form, replacing simulated draws of h(X,Y)h(X,Y) by the analytically averaged E[h(X,Y)∣X]E[h(X,Y)\mid X] strictly reduces simulation variance for the same computational budget — a direct descendant of the theorem's inequality, now used in Gibbs samplers and importance sampling. In sequential Monte Carlo (particle filtering) for state-space models, "Rao–Blackwellized particle filters" analytically marginalize out a linear-Gaussian sub-state (via a Kalman filter) and use particles only for the nonlinear remainder, dramatically reducing the number of particles needed for a target accuracy — a computational-statistics workhorse in robotics (SLAM — simultaneous localization and mapping) and signal processing. In Bayesian statistics, the same conditioning idea underlies Rao–Blackwellized estimators of posterior functionals, where mixture representations allow closed-form conditional expectations to replace noisy posterior samples. In information theory and estimation theory more broadly, the theorem sits alongside the Cramer-Rao Lower Bound as one of the two central classical tools — one gives an achievable improvement path, the other gives a universal lower bound — for understanding how good an unbiased estimator can possibly be.

:::quiz[If δ(X)\delta(X) is already a function of the sufficient statistic TT, what is δ∗(T)=E[δ(X)∣T]\delta^*(T) = E[\delta(X)\mid T]?]

  • Always strictly smaller in MSE than δ\delta
  • Equal to δ(X)\delta(X) almost surely, with no improvement ✓
  • Undefined, since δ\delta has no residual randomness
  • Equal to τ(θ)\tau(\theta) exactly

Ask the tutor: Can you show how Rao–Blackwellization combined with a complete sufficient statistic pins down the unique minimum-variance unbiased estimator via Lehmann–Scheffé?

DefinitionSufficiency, unbiasedness, and the Rao–Blackwell estimator

Let X=(X1,…,Xn)X = (X_1,\dots,X_n) have a distribution depending on an unknown parameter θ∈Θ\theta \in \Theta, with joint density or mass function fθf_\theta. A statistic T=T(X)T = T(X) is sufficient for θ\theta if the conditional distribution of XX given T=tT = t does not depend on θ\theta, for every value tt in the support of TT. Equivalently (Fisher–Neyman Factorization), fθ(x)=gθ(T(x)) h(x)f_\theta(x) = g_\theta(T(x)) \, h(x) for some functions gθg_\theta and h≥0h \ge 0 not depending on θ\theta. Let τ(θ)\tau(\theta) be a real-valued quantity to be estimated (often τ(θ)=θ\tau(\theta) = \theta itself), and let δ(X)\delta(X) be an estimator of τ(θ)\tau(\theta) with Eθ[δ(X)2]<∞E_\theta[\delta(X)^2] < \infty for all θ\theta. Given a sufficient statistic TT, define the Rao–Blackwell estimator

δ∗(T)  =  E[δ(X)∣T].\delta^*(T) \;=\; E[\delta(X) \mid T].

Because TT is sufficient, the conditional distribution of XX given T=tT=t is free of θ\theta, so this conditional expectation is a genuine statistic — a function of the data alone, with no unknown parameter appearing in its formula.

Intuition

Think of the data XX as containing two ingredients: the part that is informative about θ\theta, and pure noise that is irrelevant to θ\theta once you know T(X)T(X). Sufficiency is precisely the statement that, conditional on TT, the remaining randomness in XX carries no further information about θ\theta — its distribution is the same no matter what θ\theta truly is. Now imagine you have an unbiased estimator δ(X)\delta(X) that uses the whole dataset, but perhaps clumsily — it might use only X1X_1, say, ignoring X2,…,XnX_2,\dots,X_n entirely. If you replace δ(X)\delta(X) by its average over all the data configurations compatible with the observed value of TT, you are averaging out exactly the "irrelevant noise" component, because that component's distribution does not depend on θ\theta. Averaging cannot change what you are estimating (bias is preserved), but averaging over a family of numbers always produces something with variance at most the variance of a randomly chosen member of the family — this is nothing but Jensen's inequality applied to conditional expectation, or equivalently the law of total variance. The picture below shows a single unbiased but noisy estimator's sampling distribution (wide, gray) alongside the conditional-mean estimator's sampling distribution (narrow, colored), both centered at the true value τ(θ)\tau(\theta).

Figure
Rao–Blackwellization shrinks the spread of the sampling distribution around the same center
τ(θ) δ(X): unbiased, high variance δ*(T)=E[δ(X)∣T] both curves are centered at τ(θ): same bias, less spread ⇒ smaller MSE

Central theorem

TheoremRao–Blackwell Theorem

Let XX have distribution PθP_\theta, θ∈Θ\theta \in \Theta, and let T=T(X)T = T(X) be a sufficient statistic for θ\theta. Let δ(X)\delta(X) be an estimator of τ(θ)\tau(\theta) satisfying Eθ[δ(X)2]<∞E_\theta[\delta(X)^2] < \infty for every θ∈Θ\theta \in \Theta. Define

δ∗(T)=E[δ(X)∣T].\delta^*(T) = E[\delta(X)\mid T].

Then: 1. (δ∗\delta^* is a statistic.) δ∗(T)\delta^*(T) is a well-defined function of TT alone (does not depend on θ\theta). 2. (Same bias.) Eθ[δ∗(T)]=Eθ[δ(X)]E_\theta[\delta^*(T)] = E_\theta[\delta(X)] for every θ\theta. In particular if δ\delta is unbiased for τ(θ)\tau(\theta), so is δ∗\delta^*. 3. (No worse MSE, at every θ\theta.)

MSEθ(δ∗)  =  Eθ[(δ∗(T)−τ(θ))2]  ≤  Eθ[(δ(X)−τ(θ))2]  =  MSEθ(δ),for all θ∈Θ.\mathrm{MSE}_\theta(\delta^*) \;=\; E_\theta\big[(\delta^*(T) - \tau(\theta))^2\big] \;\le\; E_\theta\big[(\delta(X)-\tau(\theta))^2\big] \;=\; \mathrm{MSE}_\theta(\delta), \qquad \text{for all } \theta \in \Theta.

4. (Strictness.) The inequality in (3) is an equality at a given θ\theta if and only if δ(X)=δ∗(T)\delta(X) = \delta^*(T) almost surely under PθP_\theta. Consequently, if Pθ(δ(X)≠δ∗(T))>0P_\theta\big(\delta(X) \ne \delta^*(T)\big) > 0 for some θ\theta, then MSEθ(δ∗)<MSEθ(δ)\mathrm{MSE}_\theta(\delta^*) < \mathrm{MSE}_\theta(\delta) strictly at that θ\theta.

Proof

We use only sufficiency (Definition above), the tower property of conditional expectation, and the elementary identity for conditional variance. No result depending on the theorem itself is used.

Step 1: δ∗\delta^* is a statistic. By definition, TT is sufficient means the conditional law of XX given T=tT=t is a fixed distribution QtQ_t not depending on θ\theta. Hence

δ∗(t)=E[δ(X)∣T=t]=∫δ(x) dQt(x)\delta^*(t) = E[\delta(X)\mid T=t] = \int \delta(x)\, dQ_t(x)

is computed using only QtQ_t, a θ\theta-free object, together with the fixed function δ\delta. So δ∗(t)\delta^*(t) is a genuine function of tt alone; no unknown parameter enters its formula, and δ∗(T)\delta^*(T) is a bona fide estimator (statistic). This is the entire reason sufficiency is required: without it, E[δ(X)∣T=t]E[\delta(X)\mid T=t] would depend on θ\theta and could not be computed from data, hence would not define a valid estimator. We must also check integrability so that all subsequent expectations exist. By the conditional Jensen inequality (applied to the convex function x↦x2x\mapsto x^2),

δ∗(T)2=(E[δ(X)∣T])2≤E[δ(X)2∣T]a.s.,\delta^*(T)^2 = \big(E[\delta(X)\mid T]\big)^2 \le E[\delta(X)^2 \mid T] \quad \text{a.s.},

and taking EθE_\theta of both sides and using the tower property,

Eθ[δ∗(T)2]≤Eθ[Eθ[δ(X)2∣T]]=Eθ[δ(X)2]<∞,E_\theta[\delta^*(T)^2] \le E_\theta\big[E_\theta[\delta(X)^2\mid T]\big] = E_\theta[\delta(X)^2] < \infty,

by hypothesis. So δ∗(T)\delta^*(T) has finite second moment under every θ\theta, and all expectations below are finite.

Step 2: Same bias. By the tower property of conditional expectation (valid since Eθ[∣δ(X)∣]<∞E_\theta[|\delta(X)|]<\infty, which follows from Eθ[δ(X)2]<∞E_\theta[\delta(X)^2]<\infty by Cauchy–Schwarz),

Eθ[δ∗(T)]=Eθ[Eθ[δ(X)∣T]]=Eθ[δ(X)].E_\theta[\delta^*(T)] = E_\theta\big[E_\theta[\delta(X)\mid T]\big] = E_\theta[\delta(X)].

This holds for every θ∈Θ\theta \in \Theta (the tower property is a statement about a single fixed probability measure PθP_\theta, and we apply it separately at each θ\theta; sufficiency was already used in Step 1 to know that δ∗\delta^* itself is θ\theta-free — the tower property here does not need sufficiency, only that E[δ(X)∣T]E[\delta(X)\mid T] is computed under the law PθP_\theta, which gives the same numerical function because of Step 1). Hence if Eθ[δ(X)]=τ(θ)E_\theta[\delta(X)] = \tau(\theta) for all θ\theta, then Eθ[δ∗(T)]=τ(θ)E_\theta[\delta^*(T)] = \tau(\theta) for all θ\theta: δ∗\delta^* is unbiased whenever δ\delta is.

Step 3: The MSE inequality, via the conditional variance decomposition. Fix θ∈Θ\theta \in \Theta and write c=τ(θ)c = \tau(\theta), a constant (not random). Decompose

δ(X)−c=(δ(X)−δ∗(T))+(δ∗(T)−c).\delta(X) - c = \big(\delta(X) - \delta^*(T)\big) + \big(\delta^*(T) - c\big).

Square and take EθE_\theta:

Eθ[(δ(X)−c)2]=Eθ[(δ(X)−δ∗(T))2]+2 Eθ[(δ(X)−δ∗(T))(δ∗(T)−c)]+Eθ[(δ∗(T)−c)2].E_\theta[(\delta(X)-c)^2] = E_\theta\big[(\delta(X)-\delta^*(T))^2\big] + 2\,E_\theta\big[(\delta(X)-\delta^*(T))(\delta^*(T)-c)\big] + E_\theta\big[(\delta^*(T)-c)^2\big].

We claim the cross term vanishes. Condition on TT using the tower property:

Eθ[(δ(X)−δ∗(T))(δ∗(T)−c)]=Eθ[Eθ[(δ(X)−δ∗(T))(δ∗(T)−c)∣T]].E_\theta\big[(\delta(X)-\delta^*(T))(\delta^*(T)-c)\big] = E_\theta\Big[ E_\theta\big[(\delta(X)-\delta^*(T))(\delta^*(T)-c) \mid T\big] \Big].

Given TT, the factor δ∗(T)−c\delta^*(T) - c is a (measurable) function of TT, hence is known given TT and pulls out of the inner conditional expectation:

Eθ[(δ(X)−δ∗(T))(δ∗(T)−c)∣T]=(δ∗(T)−c) Eθ[δ(X)−δ∗(T)∣T].E_\theta\big[(\delta(X)-\delta^*(T))(\delta^*(T)-c)\mid T\big] = (\delta^*(T)-c)\, E_\theta\big[\delta(X) - \delta^*(T) \mid T\big].

But Eθ[δ(X)∣T]=δ∗(T)E_\theta[\delta(X)\mid T] = \delta^*(T) by definition, and Eθ[δ∗(T)∣T]=δ∗(T)E_\theta[\delta^*(T)\mid T] = \delta^*(T) since δ∗(T)\delta^*(T) is already TT-measurable. So

Eθ[δ(X)−δ∗(T)∣T]=δ∗(T)−δ∗(T)=0,E_\theta[\delta(X)-\delta^*(T)\mid T] = \delta^*(T) - \delta^*(T) = 0,

and therefore the entire cross term is 00. We are left with

Eθ[(δ(X)−c)2]=Eθ[(δ(X)−δ∗(T))2]+Eθ[(δ∗(T)−c)2].E_\theta[(\delta(X)-c)^2] = E_\theta\big[(\delta(X)-\delta^*(T))^2\big] + E_\theta\big[(\delta^*(T)-c)^2\big].

Rewriting,

MSEθ(δ)−MSEθ(δ∗)=Eθ[(δ(X)−δ∗(T))2]≥0,\mathrm{MSE}_\theta(\delta) - \mathrm{MSE}_\theta(\delta^*) = E_\theta\big[(\delta(X)-\delta^*(T))^2\big] \ge 0,

since the right side is an expectation of a nonnegative random variable. This proves MSEθ(δ∗)≤MSEθ(δ)\mathrm{MSE}_\theta(\delta^*) \le \mathrm{MSE}_\theta(\delta) for every θ\theta, establishing part 3. (Note: this decomposition is exactly the law of total variance applied to the "prediction error" δ(X)−c\delta(X)-c, using δ∗(T)\delta^*(T) as the conditional-mean predictor; it requires no sufficiency at all — sufficiency was needed only to make δ∗(T)\delta^*(T) a legitimate, θ\theta-free statistic.)

Step 4: Strictness. From Step 3,

MSEθ(δ)−MSEθ(δ∗)=Eθ[(δ(X)−δ∗(T))2].\mathrm{MSE}_\theta(\delta) - \mathrm{MSE}_\theta(\delta^*) = E_\theta\big[(\delta(X)-\delta^*(T))^2\big].

The right-hand side is the expectation of a nonnegative random variable Y:=(δ(X)−δ∗(T))2≥0Y := (\delta(X)-\delta^*(T))^2 \ge 0. A standard fact in measure theory states Eθ[Y]=0E_\theta[Y] = 0 if and only if Y=0Y = 0 almost surely under PθP_\theta (since Y≥0Y\ge0, if Pθ(Y>0)>0P_\theta(Y>0)>0 then Eθ[Y]≥ϵ Pθ(Y>ϵ)>0E_\theta[Y]\ge \epsilon\, P_\theta(Y>\epsilon) > 0 for a suitable small ϵ>0\epsilon>0, by Markov's inequality applied to the event {Y>ϵ}\{Y > \epsilon\}, contradicting Eθ[Y]=0E_\theta[Y]=0). Hence

MSEθ(δ)=MSEθ(δ∗)  ⟺  δ(X)=δ∗(T)  Pθ-a.s.\mathrm{MSE}_\theta(\delta) = \mathrm{MSE}_\theta(\delta^*) \iff \delta(X) = \delta^*(T) \ \ P_\theta\text{-a.s.}

Equivalently, if Pθ(δ(X)≠δ∗(T))>0P_\theta(\delta(X)\ne \delta^*(T))>0, then Eθ[Y]>0E_\theta[Y]>0 strictly, so MSEθ(δ∗)<MSEθ(δ)\mathrm{MSE}_\theta(\delta^*) < \mathrm{MSE}_\theta(\delta) strictly at that θ\theta. This completes the proof. ■\blacksquare

∎

Worked examples

Example 1: Bernoulli trials, a deliberately wasteful estimator. Let X1,…,XnX_1,\dots,X_n be i.i.d. Bernoulli(p)\mathrm{Bernoulli}(p), p∈(0,1)p\in(0,1), and suppose we want to estimate pp. By the Factorization Theorem, since the joint pmf is

fp(x)=p∑xi(1−p)n−∑xi=(p1−p)∑xi(1−p)n,f_p(x) = p^{\sum x_i}(1-p)^{n-\sum x_i} = \Big(\tfrac{p}{1-p}\Big)^{\sum x_i}(1-p)^n,

the statistic T=∑i=1nXiT = \sum_{i=1}^n X_i is sufficient for pp (the factorization holds with gp(t)=(p/(1−p))t(1−p)ng_p(t) = (p/(1-p))^t (1-p)^n and h(x)≡1h(x)\equiv 1). This matches Sufficiency and the Factorization Theorem. Take the deliberately crude, wasteful estimator δ(X)=X1\delta(X) = X_1 — using only the first observation. It is unbiased: Ep[X1]=pE_p[X_1] = p. Its MSE is

MSEp(δ)=Varp(X1)=p(1−p).\mathrm{MSE}_p(\delta) = \mathrm{Var}_p(X_1) = p(1-p).

Now compute the Rao–Blackwell estimator δ∗(T)=E[X1∣T]\delta^*(T) = E[X_1 \mid T] where T=∑iXiT=\sum_i X_i. By exchangeability of (X1,…,Xn)(X_1,\dots,X_n) (they are i.i.d.), conditional on T=tT=t each of the (nt)\binom{n}{t} arrangements of tt ones among nn slots is equally likely, so

E[X1∣T=t]=P(X1=1∣T=t)=tn.E[X_1 \mid T=t] = P(X_1 = 1 \mid T=t) = \frac{t}{n}.

(Formally: ∑i=1nE[Xi∣T]=E[T∣T]=T\sum_{i=1}^n E[X_i\mid T] = E[T\mid T] = T, and by symmetry each E[Xi∣T]E[X_i\mid T] is the same function of TT, so each equals T/nT/n.) Thus δ∗(T)=T/n=Xˉ\delta^*(T) = T/n = \bar X, the sample mean — the familiar MLE/moment estimator. Its MSE is

MSEp(Xˉ)=Varp(Xˉ)=p(1−p)n.\mathrm{MSE}_p(\bar X) = \mathrm{Var}_p(\bar X) = \frac{p(1-p)}{n}.

Indeed MSEp(Xˉ)=MSEp(δ)/n≤MSEp(δ)\mathrm{MSE}_p(\bar X) = \mathrm{MSE}_p(\delta)/n \le \mathrm{MSE}_p(\delta) for all n≥1n\ge 1, with strict inequality whenever n≥2n\ge 2 — exactly as guaranteed, since for n≥2n\ge 2, X1≠XˉX_1 \ne \bar X with positive probability under PpP_p (e.g. if X1=1,X2=0X_1=1,X_2=0). This is a clean numerical illustration: for n=4n=4, p=0.3p=0.3, MSE(δ)=0.21\mathrm{MSE}(\delta) = 0.21 while MSE(δ∗)=0.0525\mathrm{MSE}(\delta^*) = 0.0525, a fourfold reduction, matching MSE(δ)/n\mathrm{MSE}(\delta)/n.

Example 2: Poisson data, estimating a nonlinear functional τ(λ)=P(X1=0)=e−λ\tau(\lambda) = P(X_1 = 0) = e^{-\lambda}. Let X1,…,XnX_1,\dots,X_n be i.i.d. Poisson(λ)\mathrm{Poisson}(\lambda), λ>0\lambda>0. We want to estimate τ(λ)=e−λ=Pλ(X1=0)\tau(\lambda) = e^{-\lambda} = P_\lambda(X_1=0) — a genuinely nonlinear function of λ\lambda, chosen to show the theorem's reach beyond estimating λ\lambda itself. The joint pmf is fλ(x)=e−nλλ∑xi/∏ixi!f_\lambda(x) = e^{-n\lambda}\lambda^{\sum x_i} / \prod_i x_i!, which factors as a function of T=∑iXiT=\sum_i X_i times a λ\lambda-free term; hence T=∑iXi∼Poisson(nλ)T=\sum_i X_i \sim \mathrm{Poisson}(n\lambda) is sufficient. A simple, crude, unbiased estimator of τ(λ)=e−λ\tau(\lambda)=e^{-\lambda} is

δ(X)=1{X1=0},\delta(X) = \mathbf{1}\{X_1 = 0\},

since Eλ[1{X1=0}]=Pλ(X1=0)=e−λE_\lambda[\mathbf 1\{X_1=0\}] = P_\lambda(X_1=0) = e^{-\lambda}. Its MSE (it's an indicator, so variance is τ(1−τ)\tau(1-\tau)):

MSEλ(δ)=e−λ(1−e−λ).\mathrm{MSE}_\lambda(\delta) = e^{-\lambda}(1-e^{-\lambda}).

Rao–Blackwellize: δ∗(T)=E[1{X1=0}∣T=t]=P(X1=0∣T=t)\delta^*(T) = E[\mathbf 1\{X_1=0\} \mid T = t] = P(X_1 = 0 \mid T=t). Given T=tT=t, the conditional distribution of (X1,…,Xn)(X_1,\dots,X_n) given their sum is tt is multinomial: each unit of "count" is independently assigned to one of the nn observations with equal probability 1/n1/n (a standard fact for independent Poisson variables conditioned on their sum). Hence, conditionally, X1∣T=t∼Binomial(t,1/n)X_1 \mid T=t \sim \mathrm{Binomial}(t, 1/n), so

P(X1=0∣T=t)=(1−1n)t.P(X_1 = 0 \mid T = t) = \left(1 - \frac1n\right)^{t}.

Therefore the Rao–Blackwell estimator is

δ∗(T)=(1−1n)T,T=∑i=1nXi.\delta^*(T) = \left(1-\frac1n\right)^{T}, \qquad T = \sum_{i=1}^n X_i.

This is exactly the uniformly minimum variance unbiased estimator (UMVUE) of e−λe^{-\lambda} for the Poisson family — a fact usually derived via Lehmann–Scheffé, but here we obtain a genuinely improved unbiased estimator directly from Rao–Blackwellizing the crude indicator, with no need for completeness to see the improvement (only to see that it cannot be improved further).

Numerical check, n=5, λ=2n=5,\ \lambda = 2 (so τ(λ)=e−2≈0.1353\tau(\lambda) = e^{-2} \approx 0.1353):

  • MSEλ(δ)=e−2(1−e−2)≈0.1353×0.8647≈0.11702\mathrm{MSE}_\lambda(\delta) = e^{-2}(1-e^{-2}) \approx 0.1353 \times 0.8647 \approx 0.11702.
  • Eλ[δ∗(T)]=Eλ[(4/5)T]E_\lambda[\delta^*(T)] = E_\lambda[(4/5)^T]. Since T∼Poisson(nλ)=Poisson(10)T\sim \mathrm{Poisson}(n\lambda)=\mathrm{Poisson}(10), the probability generating function gives E[sT]=enλ(s−1)E[s^T] = e^{n\lambda(s-1)}; at s=4/5s=4/5: E[(4/5)T]=e10(4/5−1)=e−2≈0.1353E[(4/5)^T] = e^{10(4/5 - 1)} = e^{-2} \approx 0.1353 — confirming unbiasedness exactly, as the theorem guarantees.
  • To see the variance shrink numerically: Eλ[δ∗2]=E[(16/25)T]=e10(16/25−1)=e−3.6≈0.02732E_\lambda[\delta^{*2}] = E[(16/25)^T] = e^{10(16/25-1)} = e^{-3.6}\approx 0.02732, so Var(δ∗)=0.02732−(0.1353)2≈0.02732−0.01831=0.00901\mathrm{Var}(\delta^*) = 0.02732 - (0.1353)^2 \approx 0.02732 - 0.01831 = 0.00901.

So MSE(δ∗)≈0.00901≪MSE(δ)≈0.11702\mathrm{MSE}(\delta^*) \approx 0.00901 \ll \mathrm{MSE}(\delta)\approx 0.11702: roughly a thirteen-fold variance reduction, illustrating that Rao–Blackwellization can produce dramatic gains, not just marginal ones, especially when the naive estimator is very wasteful (using one data point out of five).

CounterexampleWhy sufficiency of TT cannot be dropped

The theorem's proof of Step 1 — that δ∗(T)=E[δ(X)∣T]\delta^*(T) = E[\delta(X)\mid T] is a genuine, θ\theta-free statistic — used sufficiency essentially. If TT is not sufficient, then Eθ[δ(X)∣T=t]E_\theta[\delta(X)\mid T=t] genuinely depends on θ\theta, and "conditioning on TT" no longer produces a computable estimator at all: it produces a different function of tt for each θ\theta, which is not a legitimate estimator since θ\theta is unknown. Concretely: let X1,X2X_1, X_2 be i.i.d. N(θ,1)N(\theta,1). The full sufficient statistic for θ\theta is T=X1+X2T = X_1+X_2 (or equivalently Xˉ\bar X). Instead, take the insufficient statistic T′=X1−X2T' = X_1 - X_2 — the difference. Note T′∼N(0,2)T'\sim N(0,2) regardless of θ\theta: it carries zero information about θ\theta, so it is about as far from sufficient as a statistic can be while still being a nontrivial function of the data. Let δ(X)=X1\delta(X) = X_1, an unbiased estimator of θ\theta with MSEθ(δ)=1\mathrm{MSE}_\theta(\delta)=1 for all θ\theta. Attempt to "Rao–Blackwellize" using T′T':

Eθ[X1∣X1−X2=d].E_\theta[X_1 \mid X_1 - X_2 = d].

Since (X1,X2)(X_1,X_2) are jointly Gaussian with X1=12(X1+X2)+12(X1−X2)X_1 = \tfrac{1}{2}(X_1+X_2) + \tfrac12 (X_1-X_2), and X1+X2⊥X1−X2X_1+X_2 \perp X_1-X_2 (standard fact: sum and difference of i.i.d. Gaussians are independent), we get

Eθ[X1∣X1−X2=d]=12Eθ[X1+X2]+12d=12(2θ)+12d=θ+d2.E_\theta[X_1 \mid X_1-X_2=d] = \tfrac12 E_\theta[X_1+X_2] + \tfrac12 d = \tfrac12(2\theta) + \tfrac12 d = \theta + \tfrac{d}{2}.

This depends explicitly on the unknown θ\theta — it is not a statistic at all, since we cannot compute it without knowing θ\theta. The entire construction collapses: there is no well-defined "δ∗(T′)\delta^*(T')" to compare in MSE, because it isn't an estimator. This is exactly what sufficiency was designed to prevent (Step 1 of the proof): only when the conditional law of XX given TT is free of θ\theta does conditioning produce a legitimate, computable, improved estimator. Dropping sufficiency does not merely weaken the conclusion — it destroys the construction's meaning entirely.

Scope, edge cases & common traps

SituationWhat happens
TT sufficient, δ\delta already a function of TTδ∗=δ\delta^* = \delta a.s.; no improvement (theorem's equality case)
TT sufficient, δ\delta not a function of TTStrict MSE improvement at every θ\theta where δ≠δ∗\delta \ne \delta^* with positive probability
TT not sufficientE[δ(X)∣T]E[\delta(X)\mid T] depends on θ\theta; not a statistic; theorem inapplicable
δ\delta biasedδ∗\delta^* has exactly the same bias function as δ\delta; MSE inequality still holds (proof never assumed unbiasedness)
Eθ[δ(X)2]=∞E_\theta[\delta(X)^2] = \infty for some θ\thetaTower property / conditional Jensen step breaks down; need to restrict attention to those θ\theta or verify integrability first
TT minimal sufficient vs. merely sufficientTheorem holds for any sufficient TT; using a non-minimal sufficient statistic still yields improvement, but typically less than using the minimal one

The mathematician behind it

Origins · 1 minCalyampudi Radhakrishna Rao and how this was discovered
CR
Calyampudi Radhakrishna Rao
1920–2023 · Indian Institute of Statistics, Cambridge, University of Illinois and Penn State

C. R. Rao proved the estimator-improvement inequality in 1945, in the same landmark paper that introduced the Cramér–Rao inequality, while working at the Indian Statistical Institute under P. C. Mahalanobis. David Blackwell independently proved essentially the same variance-reduction fact in 1947 in the context of sequential analysis and decision theory, unaware of Rao's earlier work; the combined result is now universally known by both names. Rao went on to found much of modern estimation theory — Cramér–Rao bounds, Rao distances, orthogonal arrays — and remained mathematically active into his nineties, receiving the U.S. National Medal of Science in 2002.

History
- 1945 — C. R. Rao proves the variance-improvement inequality for sufficient statistics in the same paper introducing the information bound now called the Cramer-Rao Lower Bound.
- 1946 — Harald Cramér independently derives the analogous information-bound inequality in Sweden, cementing the joint attribution "Cramér–Rao."
- 1947 — David Blackwell independently rediscovers the conditioning-reduces-variance result in a decision-theoretic and sequential-analysis context, unaware of Rao's paper.
- 1950s — Erich Lehmann and Henry Scheffé add completeness to the picture, proving that Rao–Blackwellization against a complete sufficient statistic yields the essentially unique minimum-variance unbiased estimator.
- 1990s–2000s — "Rao–Blackwellization" becomes a standard algorithmic technique in Monte Carlo and particle-filtering methods in statistics and machine learning.
Does Rao–Blackwellization always require the original estimator to be unbiased?

No. The proof never uses unbiasedness of δ(X)\delta(X); it only uses finiteness of the second moment. The theorem shows that δ∗(T)=E[δ(X)∣T]\delta^*(T) = E[\delta(X)\mid T] has exactly the same bias function as δ(X)\delta(X) (Step 2 of the proof), and its MSE is never larger, for every θ\theta, whether or not δ\delta is unbiased. Unbiasedness is usually assumed in textbook statements because the classical goal is to find the best unbiased estimator, and Rao–Blackwellizing an unbiased estimator keeps you within the unbiased class while improving MSE (which then coincides with variance). But the inequality itself is a general MSE-reduction fact, valid for biased estimators too.

Can Rao–Blackwellization make a bad estimator perfect?

No — it can only improve MSE relative to the starting estimator, not achieve some absolute optimum. If δ(X)\delta(X) is a poor estimator, δ∗(T)\delta^*(T) will typically still be an improvement, but there is no guarantee it approaches the best possible unbiased estimator unless TT is complete, in which case Lehmann–Scheffé shows δ∗\delta^* is the unique minimum-variance unbiased estimator regardless of which unbiased δ\delta you started from. Without completeness, different starting estimators can Rao–Blackwellize to different final answers, and none is guaranteed globally optimal.

What if the sufficient statistic TT is not "minimal" — does the theorem still work?

Yes. The theorem holds for any sufficient statistic, minimal or not, because the entire proof only uses that the conditional law of XX given TT is free of θ\theta. Using a non-minimal sufficient statistic (e.g. the whole data vector XX itself is trivially sufficient) is degenerate: conditioning on all of XX gives back δ(X)\delta(X) itself, no improvement. In general, conditioning on a coarser sufficient statistic (closer to minimal) tends to produce a bigger variance reduction, because there is more "irrelevant noise" left to average out, though this is not something the basic theorem itself quantifies — it is a heuristic borne out by the tower-property structure of nested conditioning.

Is Rao–Blackwellization the same as taking the posterior mean in Bayesian statistics?

They are related but not identical. Rao–Blackwellization conditions on a sufficient statistic under the sampling distribution PθP_\theta, holding θ\theta fixed, and the resulting estimator δ∗(T)\delta^*(T) has no unknown parameters in its formula because sufficiency makes E[δ(X)∣T]E[\delta(X)\mid T] parameter-free. The Bayesian posterior mean instead conditions on the observed data given a prior on θ\theta, and averages over θ\theta itself. Both are instances of "conditioning to reduce variance / achieve optimality," and in fact the posterior mean also solves a minimum-MSE problem (as the Bayes estimator under squared-error loss), but the underlying conditioning structures — conditioning on a statistic of the data vs. conditioning to integrate out the parameter — are distinct constructions.

Why is the cross term in the proof exactly zero, intuitively?

Because δ∗(T)\delta^*(T) is precisely the "best TT-measurable predictor" of δ(X)\delta(X) in mean-square, the residual δ(X)−δ∗(T)\delta(X) - \delta^*(T) is, in a precise sense, "orthogonal" to any function of TT — this is the orthogonal projection property of conditional expectation in the Hilbert space L2(Pθ)L^2(P_\theta). Concretely, Eθ[(δ(X)−δ∗(T))∣T]=0E_\theta[(\delta(X)-\delta^*(T)) \mid T] = 0 says the residual has conditional mean zero given TT, so multiplying by any TT-measurable quantity and taking expectation still gives zero, by the tower property. This is the same geometric fact that underlies least-squares regression: residuals are uncorrelated with (indeed, conditionally mean-zero given) the predictors used to form the fit.

Does Rao–Blackwellization work for vector-valued or multivariate parameters τ(θ)∈Rk\tau(\theta) \in \mathbb R^k?

Yes, componentwise. Apply the theorem to each coordinate τj(θ)\tau_j(\theta) and each corresponding component δj(X)\delta_j(X) separately; each component's MSE is improved (or unchanged) by the same argument. For a vector estimator one often tracks the covariance matrix rather than scalar MSE, and Rao–Blackwellization reduces the covariance matrix in the Loewner (positive semi-definite) order: Covθ(δ(X))−Covθ(δ∗(T))\mathrm{Cov}_\theta(\delta(X)) - \mathrm{Cov}_\theta(\delta^*(T)) is positive semi-definite, which follows from applying the scalar theorem to every linear combination a⊤δ(X)a^\top \delta(X), a∈Rka \in \mathbb R^k.

How does Rao–Blackwell foreshadow the Cramér–Rao bound?

Both results address "how good can an unbiased estimator be," but from opposite directions. Rao–Blackwell gives a constructive improvement: starting from any unbiased estimator, it manufactures one that is at least as good, using only the structure of sufficiency. The Cramer-Rao Lower Bound instead gives a universal floor: no unbiased estimator, however cleverly constructed, can have variance below 1/In(θ)1/I_n(\theta), the reciprocal Fisher information. Used together, they bracket the problem: Rao–Blackwellization pushes candidate estimators toward the good end, while the Cramér–Rao bound tells you when you cannot push any further, and (in regular exponential families) both bounds are often attained by the same complete sufficient statistic.

Before this

Where this leads