Tutorials › Probability Theory (Graduate) › Conditional Expectation as an L1 Contraction

Conditional Expectation · Tutorial 240 of 946

Conditional Expectation as an L1 Contraction

Learn why conditional expectation is an L1 contraction and how this fact bounds errors and differences between conditional averages.

Intermediate 9 min read

What You'll Learn

  • Define the L1 norm of an integrable random variable and state the contraction inequality for conditional expectation.
  • Prove the conditional absolute-value bound that yields the L1 contraction.
  • Bound the difference between conditional expectations of two random variables.
  • Use L1 distance to control errors in approximating conditional expectations.
  • Compare conditional averages associated with nested or unrelated sigma-algebras.

Why an L1 Contraction Matters

Conditional expectation replaces a random variable by an average that retains only the information represented by a sigma-algebra. Averaging can smooth out variation, but it cannot increase the average absolute size of a random variable. The precise statement is an inequality in the \(L^1\) norm.

This inequality is useful whenever a random variable is approximated by another one. If the approximation error is small on average, then conditioning both variables on the same information cannot make their average error larger. It also gives a way to compare conditional averages at different levels of information.

The \(L^1\) Norm and Conditional Expectation

A real-valued random variable \(X\) is integrable if \(\mathbb{E}[|X|]<\infty\). Its \(L^1\) norm is

$$ \|X\|_1=\mathbb{E}[|X|]. $$

As usual, random variables that are equal almost surely represent the same element of \(L^1\), and the norm is understood on these equivalence classes. For a sigma-algebra \(\mathcal{G}\), the conditional expectation \(\mathbb{E}[X\mid\mathcal{G}]\) is an integrable, \(\mathcal{G}\)-measurable random variable whose integral over each event in \(\mathcal{G}\) agrees with the integral of \(X\): for every \(A\in\mathcal{G}\),

$$ \mathbb{E}\!\left[\mathbf{1}_A\mathbb{E}[X\mid\mathcal{G}]\right] = \mathbb{E}[\mathbf{1}_A X]. $$

Conditional expectations are determined only up to almost-sure equality. All norm statements below are therefore independent of the chosen version.

Definition: The \(L^1\) contraction inequality for conditional expectation is
$$ \|\mathbb{E}[X\mid\mathcal{G}]\|_1\leq \|X\|_1 $$
for every integrable \(X\) and every sigma-algebra \(\mathcal{G}\).

The key point behind this inequality is that the absolute value of a conditional average is bounded by the conditional average of the absolute value. We establish that fact first.

Lemma: If \(X\) is integrable and \(\mathcal{G}\) is a sigma-algebra, then
$$ \left|\mathbb{E}[X\mid\mathcal{G}]\right| \leq \mathbb{E}[|X|\mid\mathcal{G}] \quad\text{almost surely.} $$
Proof. Put \(Z=\mathbb{E}[X\mid\mathcal{G}]\), and define \(\operatorname{sgn}(Z)\) to be \(1\) where \(Z>0\), \(-1\) where \(Z<0\), and \(0\) where \(Z=0\). This is a bounded, \(\mathcal{G}\)-measurable random variable. The pull-out property gives
$$ \mathbb{E}[\operatorname{sgn}(Z)X\mid\mathcal{G}] = \operatorname{sgn}(Z)\mathbb{E}[X\mid\mathcal{G}] = |Z|. $$
Since \(|X|-\operatorname{sgn}(Z)X\geq 0\) pointwise, positivity of conditional expectation gives
$$ \mathbb{E}[|X|\mid\mathcal{G}] - \mathbb{E}[\operatorname{sgn}(Z)X\mid\mathcal{G}] \geq 0 \quad\text{almost surely.} $$
Substituting the displayed identity proves the claimed inequality.
$$ \square $$

The \(L^1\) Contraction Theorem

Theorem: For every integrable real-valued random variable \(X\) and every sigma-algebra \(\mathcal{G}\),
$$ \mathbb{E}\!\left[\left|\mathbb{E}[X\mid\mathcal{G}]\right|\right] \leq \mathbb{E}[|X|]. $$
Proof. Apply the lemma and take expectations. The defining integral identity for conditional expectation, applied to the whole space, gives \(\mathbb{E}[\mathbb{E}[|X|\mid\mathcal{G}]]=\mathbb{E}[|X|]\). Therefore
$$ \mathbb{E}\!\left[\left|\mathbb{E}[X\mid\mathcal{G}]\right|\right] \leq \mathbb{E}\!\left[\mathbb{E}[|X|\mid\mathcal{G}]\right] = \mathbb{E}[|X|]. $$
This is exactly the asserted \(L^1\) contraction.
$$ \square $$

