Tutorials › Statistical Theory I - Probability and Distribution Theory › How Conditioning Reduces Gaussian Covariance

Gaussian Conditioning and Linear Maps · Tutorial 732 of 994

How Conditioning Reduces Gaussian Covariance

Learn how cross-covariance determines the reduction in Gaussian conditional covariance, direction by direction and in singular as well as nonsingular cases.

Advanced 11 min read

What You'll Learn

  • State the Gaussian conditional covariance formula for nonsingular and singular conditioning blocks.
  • Prove that the conditional covariance is no larger than the marginal covariance in positive-semidefinite order.
  • Characterize equality of the two covariance matrices using cross-covariance.
  • Identify the directions with no variance reduction and the condition for strict reduction in every direction.
  • Apply the result to scalar, vector, and singular-block Gaussian examples.

Why Compare Conditional and Marginal Covariance?

Covariance describes the spread of a random vector across repeated draws. Conditioning on an observed vector adds information, so for jointly Gaussian variables it cannot increase variance in any linear direction. The precise statement is a matrix inequality: the conditional covariance is no larger than the marginal covariance in positive-semidefinite order. This is not an entry-by-entry comparison of matrix elements; it compares the variance of every linear combination.

The amount of reduction is controlled by the cross-covariance between the vector being predicted and the vector observed. If that cross-covariance is zero, conditioning does not change covariance. If it is nonzero, at least one direction has a strictly reduced variance, though other directions can remain unchanged. The distinction matters in multivariate work, where a nonzero update need not reduce uncertainty in every direction.

Setup and Conditional Covariance

Let \(X\in\mathbb{R}^p\) and \(Y\in\mathbb{R}^q\) be jointly Gaussian, allowing either vector or their joint distribution to be degenerate. Write their means and covariance blocks as

$$ E[X]=\mu_X,\qquad E[Y]=\mu_Y,\qquad \operatorname{Cov}\begin{pmatrix}X\\Y\end{pmatrix} = \begin{pmatrix} A&C\\ C^T&B \end{pmatrix}, $$

where \(A=\operatorname{Cov}(X)\), \(B=\operatorname{Cov}(Y)\), and \(C=\operatorname{Cov}(X,Y)\). The full block matrix is positive semidefinite because it is a covariance matrix. For a symmetric matrix, positive semidefinite means that every quadratic form is nonnegative.

Definition: For symmetric matrices \(M\) and \(N\) of the same size, \(M\preceq N\) means \(N-M\) is positive semidefinite; equivalently, \(v^T Mv\leq v^T Nv\) for every vector \(v\). We write \(M\prec N\) when \(N-M\) is positive definite, so the inequality is strict for every nonzero \(v\).

If \(B\) is nonsingular, the Gaussian conditional-normal formula gives

$$ \operatorname{Cov}(X\mid Y=y)=A-CB^{-1}C^T. $$

This covariance does not depend on the particular value \(y\). If \(B\) is singular, use the Moore–Penrose inverse \(B^+\), obtained by replacing each nonzero eigenvalue of \(B\) by its reciprocal and leaving zero eigenvalues at zero. The singular-block conditional-normal formula is

$$ \operatorname{Cov}(X\mid Y=y)=A-CB^+C^T, $$

for \(y\) in the support of \(Y\), up to the usual almost-sure qualification for conditional distributions. The joint covariance condition ensures that \(C^T u\) lies in the range of \(B\) for every \(u\in\mathbb{R}^p\); thus the formula is compatible with directions of \(Y\) having zero variance. These conditional-normal formulas are the block formulas for Gaussian conditioning, including the singular-block case.

The Covariance-Reduction Theorem

Theorem: Under the setup above, the conditional covariance satisfies \(\operatorname{Cov}(X\mid Y)\preceq A\). The reduction is \(A-\operatorname{Cov}(X\mid Y)=CB^+C^T\). It is zero exactly when \(C=0\). For a direction \(v\in\mathbb{R}^p\), the conditional variance equals the marginal variance exactly when \(C^Tv=0\). The inequality is strict in every nonzero direction, or equivalently \(\operatorname{Cov}(X\mid Y)\prec A\), exactly when \(C\) has full row rank \(p\).

