Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

Lesson 8 of 22

Improve an estimator by conditioning

Derive risk reduction and show where sufficiency enters.

Loading your saved responses…

Try the optional starting-point checks and targeted refreshers. You can continue directly into this lesson.

Try

To estimate a Bernoulli success probability p from n iid trials, one learner reports just the first outcome U=X₁. This is unbiased but discards most data. Another learner is told the total S and averages the possible first outcomes among all records with that total. Exchangeability gives E[X₁|S]=S/n. The resulting estimator is the sample proportion. Conditioning has converted an inefficient unbiased estimate into a more stable one without changing its expectation.

Predict

Predict when the improvement is strict. For n>1 and 0<p<1, the first outcome still varies among records with many possible totals, so conditional variance remains positive on events of positive probability. At p=0 or p=1 all observations are fixed, and both estimators already have zero variance. “Improves variance” means never increases it, with strict reduction under an additional nondegeneracy condition. It does not mean every single observed estimate is closer to the true parameter.

Experiment

Use n=3 and condition on S=2. All compatible arrangements are equally likely. Calculate the conditional mean and conditional variance of X₁ directly.

Compatible recordX₁Conditional weight
11011/3
10111/3
01101/3

The mean is 2/3 and the variance is 2/9. Across the unconditioned experiment, Var(X₁)=p(1−p), whereas Var(S/3)=p(1−p)/3. The variance reduction is 2p(1−p)/3. Explain why the conditional variance 2/9 for this particular total is not the same object as its expectation across all totals.

Understand

Let U have a finite second moment and let V=E[U|T]. Write U−g(θ)=(U−V)+(V−g(θ)). The cross term has expectation zero because E[U−V|T]=0 and V−g(θ) is a function of T. Therefore E[(U−g(θ))²]=E[(V−g(θ))²]+E[Var(U|T)]. This proves squared-risk reduction even before unbiasedness is assumed. If U is unbiased for g(θ), the tower property gives EV=EU=g(θ), so variance also cannot increase.

Why require a sufficient statistic? Conditional expectation under a fixed parameter can depend on that unknown parameter, leaving an unusable “estimator.” Sufficiency supplies a parameter-free conditional law, allowing a common function V(T) to be computed. The variance identity holds for any conditioning variable, but its implementation as a statistic across the model family needs this extra point. In the Bernoulli example, the conditional average S/n is visibly independent of p.

Apply

For n≥2 Bernoulli trials, start from U=X₁X₂, an unbiased estimate of p². Given S=s, count ordered pairs of distinct successful positions: there are s(s−1) out of n(n−1) ordered pairs. Thus the Rao–Blackwell estimate is S(S−1)/(n(n−1)). Derive this by counting rather than guessing the square of the sample proportion. The naive square S²/n² has a different expectation because it includes diagonal terms Xᵢ²=Xᵢ.

The same conditional-averaging idea extends to convex losses through conditional Jensen, assuming the relevant expectations exist. Strictness then depends on the convexity and conditional distribution. Do not generalize the squared-loss equality condition to arbitrary losses without checking their structure.

Continue

Write the proof in three parts: the improved rule is a parameter-free statistic, it preserves the target expectation, and it reduces the chosen risk. Omitting the first part can hide an unknown parameter inside a formally attractive formula. Continue to Completeness and UMVU to determine when all unbiased functions of a sufficient statistic must coincide. That uniqueness step will turn improvement into an optimality theorem within a precisely defined class.

Apply · explain · revise

Practice and reasoning

Drafts save locally as you type. Reveal worked solutions when useful; the site remembers that exposure. Automatic matches check the requested answer, while written arguments require review against the rubric.

For five Bernoulli observations with total 3, what is E[X₁|total]?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

At p=1/2,n=4, by how much does conditioning X₁ on the total reduce variance?

Integers, fractions and finite decimals are accepted. Expressions such as sqrt(2) are not parsed by this checker.

Prove E[(U−θ)²]−E[(E[U|T]−θ)²]=E[Var(U|T)] for square-integrable U.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Explain why conditioning on a sufficient statistic makes Rao–Blackwell improvement usable without knowing θ.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

If U is unbiased for g(θ), prove its Rao–Blackwell improvement is also unbiased.

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

When is the squared-loss improvement strict at a fixed θ?

Structure your argument and preserve revisions

These optional planning fields save locally. Recording your response saves an immutable copy of the argument and these fields. Older records may contain only first/latest responses; missing intermediate revisions are not reconstructed.

Each field allows 2,000 characters. Keep a specific claim, state where it applies, cite the facts you use, and explain what still needs checking. Blank fields are allowed and are not evidence of mastery.

Reflect and continue

Before marking this lesson complete, explain one key idea without the worked solution and identify a condition that matters. Marking complete records participation, not independent mastery.