Tutorials › Multi-Omics Data Integration › Complete-Case Analysis With a Worked Example

Missing Modalities and Partially Observed Subjects · Tutorial 68 of 597

Complete-Case Analysis With a Worked Example

Calculate a complete-case integrated estimate and distinguish precision for the observed subset from valid inference to the full study population.

Advanced 12 min read

What You'll Learn

  • Define a common integrated score before restricting the analysis to complete cases.
  • Calculate the complete-case mean, sample standard deviation, and standard error.
  • State when the complete-case estimate targets the full population mean.
  • Explain how outcome-related selection changes the population represented by complete cases.
  • Separate reduced sample size from selection bias when assessing precision.
  • Identify diagnostics and limitations of complete-case analysis.

What a Complete-Case Estimate Represents

In a multi-omics study, a subject may have transcriptomic measurements but lack proteomic measurements, or may be missing another modality needed for the planned integration. Complete-case analysis keeps only subjects with every required modality observed. It is easy to calculate, but its meaning depends on two choices: how the integrated quantity is defined and which population the retained subjects represent.

To make the target explicit, suppose each subject has \(M\) modalities and the analysis defines one integrated score \(Y_i\) from those modalities. For example, \(Y_i\) might be a prespecified weighted combination of modality-level summaries after the chosen preprocessing. The score, its transformations, and its weights must be defined consistently for every subject in the target population. Complete-case analysis cannot estimate a score that is undefined for subjects whose modalities are missing.

Definition: Let \(A_{im}=1\) if subject \(i\)'s required measurements for modality \(m\) are observed, and \(A_{im}=0\) otherwise. The complete-case indicator is \(C_i=\prod_{m=1}^{M} A_{im}\). Thus, \(C_i=1\) only when all required modalities are observed. For a defined integrated score \(Y_i\), the complete-case mean is \(\bar{Y}_{CC}=\frac{\sum_{i=1}^{n} C_iY_i}{\sum_{i=1}^{n}C_i}\), provided at least one subject is complete.

The population target considered here is \(\mu=E(Y_i)\), the mean integrated score in the study's target population. The complete-case mean directly describes \(E(Y_i\mid C_i=1)\), the mean among subjects who are complete. These two quantities need not be equal. When they differ, increasing the number of complete cases can make the estimate of the complete-case mean more precise without making it representative of the full target population.

Assumptions and a Justification

The calculation requires a meaningful score \(Y_i\) for each target-population subject, even if it cannot be computed from that subject's observed data. The complete-case estimate also requires at least one complete subject. For the usual standard error, assume subjects are independent draws from the relevant population and that the score has finite variance. If the goal is inference about the full target population, an additional selection condition is needed: a sufficient condition is that complete-case status is independent of the integrated score, \(C_i\perp Y_i\). This is the MCAR condition for complete-case selection with respect to this score.

Under that condition, the distribution of the score among complete subjects equals its distribution in the target population. In particular,

$$ E(Y_i\mid C_i=1)=E(Y_i)=\mu. $$

Conditional on observing \(n_{CC}=\sum_i C_i>0\) complete subjects, the complete-case mean is an average of \(n_{CC}\) scores with mean \(\mu\). Its conditional expectation is therefore \(\mu\), and its variance is \(\sigma_Y^2/n_{CC}\), where \(\sigma_Y^2\) is the target-population variance of the score. In practice, estimate that variance with the complete-case sample variance:

$$ s_{CC}^{2}=\frac{\sum_{i:C_i=1}(Y_i-\bar{Y}_{CC})^{2}}{n_{CC}-1}, \qquad SE(\bar{Y}_{CC})=\frac{s_{CC}}{\sqrt{n_{CC}}}. $$

The standard error describes sampling variability under the assumed sampling and selection model. It does not account for bias caused by selective completeness. If \(C_i\) depends on \(Y_i\), the complete-case mean generally estimates \(E(Y_i\mid C_i=1)\), not \(\mu\). If completeness depends on observed covariates related to \(Y_i\), a raw complete-case mean can likewise differ from the marginal population mean, even when the missingness is MAR. The earlier material on missingness mechanisms helps distinguish these assumptions; the mechanism cannot generally be established from observed data alone.

