Let with partitions and . How do you derive the conditional distribution of given by completing the square with the precision matrix ?
Probability and statistics, Multivariate Gaussian
Level L4 Advanced. Length Long. Nature Mat Mathematical.
What's being asked
Completing the square in a partitioned quadratic form, then converting back to covariance blocks using the block inverse.
Key idea
. In precision form, the conditional covariance is .
Steps
- The log-density is plus a constant. Write , and partition into blocks .
- Expand: , using (symmetry).
- Fix (so is a constant) and keep only terms in : .
- Complete the square: this equals . So is Gaussian with precision and mean .
- Use the block-inverse identities with the Schur complement : and .
- Substitute: , so the mean is and the covariance is .
- Check against the scalar case: this gives mean and variance . The covariance does not depend on .
Common mistakes
- Using the blocks of where the blocks of are needed, for instance .
- Dropping the minus sign in .
- Forgetting that , not , is the conditional covariance.
- Taking terms that do not involve as part of the answer. They only affect the normalising constant.
How long your answer should be
One page; 10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probability and statistics: For a natural exponential family , why is and , and hence why does the MLE satisfy ? What does this give for exponential data ?
Next in Probability and statistics: Let be independent Uniform. Define , , and . Why are and independent variables, and what are for , ?