Wize Probability Theory Textbook > Joint and Multivariate Distributions

Conditional Expectations and Conditional Variances

Conditional Means and the Two Sources of Variance

Conditional expectation is an average after restricting attention to information supplied by another variable. As that conditioning variable changes, E[Y|X] can itself change, so it is a random function of X. The law of total expectation averages those conditional means using the distribution of X.


The law of total variance separates uncertainty into two nonnegative sources: expected conditional variance is the average variation remaining within conditions, and variance of the conditional expectation is variation among conditional means. Their sum is the unconditional variance. This decomposition is bookkeeping for probability, not proof that X causes Y.


Keep condition probabilities attached throughout calculations. An unweighted average of conditional means or variances silently changes the distribution. A quick reasonableness check is that an unconditional mean lies within the range of conditional means and that total variance is at least as large as either nonnegative component.

A random variable Y has conditional mean 10 when X is in group A and 16 when X is in group B. The probabilities of groups A and B are 0.25 and 0.75. What is E[Y]?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Two groups are equally likely. Within-group variances of Y are 4 and 9, and conditional means are 3 and 7. What is Var(Y)?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Which statement correctly interprets Var(E[Y|X]) in the law of total variance?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors