Tutorials › Multiple Imputation by Chained Equations (MICE) › A Gaussian Example of Compatible Conditionals

Imputation-Model Compatibility With the Analysis Model · Tutorial 254 of 497

A Gaussian Example of Compatible Conditionals

Learn to derive the two Gaussian conditionals and check the precise coefficient and variance constraints that make them compatible.

Advanced 11 min read

What You'll Learn

  • Derive the conditional means and variances from a bivariate normal density.
  • Relate each conditional slope to the marginal standard deviations and correlation.
  • Check compatibility using slope products and, when slopes are nonzero, variance ratios.
  • Handle the independent case without dividing by zero slopes.
  • Reconstruct a joint Gaussian distribution from compatible conditional specifications.
  • Distinguish compatibility checks from evidence that a MICE algorithm has converged.

Why a Gaussian Example Makes Compatibility Concrete

When two variables are imputed from one another, each conditional model may look reasonable on its own. Compatibility asks a sharper question: could both conditionals be the conditionals of the same joint distribution? For jointly normal variables, the answer can be checked directly from their regression slopes and conditional variances.

This example is useful because it makes the constraints explicit. A Gaussian conditional model is not compatible merely because its mean is linear and its variance is positive. The two directions must also agree with one another. The calculations below concern exact population distributions; in applications, estimated coefficients and variances will have sampling uncertainty.

Definition: Let \(X\) and \(Y\) have a nondegenerate bivariate normal distribution, with means \(\mu_X,\mu_Y\), standard deviations \(\sigma_X>0,\sigma_Y>0\), and correlation \(-1<\rho<1\). Their conditional distributions are \(Y\mid X=x\sim N\bigl(\mu_Y+\rho(\sigma_Y/\sigma_X)(x-\mu_X),\,\sigma_Y^2(1-\rho^2)\bigr)\) and \(X\mid Y=y\sim N\bigl(\mu_X+\rho(\sigma_X/\sigma_Y)(y-\mu_Y),\,\sigma_X^2(1-\rho^2)\bigr)\). Here the second argument of \(N\) is a variance.

The conditional mean of \(Y\) given \(X\) has slope \(\rho\sigma_Y/\sigma_X\); the reverse conditional mean has slope \(\rho\sigma_X/\sigma_Y\). Both slopes have the sign of the correlation, and their product is \(\rho^2\). The conditional variances are constant: they do not depend on the value being conditioned on. These facts follow from the joint normal density, rather than being separate choices for the two regressions.

Deriving the Conditional Distributions

Write \(u=x-\mu_X\) and \(v=y-\mu_Y\). The exponent in the bivariate normal density is proportional to \((u^2/\sigma_X^2-2\rho uv/(\sigma_X\sigma_Y)+v^2/\sigma_Y^2)/(2(1-\rho^2))\). To obtain the conditional distribution of \(Y\) at fixed \(x\), complete the square in \(v\):

$$ \frac{u^2/\sigma_X^2-2\rho uv/(\sigma_X\sigma_Y)+v^2/\sigma_Y^2}{1-\rho^2} = \frac{(v/\sigma_Y-\rho u/\sigma_X)^2}{1-\rho^2} +\frac{u^2}{\sigma_X^2}. $$

At fixed \(x\), the second term does not vary with \(y\), so it is part of the normalizing constant of the conditional density. The first term is the squared deviation from \(v/\sigma_Y=\rho u/\sigma_X\), scaled by \(1-\rho^2\). Consequently, \(Y\mid X=x\) has mean \(\mu_Y+\rho(\sigma_Y/\sigma_X)(x-\mu_X)\) and variance \(\sigma_Y^2(1-\rho^2)\). Completing the square in \(u\), instead, gives the reverse conditional stated in the definition.

The nondegeneracy assumption matters: \(|\rho|<1\) makes both conditional variances strictly positive. If \(|\rho|=1\), one variable is an exact linear function of the other and the bivariate distribution is degenerate; the positive-variance conditional formulas do not apply.

Worked Example: Deriving Both Conditionals

Suppose hypothetical measurements \(X\) and \(Y\) follow a bivariate normal distribution with means 50 units and 100 units, standard deviations 4 units and 6 units, and correlation \(\rho=0.5\). The standard deviations are positive and \(|0.5|<1\), so the nondegenerate bivariate normal formulas apply.

For \(Y\mid X=x\), the slope is \(0.5(6/4)=0.75\) units of \(Y\) per unit of \(X\), and the conditional variance is \(6^2(1-0.5^2)=36(0.75)=27\) squared units of \(Y\). Thus \(Y\mid X=x\sim N\bigl(100+0.75(x-50),27\bigr)\).