The nonsingular case is included by taking \(B^+=B^{-1}\). The result compares covariance matrices in Loewner order, not their individual entries.

Proof. The Moore–Penrose inverse \(B^+\) is positive semidefinite: in an orthonormal eigenbasis of \(B\), its eigenvalues are nonnegative. Therefore, for every \(v\in\mathbb{R}^p\),

$$ v^T CB^+C^Tv=(C^Tv)^T B^+(C^Tv)\geq 0. $$

Thus \(CB^+C^T\) is positive semidefinite. Subtracting the conditional covariance formula from \(A\) proves \(\operatorname{Cov}(X\mid Y)\preceq A\).

For the equality claims, \(C^Tv\) belongs to the range of \(B\). On that range, \(B^+\) has strictly positive eigenvalues. Consequently,

$$ v^T CB^+C^Tv=0 \quad\Longleftrightarrow\quad C^Tv=0. $$

This proves the direction-specific equality statement. The whole reduction matrix is zero exactly when its quadratic form is zero for every \(v\), which, by the equivalence just shown, occurs exactly when \(C^Tv=0\) for every \(v\), or \(C=0\).

Finally, the reduction is positive definite exactly when \(v^T CB^+C^Tv>0\) for every nonzero \(v\). By the same equivalence, this holds exactly when \(C^Tv\ne0\) for every nonzero \(v\). That is the condition that the linear map \(v\mapsto C^Tv\) has trivial kernel, equivalently that \(C\) has full row rank \(p\). \(\square\)

Worked Examples

Worked Example: A Scalar Gaussian Observation

Let \(X\) and \(Y\) be jointly Gaussian with zero means, \(\operatorname{Var}(X)=9\), \(\operatorname{Var}(Y)=4\), and \(\operatorname{Cov}(X,Y)=3\). Find the conditional variance of \(X\) given \(Y\), and compare it with the marginal variance.

Here \(A=9\), \(B=4\), and \(C=3\). The joint covariance is valid: its determinant is \(9\cdot4-3^2=27>0\), and its diagonal entries are positive. Since \(B^{-1}=1/4\),

$$ \operatorname{Var}(X\mid Y) =9-3\left(\frac14\right)3 =9-\frac94 =\frac{27}{4} =6.75. $$

The variance reduction is \(9-6.75=2.25=9/4\), exactly \(CB^{-1}C^T\). The conditional variance is smaller than the marginal variance, but it is not zero: knowing \(Y\) informs us about \(X\), without determining it completely.

Worked Example: Reduction in One Vector Direction Only

Suppose \(X=(X_1,X_2)^T\) and \(Y\) are jointly Gaussian with

$$ A= \begin{pmatrix}4&0\\0&9\end{pmatrix}, \qquad B=1,\qquad C= \begin{pmatrix}1\\0\end{pmatrix}. $$

These blocks define a valid covariance matrix: the Schur complement of \(B\) is

$$ A-CB^{-1}C^T = \begin{pmatrix}4&0\\0&9\end{pmatrix} - \begin{pmatrix}1&0\\0&0\end{pmatrix} = \begin{pmatrix}3&0\\0&9\end{pmatrix}, $$

which is positive definite. The conditional covariance is \(\operatorname{diag}(3,9)\). Thus the marginal variance of \(X_1\) falls from \(4\) to \(3\), while that of \(X_2\) remains \(9\).

For \(v=(a,b)^T\), the reduction in the variance of \(aX_1+bX_2\) is

$$ v^T CB^{-1}C^Tv = \begin{pmatrix}a&b\end{pmatrix} \begin{pmatrix}1&0\\0&0\end{pmatrix} \begin{pmatrix}a\\b\end{pmatrix} =a^2. $$

The reduction is positive when \(a\ne0\) and zero when \(a=0\). The cross-covariance is nonzero, so the full covariance matrices differ, but the reduction is not positive definite: the direction \(X_2\) is unaffected.

Worked Example: Conditioning on a Singular Gaussian Block

Let \(Y=(Y_1,Y_2)^T\), where \(Y_1\) has variance \(4\) and \(Y_2=0\) with probability one. Suppose \(X\in\mathbb{R}^2\) and the joint covariance blocks are

