Tutorials › Multiple Imputation by Chained Equations (MICE) › Separating Selection Effects From Imputation Discrepancies

Convergence and Diagnostics Against Observed Data · Tutorial 246 of 497

Separating Selection Effects From Imputation Discrepancies

Use covariate-stratified and standardized comparisons to assess whether observed–imputed differences are plausibly explained by selection or point to patterns needing investigation.

Advanced 12 min read

What You'll Learn

  • Distinguish marginal differences from differences within measured-covariate strata.
  • Decompose a mean gap into composition and conditional-distribution components.
  • Standardize observed and imputed summaries to a common covariate distribution.
  • Use missingness patterns and common support to qualify diagnostic conclusions.
  • Recognize why an observed–imputed comparison cannot validate unobserved values by itself.

Why a Marginal Gap Has More Than One Explanation

An imputed value belongs to a case whose target variable was missing; an observed value belongs to a case whose target was recorded. These groups can differ in their measured covariates and in their missingness patterns. As a result, their marginal distributions can differ even when their conditional distributions agree within relevant covariate strata. Conversely, similar marginal distributions can conceal conditional discrepancies that point in opposite directions across strata.

The diagnostic question is therefore not simply whether the observed and imputed marginals match. It is whether measured differences in group composition plausibly account for the marginal gap, and whether meaningful gaps remain after comparing like with like. The earlier material on why imputed and observed marginals need not match motivates this distinction; here the focus is on interpreting it carefully.

Definition: Let \(Y\) be a variable with some missing values, and let \(R=1\) if \(Y\) is observed and \(R=0\) if it is missing. Let \(X\) denote measured covariates used to form relevant strata. A composition difference is a difference between the distributions of \(X\) among cases with \(R=1\) and \(R=0\). A conditional discrepancy is a difference between the distributions of \(Y\) given \(X\) for the observed and missing groups. The latter group’s \(Y\) values are imputations, not observed outcomes.

A plausible selection explanation is that the groups have different distributions of measured \(X\), while observed and imputed \(Y\) behave similarly within comparable values of \(X\). Under a missing-at-random assumption, if the observed covariates adequately capture the variables associated with missingness and the target, equality of the conditional distributions is expected in the population. This is a diagnostic interpretation, not proof that missingness is at random. Unmeasured predictors, a misspecified imputation model, chance variation, or lack of overlap can also affect the comparison.

Separate Composition From Conditional Differences

For a quantitative target, write \(\mu_r(x)=E(Y\mid R=r,X=x)\) and let \(F_r\) be the distribution of \(X\) in group \(R=r\). The marginal mean in each group combines its conditional means with its own covariate composition. Thus the difference between imputed and observed means can be decomposed by adding and subtracting the observed conditional mean averaged over the missing group’s covariate distribution:

$$ E(Y\mid R=0)-E(Y\mid R=1) = \left\{\int \mu_1(x)\,dF_0(x)-\int \mu_1(x)\,dF_1(x)\right\} + \int\{\mu_0(x)-\mu_1(x)\}\,dF_0(x). $$

The first bracket is a composition component: it asks how much the observed conditional means would differ if averaged over the missing group’s rather than the observed group’s covariate distribution. The final term is a conditional-discrepancy component, averaged over the missing group’s covariate distribution. This is an algebraic decomposition, not a causal decomposition. Reversing the reference distribution gives a different allocation between components, although the total difference is unchanged.

In practice, \(X\) may include several variables and the conditional distributions may be complex. Stratification is most interpretable when there are a few substantively important covariates and enough cases in each stratum. Standardization instead chooses a common set of covariate weights and averages each group’s stratum-specific summaries over those same weights. For categorical targets, compare conditional proportions or full conditional category distributions, not only means.

Key diagnostic principle: A marginal gap is plausibly attributable to measured composition when it is largely accounted for by different covariate weights and conditional comparisons are reasonably aligned in strata with adequate data. A residual conditional gap merits investigation, but does not by itself identify its cause.

Worked Comparisons

Worked Example: A Binary Outcome With a Composition Difference

