Why Coordinate Changes Matter
A conditional Gaussian law is often easiest to calculate in one set of coordinates and easiest to interpret in another. For example, a response vector may be shifted and rescaled, or the observed conditioning variables may be reported in transformed units. The conditional distribution must then be translated consistently: the observed conditioning value changes coordinates, the conditional mean changes with the response coordinates, and the conditional covariance changes by a matrix congruence.
The key distinction is between changing the response and changing the conditioning variables. An invertible affine change to the response transforms the conditional distribution itself. An invertible affine change to the conditioning coordinates does not change the information being conditioned on; it only changes how the observed value is written.
The positive-definiteness assumption ensures that the conditioning vector has a nonsingular Gaussian density. The formulas below specify a version of the conditional Gaussian law for every conditioning value \(y\) (or \(v\)), not merely almost every value. The response covariance may be singular; its conditional law can then be degenerate.
The Transformation Formula
Write
The block conditional Gaussian formula gives \(X\mid Y=y\) a mean \(\mu_X+C(y-\mu_Y)\) and covariance \(S\). To condition on \(V=v\), first recover the corresponding original value \(y=B^{-1}(v-b)\). Then transform the conditional response by \(u=a+Ax\).
Thus the affine offset \(a\) shifts the conditional mean but does not affect the conditional covariance. The response matrix \(A\) transforms the covariance to \(ASA^T\). The conditioning matrix \(B\) changes the input value in the mean through \(B^{-1}(v-b)\), but does not otherwise change the conditional covariance.
Why the Formula Holds
A direct justification uses the Gaussian regression residual. Define \(R=X-\mu_X-C(Y-\mu_Y)\). Its covariance with \(Y\) is zero, since
The pair \((R,Y)\) is jointly Gaussian, so zero cross-covariance implies independence. Also, expanding the covariance of \(R\) gives \(\operatorname{Var}(R)=S\). Consequently, conditionally on \(Y=y\), the random vector \(X\) has the distribution of the fixed vector \(\mu_X+C(y-\mu_Y)\) plus an independent Gaussian residual with covariance \(S\). Substituting \(y=B^{-1}(v-b)\) and applying \(u=a+Ax\) yields the stated mean and covariance.
The same formula can be checked by calculating the transformed covariance blocks. They are
Because \(B\) and \(\Sigma_{YY}\) are invertible,
Here \((B\Sigma_{YY}B^T)^{-1}=B^{-T}\Sigma_{YY}^{-1}B^{-1}\), where \(B^{-T}=(B^T)^{-1}\). Substituting this transformed regression coefficient and the transformed means into the block conditional mean gives the theorem’s mean. For the covariance, the block formula gives
This second calculation confirms that the result agrees with conditioning directly in the transformed coordinates. \(\square\)
Worked Examples
Worked Example: A Shear of the Response and a Rescaling of the Conditioning Value
Suppose \(X\in\mathbb{R}^2\) and \(Y\in\mathbb{R}\) are jointly Gaussian, with
First calculate the original conditional law. The regression coefficient and residual covariance are
At \(y=5\), the conditional mean is
Now take \(U=a+AX\) and \(V=b+BY\), where \(a=(0,1)^T\), \(A=\begin{pmatrix}1&2\\0&1\end{pmatrix}\), \(b=-1\), and \(B=3\). The value \(Y=5\) corresponds to \(V=-1+3(5)=14\). The transformed conditional mean is
For the covariance, multiply in two stages:
Therefore \(U\mid V=14\) has mean \((1,0.5)^T\) and covariance \(\begin{pmatrix}6&2\\2&0.875\end{pmatrix}\). Notice that the covariance changes even though the observed value \(V=14\) only determines which original conditioning value to use.
Worked Example: Changing Only the Conditioning Coordinates
Let \(X\) be scalar and \(Y\in\mathbb{R}^2\), with
The original regression coefficient is \(\Sigma_{XY}\Sigma_{YY}^{-1}=(1,1)\), and the conditional variance is \(9-(2,1)\begin{pmatrix}1\\1\end{pmatrix}=6\). At \(Y=(3,2)^T\), the conditional mean is \(2+(1,1)(2,2)^T=6\).
Reparameterize the conditioning vector as \(V=b+BY\), with \(B=\begin{pmatrix}1&1\\0&2\end{pmatrix}\) and \(b=(-1,4)^T\); leave the response unchanged. The value \(Y=(3,2)^T\) becomes \(V=(4,8)^T\), while \(\mu_V=(0,4)^T\). The transformed covariance blocks are
The inverse of \(\Sigma_{VV}\) is \(\frac18\begin{pmatrix}4&-2\\-2&3\end{pmatrix}\), so the transformed regression coefficient is
It follows that the transformed conditional mean is \(2+(1,0)(4,4)^T=6\), and the conditional variance remains \(6\). Both match the calculation in the original coordinates.
Worked Example: Standardizing Both Scalar Variables
Suppose \(X\) and \(Y\) are jointly Gaussian with means \(10\) and \(4\), variances \(16\) and \(9\), and covariance \(6\). Define \(U=(X-10)/2\) and \(V=(Y-4)/3\). In the original coordinates, the conditional mean and variance are
If \(V=1\), then \(Y=4+3(1)=7\). Thus \(E[X\mid Y=7]=10+\frac23(3)=12\), and \(E[U\mid V=1]=(12-10)/2=1\). The conditional variance of \(U\) is \(12/2^2=3\).
The transformed covariance calculation checks both results: \(E[U]=E[V]=0\), \(\operatorname{Var}(U)=16/4=4\), \(\operatorname{Var}(V)=9/9=1\), and \(\operatorname{Cov}(U,V)=6/(2\cdot3)=1\). Hence the conditional mean of \(U\) given \(V=1\) is \(0+(1/1)(1)=1\), and its conditional variance is \(4-1^2/1=3\).
Common Mistakes and Practical Uses
Affine reparameterization is useful when units, centering, or coordinate systems change between a model and its interpretation. The formulas let one move between these representations without recalculating the underlying conditional relationship from scratch.
A frequent mistake is to substitute the transformed conditioning value directly into the original conditional mean. In the theorem, the original value is \(y=B^{-1}(v-b)\): the offset must be removed before applying the inverse matrix. Another is to transform a covariance as \(ASA\) rather than \(ASA^T\). For a nonsymmetric response transformation, only the congruence \(ASA^T\) gives the covariance of \(AX\). Finally, adding a response offset changes the mean but never adds a term to the covariance.
Invertibility matters. If \(B\) is invertible, knowing \(V=v\) is equivalent to knowing \(Y=B^{-1}(v-b)\). A noninvertible transformation can discard information, so conditioning on the transformed variable need not give the same law. That situation requires a different analysis.
Check Your Understanding
Use the transformation formula and show the key matrix or scalar calculations.
- If \(U=a+AX\) and only the response is transformed, which part of the conditional law is affected by \(a\), and how does \(A\) act on the covariance?
- For \(V=b+BY\), write the original conditioning value corresponding to \(V=v\). Why must \(B\) be invertible for this expression to be defined uniquely?
- A conditional response covariance is \(S=\begin{pmatrix}2&1\\1&2\end{pmatrix}\) and \(A=\begin{pmatrix}1&1\\0&1\end{pmatrix}\). Calculate \(ASA^T\).
- Explain why an invertible affine change of conditioning coordinates does not change the conditional covariance of the response.
- In the standardization example, verify the conditional variance of \(U\) using only the transformed variances and covariance.