The Precision Matrix Miracle: Why Zero Entries Mean Independence
Let be a multivariate Gaussian, with positive definite. Let be the precision matrix.
Show that and are conditionally independent given all other variables if and only if .
In other words: the sparsity pattern of , not , encodes the conditional independence graph.
Why is this surprising? Give a simple -variable example where (so are marginally correlated) but (so ).
Answer: Precision Matrix and Conditional Independence
Key Idea / Intuition
For a Gaussian, all conditional distributions are still Gaussian, and conditional independence is captured entirely by second-order structure. The precision matrix encodes partial correlations — correlation after removing the linear effect of all other variables. A zero entry means that once you control for everything else, and carry no additional information about each other. This is fundamentally different from (marginal independence), which is a much stronger and less common condition. The miracle: invert the covariance matrix, and read off the graph directly.
Formal Proof / Solution
Step 1: Conditional distribution of a Gaussian
Partition where and is everything else. The conditional distribution is Gaussian with:
So iff the conditional covariance .
Step 2: Schur complement and the precision matrix
The Schur complement identity says: if we write the block structure
then the inverse of the Schur complement gives:
So the conditional covariance of given the rest is exactly , the submatrix of involving just rows/columns , inverted.
Step 3: The key identity
For two variables, the matrix
has inverse
The off-diagonal entry of the conditional covariance (i.e., ) is proportional to .
Therefore:
Step 4: A concrete 3-variable example
Let be a "common cause" structure — actually let's do a chain: .
Take:
with independent. Then:
Note , so and are marginally correlated.
Computing :
The entry is ! So , which makes perfect sense: in the chain , once you know , knowing tells you nothing extra about (d-separation / Markov property).
Why This Is Deep
The moral: correlation is not conditional independence. The covariance matrix tells you about marginal relationships; the precision matrix tells you about the conditional graph structure. This is the foundation of Gaussian graphical models and the graphical LASSO (glasso), which estimates a sparse to learn which edges are truly present in the dependency graph.
The partial correlation between and given all others is:
So reading off partial correlations from the precision matrix is as easy as reading marginal correlations from the covariance matrix.
Source: The Elements of Statistical Learning, Chapter 17 (Hastie, Tibshirani, Friedman)