Tutorials › Multi-Omics Data Integration › Chained Equations for Partially Observed Modalities

Missing Modalities and Partially Observed Subjects · Tutorial 77 of 597

Chained Equations for Partially Observed Modalities

See how to build and check a chained-equation procedure that imputes whole missing modality blocks through sequential conditional models.

Advanced 11 min read

What You'll Learn

  • Define chained equations for subjects with partially observed modality blocks.
  • Choose conditional models that match the type and structure of each block.
  • Follow a full iteration, including stochastic draws for missing blocks.
  • Identify overlap and missingness assumptions needed to estimate the conditional models.
  • Check blockwise model compatibility and distinguish convergence from validity.
  • Compare chained equations with joint imputation, likelihood, and matrix-completion approaches.

Why Chain Conditional Models?

A study may measure several omics modalities on the same subjects while some subjects lack an entire modality block. A single joint distribution for every block can be difficult to specify or estimate. Chained equations offer a modular alternative: specify a conditional model for each modality in turn, then repeatedly update the blocks that are missing. The method is flexible, but its flexibility makes model specification and compatibility important.

Let \(Y_i^{(m)}\) denote the vector of measurements for subject \(i\) in modality \(m\), and let \(R_{im}=1\) if that block is observed and \(R_{im}=0\) if it is missing. Let \(C_i\) denote fully observed covariates used in the imputation models. A subject can have some blocks observed and other blocks missing. The procedure imputes the unobserved values of a block; it does not change the observed values.

Definition: Chained equations, also called fully conditional specification, define a conditional distribution for each modality block, such as \(Y^{(m)}\mid Y^{(-m)},C\), where \(Y^{(-m)}\) denotes the other modality blocks. Starting from initial values for missing blocks, the algorithm visits the blocks in sequence and draws replacements for their missing values from the corresponding conditional models. Repeating this sequence produces an iterative stochastic imputation procedure.

These conditional models are usually estimated using subjects whose target block is observed. Their predictors can include observed covariates, other observed blocks, and current imputed values of blocks that are missing for the same subject. Thus, an imputation is conditional on the current state of the other blocks, not on their unknown true values.

Assumptions and Model Choices

Chained equations do not by themselves solve the identification problem created by missingness. For an interpretation as imputations of the unobserved values, a typical analysis assumes missing at random (MAR): conditional on the observed data included in the analysis, the probability that a block is missing does not depend on its unobserved value. The imputation models must also be adequately specified, with enough observed information to estimate the relevant conditional distributions. If the probability of observing a block is effectively zero for a covariate-defined subgroup, its conditional distribution in that subgroup cannot be learned from the observed data without additional assumptions.

The model for a target block should reflect its measurement scale and structure. A continuous scalar target might use a regression model with a residual draw; a binary feature might use logistic regression; and a count might use a count model. For a block with many features, analysts may use featurewise conditional models or a multivariate model, but the chosen approach must be estimable with the available sample size and overlap. Predictors should include variables associated with the target values and variables useful for explaining block availability, where those are observed and relevant.

When a modality is structurally absent because it was never defined or collected for a subject, imputing it as though it were an intermittently unmeasured value can change the scientific target. Chained equations are intended for quantities that are meaningful but unobserved under the analysis model. The distinction between structural absence and intermittent modality missingness therefore matters before fitting any conditional model.

A useful conditional model must generate plausible variation, not merely a fitted conditional mean. For example, replacing missing values only with regression predictions suppresses residual variation and can make the completed data too certain. Stochastic draws should reflect uncertainty in both the missing value and, when appropriate, the estimated model parameters. Whether the resulting imputations support a particular analysis also depends on the substantive variables and estimand; a convenient imputation model is not automatically suitable for every analysis.

One Iteration of the Algorithm

Choose an order for the modality blocks, initialize their missing values, and then update each block in turn. At a given update, the target model is fitted or used for that block, and only its missing entries are replaced. The newly updated values are available as predictors in later updates in the same sweep. A sweep through all blocks is one iteration. After an initial period in which the chain moves away from its starting values, retain draws separated or otherwise selected according to the implementation to form an imputed data set. Repeating the procedure from different starting values can help reveal instability.