For \(X\mid Y=y\), the slope is \(0.5(4/6)=1/3\) units of \(X\) per unit of \(Y\), and the conditional variance is \(4^2(1-0.5^2)=16(0.75)=12\) squared units of \(X\). Thus \(X\mid Y=y\sim N\bigl(50+(1/3)(y-100),12\bigr)\).

The slope product is \(0.75(1/3)=0.25=\rho^2\). The variance ratio is \(27/12=2.25\), and the slope ratio is \(0.75/(1/3)=2.25\). These checks agree, as they must for conditionals from this joint distribution.

Compatibility Constraints for Two Gaussian Conditionals

Now start with two proposed conditional models, rather than a specified joint distribution: \(Y\mid X=x\sim N(a_Y+b_{YX}x,v_Y)\) and \(X\mid Y=y\sim N(a_X+b_{XY}y,v_X)\). The \(a\)'s are intercepts, the \(b\)'s are slopes, and \(v_Y,v_X\) are conditional variances. Assume \(v_Y>0\) and \(v_X>0\). The slopes have reciprocal measurement units: \(b_{YX}\) measures units of \(Y\) per unit of \(X\), whereas \(b_{XY}\) measures units of \(X\) per unit of \(Y\).

Theorem: These two conditionals are the conditionals of a nondegenerate bivariate normal distribution if and only if either (i) \(b_{YX}=b_{XY}=0\), or (ii) both slopes are nonzero, \(0<b_{YX}b_{XY}<1\), and \(v_Y/v_X=b_{YX}/b_{XY}\). In case (i), any positive \(v_Y,v_X\) are allowed. The intercepts do not impose an additional restriction: in either case they determine the joint means through the two conditional-mean equations.

The slope-product constraint comes from the formulas for a joint bivariate normal: \(b_{YX}b_{XY}=\rho^2\), which must be less than 1. If the product is positive and both slopes are nonzero, they must have the same sign. For the variance constraint, the conditional formulas give \(v_Y=\sigma_Y^2(1-\rho^2)\) and \(v_X=\sigma_X^2(1-\rho^2)\). Therefore, when the slopes are nonzero, \(v_Y/v_X=\sigma_Y^2/\sigma_X^2=b_{YX}/b_{XY}\).

The zero-slope case must be handled separately. In a bivariate normal distribution, a zero correlation makes both slopes zero, but the marginal variances need not be equal. The conditionals are then independent normals with variances \(v_Y\) and \(v_X\); their variance ratio can be any positive number. Dividing by either slope in this case would be undefined and would incorrectly rule out valid independent distributions.

Why the Constraints Are Sufficient

The constraints do more than provide necessary checks. They also let us construct a joint bivariate normal distribution when they hold. For nonzero slopes, put \(q=b_{YX}b_{XY}\), so \(0<q<1\), and set \(\sigma_Y^2=v_Y/(1-q)\) and \(\sigma_X^2=v_X/(1-q)\). The variance-ratio condition ensures \(b_{YX}\sigma_X^2=b_{XY}\sigma_Y^2\), so either expression defines the same covariance. The resulting correlation has square \(q\), with the shared sign of the slopes. This gives the proposed slopes and conditional variances.

The intercepts determine means by solving \(\mu_Y=a_Y+b_{YX}\mu_X\) and \(\mu_X=a_X+b_{XY}\mu_Y\). Since \(1-q>0\), the solution is unique:

$$ \mu_X=\frac{a_X+b_{XY}a_Y}{1-q}, \qquad \mu_Y=\frac{a_Y+b_{YX}a_X}{1-q}. $$

The constructed covariance matrix is positive definite: its determinant is \(\sigma_X^2\sigma_Y^2(1-q)>0\), and its diagonal entries are positive. Thus it defines a nondegenerate bivariate normal with precisely the proposed conditionals. If both slopes are zero, take independent normals with means \(a_X,a_Y\) and variances \(v_X,v_Y\); this proves sufficiency in that case as well.

Worked Example: Detecting an Incompatible Pair

Consider hypothetical conditional models \(Y\mid X=x\sim N(4+0.6x,9)\) and \(X\mid Y=y\sim N(2+0.4y,4)\). Both conditional variances are positive. The slope product is \(0.6(0.4)=0.24\), which is between 0 and 1, so the slope-product check alone does not rule out compatibility.

