Write the expected value as and assume the relevant covariance matrix is invertible. Remove the linear predictor from the first block by defining
A linear image of a multivariate normal vector is again multivariate normal. Direct covariance calculation gives
Thus and are independent: uncorrelated jointly Gaussian variables are independent. Expanding the covariance matrix of , using , gives
Conditioning on translates by the fixed vector and leaves its covariance matrix unchanged. Consequently the conditional multivariate normal distribution is
The conditional covariance is the Schur complement and does not depend on .
Put , the precision matrix, with scalar and containing all remaining coordinates. Holding in the multivariate normal density, the terms involving in its exponent are
Completing the square gives a normal distribution with mean and
Equivalently, the block matrix inverse identity gives . The Gaussian conditional variance from precision is a reciprocal diagonal entry of the precision matrix, rather than the marginal variance .
Write and . Apply the Schur complement covariance to the first two coordinates, conditioning on the third. The conditional covariance and conditional variances are
Divide the conditional covariance by the product of the conditional standard deviations. The conditional correlation is therefore
This is the partial correlation after removing the linear effect of . For a nonsingular multivariate normal distribution, both residual variances are positive and the answer is independent of . If a residual variance vanishes, the requested correlation coefficient is undefined, even though the residual covariance formula remains valid.

Articles by others on the same topic (0)

There are currently no matching articles.