1
Set up block models.
For each modality, specify a conditional distribution, predictors, and a method for drawing model parameters and missing values. Confirm that observed target values exist across the predictor patterns where imputations are needed.
2
Initialize missing blocks.
Use plausible starting values, such as draws from observed marginal distributions or predictions from simple preliminary models. Keep observed measurements fixed.
3
Update blocks sequentially.
For each modality in the chosen order, condition on the current values of other blocks and covariates, then draw replacements only for subjects missing that target block.
4
Repeat and inspect.
Run multiple sweeps and assess whether monitored summaries stabilize, whether imputations are plausible, and whether results depend strongly on the initialization or update order.

Worked Example: Updating Two Missing Blocks

Suppose two scalar modality summaries, \(U\) and \(V\), are measured alongside a fully observed covariate \(C\). A hypothetical analysis has specified the conditional models \(V\mid U,C\sim N(1+0.5U+0.2C,0.4^2)\) and \(U\mid V,C\sim N(2+0.4V-0.1C,0.5^2)\). Assume these models were estimated from subjects with the relevant target block observed, and that the hypothetical values below fall within predictor ranges supported by those subjects. For one subject, \(C=2\), while both \(U\) and \(V\) are missing. Initialize \(U=3.0\).

Update \(V\) first. Its conditional mean is \(1+0.5(3.0)+0.2(2)=2.90\), and its residual standard deviation is \(0.40\). If the generated standard-normal draw is \(z=0.50\), then \(V=2.90+0.40(0.50)=3.10\).

Update \(U\) next. The new value \(V=3.10\) is used immediately. The conditional mean is \(2+0.4(3.10)-0.1(2)=3.04\). With a generated standard-normal draw \(z=-0.40\), the update is \(U=3.04+0.50(-0.40)=2.84\).

Begin the next sweep. The updated \(U=2.84\) gives a new conditional mean for \(V\) of \(1+0.5(2.84)+0.2(2)=2.82\). If the next standard-normal draw is \(z=-0.25\), then \(V=2.82+0.40(-0.25)=2.72\). These are stochastic updates, not a search for one fixed pair of “best” values. The numerical sequence illustrates the algorithm only; it does not establish that the models are compatible or appropriate for a real data set.

Compatibility: Do the Conditionals Describe One Joint Model?

A key distinction is between having plausible individual conditionals and having conditionals that can all arise from one joint probability distribution. The latter property is called compatibility. A compatible collection has a joint distribution whose conditionals agree with the specified blockwise models. Chained equations can still be run when the specified conditionals are incompatible, but there may be no joint distribution that justifies the resulting chain as draws from a coherent joint model. In that case, the chain’s behavior and its implied distribution depend on the updating procedure.

A simple bivariate normal case gives a practical compatibility condition. Suppose the proposed conditionals are \(Y_1\mid Y_2\sim N(a_{12}+b_{12}Y_2,v_{1\mid2})\) and \(Y_2\mid Y_1\sim N(a_{21}+b_{21}Y_1,v_{2\mid1})\), with positive conditional variances. If they come from a nondegenerate bivariate normal distribution, both regression slopes are determined by the same covariance. Specifically, \(b_{12}=\operatorname{Cov}(Y_1,Y_2)/\operatorname{Var}(Y_2)\) and \(b_{21}=\operatorname{Cov}(Y_1,Y_2)/\operatorname{Var}(Y_1)\). The conditional variances are \(\operatorname{Var}(Y_1)(1-\rho^2)\) and \(\operatorname{Var}(Y_2)(1-\rho^2)\), where \(\rho\) is the correlation. These expressions imply the restriction below.

$$ b_{12}v_{2\mid1}=b_{21}v_{1\mid2} $$

The restriction follows by substitution: the left side is \(\{\operatorname{Cov}(Y_1,Y_2)/\operatorname{Var}(Y_2)\} \{\operatorname{Var}(Y_2)(1-\rho^2)\} =\operatorname{Cov}(Y_1,Y_2)(1-\rho^2)\). The right side reduces to the same expression. Failure of this condition rules out a shared nondegenerate bivariate normal distribution with those conditionals. Satisfying it is not, by itself, a general proof of compatibility for more complex models or more blocks; it is a targeted check under the stated Gaussian assumptions.