Consider a hypothetical binary target \(Y\), where 1 denotes an event. Let \(X\) be a measured risk group. Among 100 observed cases, the low-risk group has 8 events among 80 cases and the high-risk group has 12 among 20. Among 100 cases with missing \(Y\), the imputation results have 2 events among 20 low-risk cases and 48 among 80 high-risk cases. Check whether the marginal gap is explained by group composition.

The observed event proportion is \(20/100=0.20\). The imputed event proportion is \(50/100=0.50\), a difference of 0.30, or 30 percentage points. This large marginal difference occurs alongside very different risk-group proportions: 80% of observed cases are low-risk, compared with 20% of missing cases.

Within the low-risk stratum, the observed proportion is \(8/80=0.10\), while the imputed proportion is \(2/20=0.10\). Within the high-risk stratum, they are \(12/20=0.60\) and \(48/80=0.60\). The stratum-specific proportions agree exactly in these hypothetical data.

For another view, standardize both groups to equal weights for the two risk strata. The standardized observed proportion is \(0.5(0.10)+0.5(0.60)=0.35\). The standardized imputed proportion is also \(0.5(0.10)+0.5(0.60)=0.35\). In this example the marginal gap is fully explained by the groups’ differing measured compositions. This supports a selection explanation, but does not prove that the imputed outcomes are correct.

Worked Example: A Conditional Gap Persists After Standardization

Suppose a hypothetical continuous target \(Y\), measured in score points, is compared across low and high levels of a measured covariate. Observed-group means are 10 points in the low stratum and 20 in the high stratum. Imputed-group means are 12 and 24 points, respectively. The observed group is 80% low and 20% high; the missing group is 20% low and 80% high. Calculate the raw and standardized mean differences.

The observed marginal mean is \(0.8(10)+0.2(20)=12\) points. The imputed marginal mean is \(0.2(12)+0.8(24)=21.6\) points. The raw imputed-minus-observed gap is \(21.6-12=9.6\) points.

The composition component, using the observed conditional means as the reference, is the mean those observed values would have under the missing group’s weights minus their mean under the observed group’s weights: \(\{0.2(10)+0.8(20)\}-\{0.8(10)+0.2(20)\}=18-12=6\) points. The conditional component averaged over the missing group’s weights is \(0.2(12-10)+0.8(24-20)=0.4+3.2=3.6\) points. Together these components give \(6+3.6=9.6\) points.

Now use common weights of 40% low and 60% high. The standardized observed mean is \(0.4(10)+0.6(20)=16\) points; the standardized imputed mean is \(0.4(12)+0.6(24)=19.2\) points. Their standardized gap is 3.2 points. Thus composition accounts for part of the raw difference, but a conditional gap remains: imputed means exceed observed means by 2 points in the low stratum and 4 points in the high stratum. This warrants investigation; it is not, on its own, evidence that the imputation model is wrong.

Worked Example: A Missingness Pattern With Weak Overlap

In a hypothetical binary-outcome diagnostic, cases are divided by a measured age group. Among observed outcomes, the younger group has 20 events among 40 cases, but there are no observed outcomes for the older group. Among cases with missing outcomes, imputations yield 8 events among 20 younger cases and 18 among 30 older cases. What can the comparison establish?

The observed event proportion is \(20/40=0.50\); the imputed proportion is \((8+18)/(20+30)=26/50=0.52\). The marginal difference is only 0.02, or 2 percentage points. Within the younger group, however, the observed proportion is \(0.50\), versus \(8/20=0.40\) imputed. For the older group, no observed proportion can be calculated: its observed denominator is zero.

The small overall gap does not establish conditional agreement. There is no observed comparison for older cases, so the data provide no direct observed-versus-imputed check in that stratum. Standardizing to a distribution that assigns positive weight to older cases cannot solve this problem; the observed older-group conditional proportion is unavailable. The appropriate conclusion is that overlap is insufficient for this comparison, and the imputed older-group values require investigation using other relevant information and model checks.

Use Missingness Patterns and Diagnostics Carefully