$$ B= \begin{pmatrix}4&0\\0&0\end{pmatrix}, \qquad C= \begin{pmatrix}2&0\\1&0\end{pmatrix}, \qquad A= \begin{pmatrix}2&0\\0&2\end{pmatrix}. $$

The pseudoinverse is \(B^+=\operatorname{diag}(1/4,0)\). The blocks are compatible with a joint covariance: the second column of \(C\) is zero, so it lies in the range required by the zero-variance coordinate of \(Y\), and the generalized Schur complement is

$$ A-CB^+C^T = \begin{pmatrix}2&0\\0&2\end{pmatrix} - \begin{pmatrix}1&1/2\\1/2&1/4\end{pmatrix} = \begin{pmatrix}1&-1/2\\-1/2&7/4\end{pmatrix}. $$

This matrix is positive definite: its first diagonal entry is \(1>0\), and its determinant is \(7/4-1/4=3/2>0\). Thus the stated blocks give a valid positive-semidefinite joint covariance. Applying the singular conditional formula, the conditional covariance is the displayed matrix, and the reduction is

$$ CB^+C^T = \frac14 \begin{pmatrix}2\\1\end{pmatrix} \begin{pmatrix}2&1\end{pmatrix} = \begin{pmatrix}1&1/2\\1/2&1/4\end{pmatrix}. $$

The reduction is positive semidefinite but not positive definite: it has rank one. The constant coordinate \(Y_2\) provides no information, while the random coordinate \(Y_1\) is cross-correlated with both components of \(X\). This example shows why replacing \(B^+\) by an ordinary inverse would not work for a singular block.

What “Reduction” Does and Does Not Mean

The theorem guarantees a reduction in every directional variance: for each fixed \(v\), the conditional variance of \(v^TX\) is no larger than its marginal variance. It does not say that every off-diagonal covariance entry becomes smaller in numerical value. Such entries can change in either direction; positive-semidefinite order is a comparison of quadratic forms, not a comparison entry by entry.

The rank of \(C\) describes how many independent directions in \(X\) are affected. If \(C\ne0\), some direction has a strict reduction. If \(C\) does not have full row rank, there are nonzero directions \(v\) with \(C^Tv=0\), and those directions retain their marginal variance. If \(C\) has full row rank, every nonzero direction has a strict variance reduction.

This distinction is useful when interpreting Gaussian prediction and measurement models. An observation can substantially reduce uncertainty overall while leaving some contrasts or linear combinations unchanged. Conversely, a nonzero update to a covariance matrix does not by itself establish strict reduction in all directions.

Common Pitfall

A tempting but incorrect argument is: “Conditioning reduces uncertainty, so every entry of the conditional covariance matrix must be less than the corresponding marginal entry.” The theorem does not support this conclusion. For example, a covariance entry is not itself a directional variance; it can move upward even when the whole covariance reduction matrix is positive semidefinite.

The correction is to form the difference \(A-\operatorname{Cov}(X\mid Y)\) and test its quadratic forms. Here the difference is \(CB^+C^T\), and \(v^TCB^+C^Tv\geq0\) for every \(v\). That is the exact mathematical meaning of “conditioning reduces Gaussian covariance.”

Key takeaway: For jointly Gaussian \(X\) and \(Y\), the covariance reduction from conditioning on \(Y\) is \(CB^+C^T\). It is always positive semidefinite, vanishes exactly when the cross-covariance \(C\) is zero, and is positive definite exactly when \(C\) has full row rank.

Check Your Understanding

Use the covariance-reduction formula and distinguish matrix order from entrywise comparison.

  1. If \(A=16\), \(B=9\), and \(C=6\) for scalar jointly Gaussian \(X,Y\), calculate \(\operatorname{Var}(X\mid Y)\) and the reduction.
  2. For a direction \(v\), what condition on \(C\) makes the variance of \(v^TX\) unchanged by conditioning?
  3. Can a nonzero cross-covariance produce a covariance reduction that is not positive definite? Explain using the rank condition.
  4. Why must a singular conditioning covariance use \(B^+\) rather than \(B^{-1}\)?
  5. Does positive-semidefinite reduction imply that every entry of the conditional covariance is no larger than the corresponding marginal entry? State the correct comparison.