Worked Example: Finding an Incompatibility

Consider the hypothetical conditionals \(Y_1\mid Y_2\sim N(1+0.8Y_2,1)\) and \(Y_2\mid Y_1\sim N(-0.5+0.4Y_1,1)\). Both are individually valid normal regression models with positive residual variances. If they came from one bivariate normal distribution, the compatibility restriction would require \(b_{12}v_{2\mid1}=b_{21}v_{1\mid2}\).

Substitution gives \(0.8(1)=0.4(1)\), or \(0.8=0.4\), which is false. Thus these conditionals cannot both be the conditionals of the same nondegenerate bivariate normal distribution. A chained algorithm could nevertheless alternate between them; that fact would not make the models compatible. The intercepts cannot repair this variance-and-slope contradiction.

Diagnostics, Alternatives, and Limitations

No single diagnostic certifies a chained-equation analysis. Inspect traces across iterations for summaries such as block means, variances, and selected cross-block summaries. Persistent drift, large oscillations, or chains that settle at different levels from different initial values indicate that the algorithm may not have stabilized. Also check the imputed values against observed ranges and scientific constraints, and inspect whether model fitting produces separation, implausible extrapolation, or unstable estimates. These checks help identify failures; stable traces alone do not prove that the conditional models are correctly specified, compatible, or identified by the data.

Overlap is especially important for whole-block missingness. If a target block is observed only in subjects whose other blocks or covariates occupy a narrow range, predictions for subjects outside that range rely on extrapolation. A conditional model may appear numerically stable while being unsupported for a substantial missingness pattern. Compare the observed predictors of subjects with and without each block, and verify that the data contain enough observed target blocks in the regions where imputations are required.

Chained equations are one alternative to a joint multiple-imputation model, which specifies a joint distribution directly, and to likelihood-based approaches such as EM for a specified model. They can be convenient when different blocks require different conditional families. In contrast, a joint model makes its joint assumptions explicit, while chained equations can leave their joint implications unclear if the conditionals are incompatible. Matrix-completion methods take a different route by imposing low-rank structure; they are not interchangeable with conditional stochastic imputation. The appropriate choice depends on the measurement scales, scientific model, missingness patterns, and the estimand.

A common mistake is to treat successful convergence as evidence that the imputations are valid: “the traces are flat, so the conditional models must describe the data.” Flat traces show only that selected summaries appear stable under the implemented updates. They do not establish MAR, adequate overlap, correct conditional forms, compatibility, or appropriate uncertainty. Assess those assumptions and diagnostics separately, and report important limitations rather than relying on convergence alone.

Key takeaway: Chained equations update each missing modality block from a specified conditional model, using current values of the other blocks. Their practical flexibility does not guarantee a coherent joint distribution. Check support, model fit, stochastic variation, stability, and compatibility as distinct questions.

Check Your Understanding

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

  1. In one sweep, what happens to observed values of a modality block, and what values are used as predictors when a later block is updated?
  2. A conditionally imputed block is missing for every subject in a subgroup defined by a covariate. What issue does this create?
  3. For Gaussian conditionals, let \(b_{12}=0.6\), \(v_{2\mid1}=2\), \(b_{21}=0.3\), and \(v_{1\mid2}=4\). Does the bivariate normal compatibility restriction hold?
  4. Why is a stable trace not enough to establish that chained-equation imputations are valid?

Solutions. (1) Observed values remain fixed; later updates use the current values of other blocks, including any values imputed earlier in the sweep. (2) The target conditional distribution in that subgroup may not be estimable from observed target blocks, so imputations there require extrapolation or additional assumptions. (3) Yes: \(b_{12}v_{2\mid1}=0.6(2)=1.2\), and \(b_{21}v_{1\mid2}=0.3(4)=1.2\). This satisfies the stated necessary restriction for a shared nondegenerate bivariate normal model, though it does not establish compatibility in a more general setting. (4) Stability of selected summaries does not verify MAR, overlap, model specification, compatibility, or adequate uncertainty.

Clinical Biostats