Worked Example: Calculating an Integrated Complete-Case Mean

Suppose a hypothetical study defines \(Y_i\) as the equally weighted average of three prespecified, comparably scaled modality summaries. Five subjects have all three modalities observed, with integrated scores \(0.4,\ 0.8,\ 1.0,\ 1.2,\ 1.6\) score units. Other enrolled subjects are not complete. Calculate the complete-case mean, standard deviation, and standard error.

The complete-case count is \(n_{CC}=5\). The mean is

$$ \bar{Y}_{CC}=\frac{0.4+0.8+1.0+1.2+1.6}{5} =\frac{5.0}{5}=1.00\text{ score units}. $$

The deviations from the mean are \(-0.6,\ -0.2,\ 0,\ 0.2,\ 0.6\) score units. Therefore,

$$ s_{CC}^{2}=\frac{(-0.6)^2+(-0.2)^2+0^2+(0.2)^2+(0.6)^2}{5-1} =\frac{0.80}{4}=0.200\text{ score units}^2, \qquad s_{CC}=\sqrt{0.200}=0.4472\text{ score units}. $$

The estimated standard error is \(0.4472/\sqrt{5}=0.200\) score units. If complete-case status is independent of the score and the subjects are independent, \(1.00\) is an estimate of the target-population mean. Without that selection assumption, it estimates the mean among subjects with all three modalities observed. A small standard error would not resolve this distinction.

How Selection Changes the Target

A complete-case analysis changes which subjects contribute to the estimate. If completion is related to the integrated score, or to measured characteristics that predict it, the retained subjects may have a different score distribution from the target population. The resulting difference is a change in estimand, and possibly selection bias if the analyst interprets the complete-case mean as the full-population mean.

Worked Example: A Selected Subset Has a Different Mean

Consider a hypothetical cohort of eight subjects. Four have all required modalities observed, and their integrated scores are \(0,\ 1,\ 2,\ 3\). The complete-case mean is

$$ \bar{Y}_{CC}=\frac{0+1+2+3}{4}=1.50\text{ score units}. $$

For illustration only, suppose the scores for the four incomplete subjects are known to be \(4,\ 5,\ 6,\ 7\). In an actual complete-case analysis these integrated scores could not be calculated from the missing modality data; they are supplied here only to reveal the full-cohort benchmark. The mean across all eight scores is

$$ \bar{Y}_{\text{all}}=\frac{0+1+2+3+4+5+6+7}{8} =\frac{28}{8}=3.50\text{ score units}. $$

In this constructed example, the complete-case mean is \(2.00\) score units below the full-cohort mean. The complete cases represent a lower-score subset, so the complete-case estimate does not recover the full-cohort mean. In real data the unavailable scores prevent this direct comparison; observed differences in clinical or technical characteristics between complete and incomplete subjects can flag concern, but cannot by themselves prove or rule out selection bias.

Completeness is not necessarily related to the score itself to create this problem. For example, if subjects with a particular observed clinical characteristic are less likely to provide every modality, and that characteristic predicts the score, the complete cases may over- or under-represent score values. MAR does not automatically make the unadjusted complete-case mean representative: conditional independence given observed covariates is not the same as independence marginally. Appropriate adjustment may be possible under additional assumptions, but it is not part of the raw complete-case calculation.

Precision, Diagnostics, and Alternatives

Discarding incomplete subjects reduces the number contributing to the estimate. Under independent sampling and MCAR, the standard error is approximately \(s_{CC}/\sqrt{n_{CC}}\). If the score variance is similar to what it would be in the full sample, fewer complete cases mean less precision. However, the observed standard error need not always be larger: selection can also change the score variance among retained subjects. A narrow interval among a selected low-variability subset does not establish precise estimation of the full-population mean.

Worked Example: Quantifying the Precision Cost of Fewer Cases

Suppose a hypothetical study has 100 enrolled subjects, but only 36 have all required modalities. Assume complete-case status is MCAR and the score standard deviation is \(12\) score units. The estimated standard error based on the complete cases is

