Overview

Conditional expectation turns partial information into a prediction. Unlike ordinary expectation, which is a number, it is generally a random variable: different observed information can produce different predictions. Its defining requirement is preservation of averages over every event that the information can distinguish.

This formulation handles discrete observations, continuous observations, and information that is not conveniently represented by one numerical measurement. In particular, it does not require dividing by the probability of an individual observed value.

Prerequisites

Work on a probability space (Ω,F,P)(\Omega,\mathcal F,P) with an integrable real random variable XX, meaning E∣X∣<∞E|X|<\infty. A sub-sigma-algebra G⊆F\mathcal G\subseteq\mathcal F represents available information. Measurability with respect to G\mathcal G means an observation can be determined using that information.

Finite partitions provide the first examples. Lebesgue integration and the Radon–Nikodym theorem explain existence in general.

Definition and conventions

A conditional expectation Y=E[X∣G]Y=E[X\mid\mathcal G] is an integrable, G\mathcal G-measurable random variable such that

∫AY dP=∫AX dP(A∈G).\int_A Y\,dP=\int_A X\,dP\qquad(A\in\mathcal G).

It exists and is unique up to almost-sure equality. Choosing one representative is choosing a version; values on null sets are not determined by these identities.

If G\mathcal G is generated by a finite partition (Aj)(A_j), then on each positive-probability cell,

E[X∣G]=E[X1Aj]P(Aj).E[X\mid\mathcal G]=\frac{E[X1_{A_j}]}{P(A_j)}.

Choose any constant value on each null partition cell, preserving G\mathcal G-measurability. The notation E[X∣Z]E[X\mid Z] abbreviates E[X∣σ(Z)]E[X\mid\sigma(Z)]. A pointwise expression E[X∣Z=z]E[X\mid Z=z] requires a suitable version and is not defined by the elementary event ratio when P(Z=z)=0P(Z=z)=0.

Intuition

Imagine hiding the precise outcome while revealing only its partition cell. All outcomes in that cell must receive the same prediction. The integral identity chooses the cell's average, so the prediction has no systematic error on any observable event.

For X∈L2X\in L^2, this becomes an exact least-squares statement: E[X∣G]E[X\mid\mathcal G] minimizes E[(X−Z)2]E[(X-Z)^2] over G\mathcal G-measurable Z∈L2Z\in L^2. The second-moment assumption belongs to this interpretation, not to the basic definition.

Examples and non-examples

Let XX be a fair die result, and reveal whether X≤3X\le3. The conditional expectation is 22 on {1,2,3}\{1,2,3\} and 55 on {4,5,6}\{4,5,6\}. On the first cell its integral is 2(1/2)=12(1/2)=1, agreeing with (1+2+3)/6(1+2+3)/6.

The constant 7/27/2 has the correct overall expectation but fails the first-cell test: its integral there is 7/47/4, not 11. Matching a global average is insufficient.

If G\mathcal G is trivial, the answer is the constant E[X]E[X]. If XX is already G\mathcal G-measurable, the answer is XX itself. Independence of XX and G\mathcal G gives the first conclusion even when G\mathcal G contains substantial information about other variables.

Important properties

Conditional expectation is linear and preserves positivity and total expectation. If H⊆G\mathcal H\subseteq\mathcal G, the tower property states

E[E[X∣G]∣H]=E[X∣H].E[E[X\mid\mathcal G]\mid\mathcal H]=E[X\mid\mathcal H].

Nestedness matters: unrelated information sets cannot simply be substituted. For bounded G\mathcal G-measurable ZZ, one may pull out the known factor: E[ZX∣G]=ZE[X∣G]E[ZX\mid\mathcal G]=Z E[X\mid\mathcal G].

Proof idea: verify measurability and the defining integral identities, then invoke uniqueness. Existence instead comes from applying Radon–Nikodym to A↦∫AX dPA\mapsto\int_A X\,dP on G\mathcal G. In the square-integrable case, orthogonality of the residual to observable variables proves the least-squares claim.

Connections and further reading

Successive information sets produce martingales through E[X∣Fn]E[X\mid\mathcal F_n]. For square-integrable XX, total variance separates remaining uncertainty from variation of the prediction. See Lawler, §6.1 for the integral characterization and Li, Definition 1.19 and Proposition 1.6 for the Chinese usage and variance decomposition.