Skip to content

Conditional Variance Given an Event

Definition

Let XX be a random variable and let BB be an event with P(B)>0\mathbb{P}(B)>0. The conditional variance of XX given BB is

Var⁡(X∣B)=E[(X−E[X∣B])2∣B],\operatorname{Var}(X\mid B)=\mathbb{E}[(X-\mathbb{E}[X\mid B])^2\mid B],

provided the conditional expectations exist.


Interpretation

Conditional variance measures how much uncertainty about XX remains once the event BB is known to have occurred. It is the variance of XX computed with the conditional probabilities given BB, around the conditional mean E[X∣B]\mathbb{E}[X\mid B].

Conditional probability bars given X at least 3, at 3 and 4, with arrows showing their deviations minus 4/7 and plus 3/7 from the conditional mean 25/7.

In the figure XX takes the values 1,2,3,41,2,3,4 with probabilities 0.1,0.2,0.3,0.40.1,0.2,0.3,0.4, and B={X≥3}B=\{X\ge3\} leaves the values 33 and 44 with conditional probabilities 3/73/7 and 4/74/7 and conditional mean 25/725/7. The arrows show the deviations 3−257=−473-\tfrac{25}{7}=-\tfrac{4}{7} and 4−257=374-\tfrac{25}{7}=\tfrac{3}{7}; squaring them and weighting with the conditional probabilities gives

Var⁡(X∣B)=37(47)2+47(37)2=1249≈0.24.\operatorname{Var}(X\mid B)=\frac{3}{7}\Big(\frac{4}{7}\Big)^2+\frac{4}{7}\Big(\frac{3}{7}\Big)^2=\frac{12}{49}\approx0.24.

This is much smaller than Var⁡(X)=1\operatorname{Var}(X)=1, because only two neighbouring values remain.

Conditioning on BB gives a new probability model, so every rule for variance holds after conditioning. In particular Var⁡(X∣B)=E[X2∣B]−(E[X∣B])2\operatorname{Var}(X\mid B)=\mathbb{E}[X^2\mid B]-(\mathbb{E}[X\mid B])^2; here E[X2∣B]=9⋅37+16⋅47=13\mathbb{E}[X^2\mid B]=9\cdot\tfrac{3}{7}+16\cdot\tfrac{4}{7}=13 and 13−62549=124913-\tfrac{625}{49}=\tfrac{12}{49}. The centre must be the conditional mean: centring at E[X]=3\mathbb{E}[X]=3 instead would give 37⋅0+47⋅1=47\tfrac{3}{7}\cdot0+\tfrac{4}{7}\cdot1=\tfrac{4}{7}, which is not the conditional variance.

Conditioning does not always reduce spread. Given {X=1}∪{X=4}\{X=1\}\cup\{X=4\}, the two remaining values lie far apart, and the conditional variance is 1.441.44, larger than Var⁡(X)=1\operatorname{Var}(X)=1. Averaged over the events of a partition, however, conditional variances never exceed Var⁡(X)\operatorname{Var}(X); this returns later in the law of total variance.


Key Results

  • Conditional variance measures spread after conditioning on information.
  • The law of total variance decomposes total variability into within-condition and between-condition parts.
  • Conditional variance is zero when the condition determines the random variable exactly.

Examples

  • Delivery time may have smaller variance after conditioning on the shipping method.
  • Exam score variability may differ between students who studied and students who did not.
  • In a mixture distribution, each component can have its own conditional variance.

Prerequisites

Sources

Keywords: variance given information, conditional Var, Conditional Variance Symbols: union

Last updated: 20 October 2026 03:02