4.9.13 · D5Probability Theory & Statistics

Question bank — Conditional expectation

1,225 words6 min readBack to topic

Two objects you must keep apart at all times:

  • — a number, one per fixed value .
  • — a random variable, the function evaluated at the random .

True or false — justify

is always a single number.
False — it is a random variable . Only after you fix does it collapse to the number .
requires and to be independent.
False — the Tower Rule holds for any (with finite mean). Independence is never needed to average the conditional averages back to the whole.
If then .
True — knowing tells you nothing new about , so your updated guess equals the prior guess , a constant. See Conditional probability.
implies and are independent.
False — it only says carries no linear/mean information about . Independence is stronger; e.g. could still change the variance of .
for any function .
True — once is known, is a fixed constant, and the expectation of a constant is itself.
always.
False — pulling out gives . You may only replace by when .
The Tower Rule is a plain average of the conditional means .
False — it is a weighted average, weighted by . Bigger groups count more; equal weighting only coincides when all are equally likely.
can take values outside the range of .
False — each is an average of possible values, so it stays within the min–max range of .
.
True — conditioning averages away part of the fluctuation, so the "explained" variance can't exceed the total. This is Conditional variance and Eve's law.
If (a constant), then .
True — apply the Tower: , so the constant must be the unconditional mean.

Spot the error

"."
Missing the divide by — you must use the conditional distribution , not the joint.
"By the Tower, for the values of ."
Wrong weights — the correct sum is . Averaging with silently assumes every is equally likely.
"."
The second term should be , not . Conditional expectation is linear while keeping the same conditioning — you can't drop from one term.
"Since is random, is also random."
The outer averages over , producing the constant . Applying turns the random variable into a fixed number.
"."
False in general — this is Jensen's inequality territory; with a gap equal to the conditional variance .
"For , we have ."
The mean of is , so — a random variable, not the constant . Only after taking do we get .
" and are different things."
They are the same object — the conditional probability of an event is the conditional expectation of its indicator . See Law of total probability.

Why questions

Why is defined as a function of rather than just a table of numbers?
Packaging every answer " for all " into one function lets us feed the random back in, so we can take its expectation, variance, and use it inside Martingales.
Why does the inner marginalising sum collapse to ?
Summing the joint over all values of accounts for every way can happen, which is exactly the marginal . See Joint and marginal distributions.
Why can we "take out what is known" — ?
Conditioning on treats as fixed, so becomes a constant multiplier, and constants factor out of any expectation by Expectation and its linearity.
Why must the tower weight by and not treat all groups equally?
Because more probable contribute more sample mass to ; ignoring the weights would over-count rare groups and distort the overall mean.
Why is the Tower Rule "split then recombine can't change the mean" true intuitively?
Averaging within each group and then blending by group size re-touches every original outcome exactly once with its true weight, so it must reproduce the global average.
Why does Wald's identity rely on conditional expectation?
It conditions the sum on the random count , computes , then applies the Tower — see Wald's identity.
Why is ?
Once is the very thing you condition on, it is fully known, so the best guess for is itself with no averaging left to do.

Edge cases

What is if ?
Undefined by the ratio formula — you cannot condition on a probability-zero event in the discrete definition; the continuous case handles this via densities instead.
What does equal when is a constant (degenerate, no information)?
It equals — conditioning on something that never varies gives you no new information, so the guess stays at the prior mean.
If has no finite mean (e.g. Cauchy), is defined?
No — conditional expectation inherits the finite-mean requirement; without a well-defined the averages don't exist.
What is when (perfect information)?
It is itself — knowing pins down exactly, leaving nothing to average over.
For continuous , what replaces , which is ?
The conditional density , and .
If takes only one possible value with probability 1, what is ?
Zero — is then the constant , and constants have no variance, matching the intuition that explained nothing.
What happens to the tower when is a constant ?
for every , and — the rule holds trivially, since no group's average can differ from .

Connections