When several variables have missing values, a single \(R\) indicator may hide important structure. A missingness pattern records which variables are observed and which are missing for a case. The distribution of a target and its predictors can differ across these patterns. Comparisons within patterns can clarify whether a gap is associated with measured case composition, but they do not make imputed target values observed data. Report the pattern definition, the stratum sizes, and the extent of overlap; avoid pooling unlike patterns into a single unexplained category.

Diagnostics are most informative when strata are substantively justified, sufficiently populated, and represented in both groups. Sparse cells make proportions and means unstable; a visually striking gap in a very small cell may be mostly sampling variation. Conversely, large pooled samples do not guarantee useful comparisons if one group is absent from a key stratum. Check the distributions of important covariates, the conditional summaries within strata, and whether conclusions change under reasonable choices of common weights. For continuous covariates, coarse bins can conceal residual differences, while excessively fine bins can create sparse comparisons.

For an imputed dataset, summaries of the missing cases depend on the fitted imputation procedure and the realized imputations. Multiple imputations can reflect some uncertainty in those summaries, but agreement across imputed datasets does not independently validate the unobserved values: all may reflect the same model assumptions. A comparison with observed cases is a model diagnostic, not a direct accuracy assessment for the missing cases.

Alternatives, Limits, and Common Mistakes

ApproachUseful forMain limitation
Raw marginal comparisonDescribing the overall observed–imputed gapMixes covariate composition with conditional differences
Stratified comparisonFinding where gaps occur within measured subgroupsCan be unstable in sparse strata and may omit finer covariate structure
Common-weight standardizationComparing summaries under the same covariate compositionDepends on chosen weights and requires adequate overlap
Model-based conditional summariesHandling several covariates jointly when supported by the dataCan hide misspecification or extrapolate beyond observed support

A frequent mistake is to say, “The imputed marginal differs from the observed marginal, so the imputation is defective.” That conclusion ignores selection into the observed and missing groups. The correction is to compare relevant covariate compositions, examine conditional distributions, and state what the data can and cannot support. The opposite mistake is to say, “The adjusted summaries agree, so the imputations must be valid.” Agreement is reassuring only for the measured comparisons made; it cannot rule out unmeasured selection or errors shared by the imputation model.

These diagnostics have limits. Conditional agreement may arise by chance, and a conditional discrepancy may reflect sampling variability, unmodeled interactions, an unsuitable functional form, or a real difference associated with unmeasured causes of missingness. Where missingness depends on the unobserved target even after conditioning on measured covariates, the observed data alone cannot identify the missing group’s true conditional distribution. Therefore, present these comparisons as evidence that prioritizes investigation—not as a definitive test of validity or a causal claim.

A Practical Review Sequence

1
Define the groups and target.
State which cases have observed \(Y\), which have missing \(Y\), and how the latter’s imputed summaries were produced.
2
Inspect measured composition.
Compare important covariates and missingness patterns across groups; record sparse or empty strata.
3
Compare conditionally.
Within supported strata, examine relevant distributional features, not only a single overall mean or proportion.
4
Standardize and qualify.
Use common weights when appropriate, then report overlap, uncertainty, and the limits of interpretation.

Check Your Understanding

Answer each question, then compare with the brief solutions.

  1. If observed and imputed event proportions differ marginally but agree within each adequately populated risk stratum, what is a plausible explanation? Does this prove the imputations are valid?
  2. Observed-group means are 4 and 10 in two strata; imputed-group means are 5 and 12. With common weights 0.25 and 0.75, calculate both standardized means and their difference.
  3. Why is a common-weight comparison unreliable when one group has no cases in a stratum receiving positive weight?
  4. Can similar observed and imputed marginals rule out missingness related to an unmeasured value of the target? Explain.

Solutions. (1) Different stratum composition can explain the marginal gap, but conditional agreement is diagnostic evidence, not proof of validity. (2) The standardized observed mean is \(0.25(4)+0.75(10)=8.5\); the imputed mean is \(0.25(5)+0.75(12)=10.25\). The imputed-minus-observed gap is \(10.25-8.5=1.75\) units. (3) The missing group’s or observed group’s conditional summary is unavailable there, so the comparison requires unsupported extrapolation. (4) No. Similar marginals cannot rule out unmeasured selection or errors in the imputation model.

Clinical Biostats