$$ SE_{CC}=\frac{12}{\sqrt{36}}=\frac{12}{6}=2.00\text{ score units}. $$

If all 100 subjects had been observed and the same standard deviation applied, the corresponding standard error would be \(12/\sqrt{100}=1.20\) score units. The ratio is \(2.00/1.20=1.667\), matching \(\sqrt{100/36}=1.667\). Under these stated assumptions, using 36 rather than 100 cases increases the standard error by about \(66.7\%\). This comparison isolates the loss from sample size; it does not imply that the actual complete-case standard deviation must equal the full-sample standard deviation.

For a small sample, an interval for the complete-case mean can be based on a \(t\) distribution if the complete-case scores are independent and approximately normally distributed. For the five scores in the first example, a 95% interval under those assumptions is \(1.00\pm t_{0.975,4}(0.200)=1.00\pm2.776(0.200)\), or approximately \([0.445,\ 1.555]\) score units. This interval concerns the mean represented by the complete-case sampling model; interpreting it as an interval for the full target-population mean additionally requires valid selection assumptions. It is not a 95% probability statement about the fixed parameter.

Useful diagnostics include reporting the number and proportion of complete subjects, listing observed modality-availability patterns, and comparing available covariates between complete and incomplete subjects. Examine whether completeness varies by site, batch, clinical group, or other observed predictors of the integrated score. These checks can expose a plausible selection problem, but similar observed groups do not establish MCAR, and unobserved differences remain possible. Also verify that the integrated score was defined before restricting the analysis and that preprocessing or weights have not inadvertently changed across availability patterns.

Complete-case analysis is transparent and straightforward when the target is explicitly the population with all modalities observed, or when selection assumptions justify generalization to the full target population. It can be inefficient when many subjects have partial data, and misleading when complete cases are selected. Alternatives include observed-data likelihood, imputation, and inverse-probability weighting; each requires its own modeling assumptions and diagnostics. Pairwise calculations do not automatically solve the problem of defining a coherent integrated estimate.

Common Mistakes

  • Calling the complete-case mean the cohort mean by default. It directly estimates the mean among complete subjects. Generalization to the target population requires justified selection assumptions.
  • Treating MAR as sufficient for the raw mean. MAR conditional on observed covariates does not generally imply that complete and incomplete subjects have the same marginal score distribution.
  • Equating a small standard error with lack of bias. The usual standard error quantifies sampling variability under its assumptions; it does not measure unmodeled selection bias.
  • Assuming fewer cases must produce a larger observed standard error. The sample size tends to reduce precision, but selection can also alter the score variance. Report both \(n_{CC}\) and \(s_{CC}\).
  • Defining the score only after seeing which subjects are complete. A score intended for a wider target population must have a consistent definition for that population, including subjects whose values are not observed.
Key takeaway: A complete-case integrated estimate is the mean among subjects with every required modality observed. It estimates the full target-population mean only under appropriate selection assumptions; fewer cases affect precision, while selective completeness can also change the estimand.

Check Your Understanding

Answer each question, then compare with the solutions below.

  1. In a study with three required modalities, a subject has availability indicators \(1,1,0\). What is the subject's complete-case indicator?
  2. Four complete-case scores are \(2,\ 4,\ 4,\ 6\) score units. Calculate their mean.
  3. Does MAR by itself guarantee that the unadjusted complete-case mean estimates the marginal target-population mean? Explain briefly.
  4. If the standard deviation is unchanged but the complete-case count falls from 64 to 16, by what factor does the standard error change?
  5. Why can comparing observed covariates in complete and incomplete subjects not prove MCAR?

Solutions. (1) \(C_i=1\times1\times0=0\), so the subject is not complete. (2) The mean is \((2+4+4+6)/4=4.00\) score units. (3) No. MAR conditional on observed covariates does not generally make completeness independent of the score marginally; the raw complete-case mean can differ from the target mean. (4) The standard error is proportional to \(1/\sqrt{n_{CC}}\), so it changes by \(\sqrt{64/16}=2\): it doubles. (5) The comparison only concerns observed covariates. Selection may still depend on unobserved quantities or differ in ways those comparisons cannot detect.

Clinical Biostats