Write the expected value as and assume the relevant covariance matrix is invertible. Remove the linear predictor from the first block by definingA linear image of a multivariate normal vector is again multivariate normal. Direct covariance calculation givesThus and are independent: uncorrelated jointly Gaussian variables are independent. Expanding the covariance matrix of , using , givesConditioning on translates by the fixed vector and leaves its covariance matrix unchanged. Consequently the conditional multivariate normal distribution isThe 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 areCompleting the square gives a normal distribution with mean andEquivalently, 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 areDivide the conditional covariance by the product of the conditional standard deviations. The conditional correlation is thereforeThis 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
There are currently no matching articles.