The theorem says that conditional expectation, viewed as a map on \(L^1\), has operator norm at most one. In particular, it is continuous in the \(L^1\) norm. The same inequality applies to differences: linearity of conditional expectation gives the following consequence.

Corollary: If \(X\) and \(Y\) are integrable, then
$$ \|\mathbb{E}[X\mid\mathcal{G}]-\mathbb{E}[Y\mid\mathcal{G}]\|_1 \leq \|X-Y\|_1. $$
Proof. By linearity, the difference on the left is \(\mathbb{E}[X-Y\mid\mathcal{G}]\). Apply the contraction theorem to the integrable random variable \(X-Y\).
$$ \square $$

Worked Examples

Worked Example: Averaging on a Finite Partition

Let \(\Omega=\{1,2,3,4\}\), with probability \(1/4\) at each point. Let \(\mathcal{G}\) be the sigma-algebra generated by the partition \(\{\{1,2\},\{3,4\}\}\), and let \(X\) take the values \(-2,2,1,5\) at the four points.

On each cell of the partition, the conditional expectation is the average of \(X\) on that cell. Thus \(\mathbb{E}[X\mid\mathcal{G}]\) takes value \((-2+2)/2=0\) on \(\{1,2\}\), and value \((1+5)/2=3\) on \(\{3,4\}\). Its norm is

$$ \|\mathbb{E}[X\mid\mathcal{G}]\|_1 = \frac{1}{4}(0+0+3+3) = \frac{3}{2}. $$

Meanwhile, \(\|X\|_1=(2+2+1+5)/4=5/2\). Hence \(3/2\leq 5/2\), as the contraction theorem requires. The first cell illustrates how averaging can reduce absolute size: opposite signs cancel in the conditional average, although both values contribute positively to the average of \(|X|\).

Worked Example: Controlling an Approximation Error

Use the same four-point probability space and the same sigma-algebra \(\mathcal{G}\). Let \(X=(2,0,4,2)\) and \(Y=(0,0,2,2)\), where each tuple lists the values at points \(1,2,3,4\), respectively.

On the two partition cells, the conditional averages are \(\mathbb{E}[X\mid\mathcal{G}]=(1,1,3,3)\) and \(\mathbb{E}[Y\mid\mathcal{G}]=(0,0,2,2)\). Their difference has absolute value \(1\) at every point, so

$$ \|\mathbb{E}[X\mid\mathcal{G}]-\mathbb{E}[Y\mid\mathcal{G}]\|_1=1. $$

The original difference is \(X-Y=(2,0,2,0)\), and therefore \(\|X-Y\|_1=(2+0+2+0)/4=1\). The inequality holds with equality. In general, the corollary ensures that replacing \(X\) by an approximation \(Y\) with small \(L^1\) error also approximates their conditional expectations in \(L^1\), with no larger error.

Comparing Conditional Averages

The difference inequality compares conditional averages formed using the same sigma-algebra. There is also a useful comparison when one sigma-algebra contains another. If \(\mathcal{G}\subseteq\mathcal{H}\), then \(\mathcal{G}\) represents less information than \(\mathcal{H}\). The tower property says that conditioning an \(\mathcal{H}\)-conditional expectation again on \(\mathcal{G}\) gives the \(\mathcal{G}\)-conditional expectation.

Theorem: Let \(X\) be integrable and let \(\mathcal{G}\subseteq\mathcal{H}\). Then
$$ \|\mathbb{E}[X\mid\mathcal{H}]-\mathbb{E}[X\mid\mathcal{G}]\|_1 \leq \|X-\mathbb{E}[X\mid\mathcal{H}]\|_1. $$
Proof. The tower property gives \(\mathbb{E}[\mathbb{E}[X\mid\mathcal{H}]\mid\mathcal{G}]=\mathbb{E}[X\mid\mathcal{G}]\). By linearity,
$$ \mathbb{E}[X\mid\mathcal{G}]-\mathbb{E}[X\mid\mathcal{H}] = \mathbb{E}[X-\mathbb{E}[X\mid\mathcal{H}]\mid\mathcal{G}]. $$
The contraction theorem, applied to the integrable variable \(X-\mathbb{E}[X\mid\mathcal{H}]\), bounds the \(L^1\) norm of the right-hand side by the \(L^1\) norm of that variable. Taking absolute values does not change a norm, so this is the stated inequality.
$$ \square $$