The variance ratio is \(9/4=2.25\), while the slope ratio is \(0.6/0.4=1.5\). These are unequal, so the proposed conditionals cannot both come from one nondegenerate bivariate normal distribution. The issue is not that either conditional is individually invalid; it is that their implied marginal variance scales disagree.

The intercepts themselves can be reconciled: solving \(\mu_Y=4+0.6\mu_X\) and \(\mu_X=2+0.4\mu_Y\) gives \(\mu_Y=5.2/0.76\approx6.842\) and \(\mu_X=2+0.4(6.842)\approx4.737\). This does not repair the variance mismatch. Compatibility requires the slope, variance, and mean implications to fit together, not just a solution for the means.

Worked Example: The Independent, Unequal-Variance Case

Suppose hypothetical conditionals are \(Y\mid X=x\sim N(3,25)\) and \(X\mid Y=y\sim N(10,4)\). Both slopes are zero, and both conditional variances are positive. This is compatible with \(X\sim N(10,4)\) and \(Y\sim N(3,25)\) independently.

For independent variables, conditioning on one does not change the distribution of the other, so these are exactly the two conditional distributions. Their variance ratio is \(25/4=6.25\), not 1. That is entirely valid: the variance-ratio identity is a check only when both slopes are nonzero. In this example, the slope ratio would be \(0/0\), which is undefined and must not be used.

Using the Check and Recognizing Its Limits

In a MICE setting, these calculations are a compatibility check for an idealized pair of Gaussian conditional models. They do not establish that a fitted imputation procedure has converged, that the Gaussian assumptions describe the data well, or that the model is appropriate for the eventual analysis. The conditional distributions here assume continuous variables, joint normality, linear conditional means, and constant conditional variances.

A practical check should keep the following distinctions clear:

  • Check the model form first. These identities concern exact Gaussian conditionals. Curvature, changing residual spread, or strong departures from normality can make the model a poor description even if its estimated coefficients approximately satisfy the identities.
  • Use estimates cautiously. Estimated slopes and variances will not generally satisfy exact equalities in finite samples. A small discrepancy is not, by itself, proof of incompatibility in the underlying population; consider estimation uncertainty and model fit.
  • Check units and direction. The two slopes have reciprocal units, while their product is dimensionless. The variance ratio and slope ratio have matching units. Swapping a direction or comparing a variance to a slope without regard to units can conceal an error.
  • Do not infer algorithmic behavior from compatibility alone. A shared joint distribution exists when the stated constraints hold, but this fact alone is not a convergence diagnostic or a guarantee of good imputations.

A direct joint Gaussian model is an alternative when the multivariate normal assumptions are suitable: it specifies one covariance structure and derives both conditionals from it. Fully conditional specification instead writes separate models for each variable, which can offer more flexibility but does not automatically enforce these Gaussian constraints. Neither approach removes the need to assess whether the distributional assumptions and substantive relationships are credible.

Key takeaway: For nonzero slopes, Gaussian compatibility requires \(0<b_{YX}b_{XY}<1\) and \(v_Y/v_X=b_{YX}/b_{XY}\). If both slopes are zero, the conditionals can be independent normals with any positive variances; the ratio check is undefined and does not apply.

Check Your Understanding

Answer each question, then compare your reasoning with the solutions below.

  1. Two proposed conditionals have slopes \(0.3\) for \(Y\mid X\) and \(0.5\) for \(X\mid Y\). What is their implied correlation squared, and does the slope-product check pass?
  2. Both slopes are nonzero, and the slope ratio \(b_{YX}/b_{XY}\) is 3. What must the ratio \(v_Y/v_X\) be for compatibility?
  3. Can two independent Gaussian variables with variances 2 and 10 have compatible conditionals? Explain why the variance-ratio identity does or does not apply.
  4. For slopes \(b_{YX}=0.4\), \(b_{XY}=0.2\), and conditional variances \(v_Y=12\), \(v_X=6\), do the stated compatibility checks pass?

Solutions. (1) The product is \(0.3(0.5)=0.15\), so the implied \(\rho^2\) is 0.15. It is positive and less than 1, so the slope-product check passes; the variance-ratio check is still needed. (2) Compatibility requires \(v_Y/v_X=3\). (3) Yes. Independence gives two zero slopes, and the conditionals retain their respective positive variances, 2 and 10. The variance-ratio identity does not apply because the slope ratio is \(0/0\). (4) The slope product is \(0.4(0.2)=0.08\), between 0 and 1; the variance ratio is \(12/6=2\), equal to the slope ratio \(0.4/0.2=2\). Both checks pass, so the pair is compatible with a nondegenerate bivariate normal distribution.

Clinical Biostats