Worked Example: Comparing Two Levels of Information

Let \(\Omega=\{1,2,3,4\}\) again have equal point probabilities. Let \(\mathcal{H}\) be generated by \(\{\{1,2\},\{3,4\}\}\), and let \(\mathcal{G}=\{\varnothing,\Omega\}\), so \(\mathcal{G}\subseteq\mathcal{H}\). Take \(X=(-1,3,2,6)\).

The \(\mathcal{G}\)-conditional expectation is the constant overall mean, \(\mathbb{E}[X\mid\mathcal{G}]=(-1+3+2+6)/4=5/2\). The \(\mathcal{H}\)-conditional expectation is \(1\) on \(\{1,2\}\) and \(4\) on \(\{3,4\}\), since the cell averages are \((-1+3)/2=1\) and \((2+6)/2=4\). Thus

$$ \|\mathbb{E}[X\mid\mathcal{H}]-\mathbb{E}[X\mid\mathcal{G}]\|_1 = \frac{1}{4}\left(\frac{3}{2}+\frac{3}{2}+\frac{3}{2}+\frac{3}{2}\right) = \frac{3}{2}. $$

The residual from the finer conditional average is \((-2,2,-2,2)\), so its \(L^1\) norm is \(2\). The comparison theorem gives \(3/2\leq 2\), as verified directly.

For sigma-algebras that are not nested, the same one-sided comparison need not apply. A general bound follows from the triangle inequality: for integrable \(X\) and sigma-algebras \(\mathcal{G}\) and \(\mathcal{H}\),

$$ \|\mathbb{E}[X\mid\mathcal{G}]-\mathbb{E}[X\mid\mathcal{H}]\|_1 \leq \|X-\mathbb{E}[X\mid\mathcal{G}]\|_1 + \|X-\mathbb{E}[X\mid\mathcal{H}]\|_1. $$

Indeed, insert \(X\) between the two conditional expectations and apply the triangle inequality. Thus, two conditional averages are close whenever each is close to the original variable in \(L^1\). The nested-sigma-algebra theorem is stronger because it controls their difference using only the residual from the finer conditioning.

Expectation Errors and a Common Pitfall

Taking \(\mathcal{G}=\{\varnothing,\Omega\}\) gives \(\mathbb{E}[X\mid\mathcal{G}]=\mathbb{E}[X]\), a constant. The difference inequality then implies the ordinary expectation error bound

$$ |\mathbb{E}[X]-\mathbb{E}[Y]| \leq \mathbb{E}[|X-Y|]. $$

The conditional version is stronger in that it bounds the entire random difference between conditional expectations in \(L^1\), not just the difference between their overall means. This is often useful when an input variable is replaced by a tractable approximation before conditioning.

A common mistake is to read the contraction inequality as a pointwise comparison between \(|\mathbb{E}[X\mid\mathcal{G}]|\) and \(|X|\). The theorem compares expectations of absolute values; it does not assert that the conditional average is smaller than \(|X|\) at each outcome. The pointwise bound supplied by the lemma is instead against \(\mathbb{E}[|X|\mid\mathcal{G}]\). Keeping these two statements distinct is essential.

Check Your Understanding

Use the definitions and inequalities in this tutorial to answer the following questions.

  1. State the \(L^1\) contraction inequality for an integrable random variable \(X\) and a sigma-algebra \(\mathcal{G}\).
  2. Why does the conditional absolute-value bound imply the \(L^1\) contraction after taking expectations?
  3. If \(\|X-Y\|_1\leq\delta\), what bound follows for the \(L^1\) distance between their conditional expectations given the same sigma-algebra?
  4. When \(\mathcal{G}\subseteq\mathcal{H}\), which residual controls the \(L^1\) difference between the two conditional averages?
  5. Does the contraction theorem imply \(|\mathbb{E}[X\mid\mathcal{G}]|\leq|X|\) almost surely? Explain the distinction.
Clinical Biostats