← All notes

Statistical note

Multiple imputation

Propagate uncertainty from plausible missing values instead of replacing each missing entry once.

6 min read

Does the design create independent, comparable observations that support the intended scientific claim? This note turns that question into a practical analysis workflow.

Conceptual guide to Multiple imputation

Core idea

Propagate uncertainty from plausible missing values instead of replacing each missing entry once. The method is useful only when its target, data-generating assumptions, and unit of analysis match the scientific question.

T=Uˉ+(1+1/m)BT=\bar U+(1+1/m)B

The equation is a compact statement of the target; it is not a substitute for checking design and data quality. State what each observation represents, how it entered the sample, and which sources of dependence remain.

Practical workflow

  1. Write the scientific question and estimand in one sentence.
  2. Identify biological units, technical replicates, nesting, repeated measurements, and exclusions.
  3. Visualise raw observations and group structure before fitting the method.
  4. Check assumptions using design knowledge, diagnostic plots, and sensitivity analyses.
  5. Report the estimate, uncertainty, effect magnitude, sample sizes at every level, and limitations.
import numpy as np
from scipy import stats

# Summarise at the independent experimental-unit level.
cell_values = np.array([[2.1, 2.3, 2.2], [2.7, 2.8, 2.6]])
replicate_means = cell_values.mean(axis=1)
print(stats.bootstrap((replicate_means,), np.mean).confidence_interval)

Interpretation and failure modes

Do not read a software output as an automatic scientific conclusion. Ask whether dependence was modeled, whether preprocessing used information from validation data, whether missingness or selection is informative, and whether the reported uncertainty covers every level of sampling. Prefer estimates and intervals to threshold-only language.

Microscopy case study

Impute missing morphology covariates several times, fit the model to each completed dataset, and pool estimates rather than mean-filling.

Connections

Use the tags above to continue to notes on design, assumptions, uncertainty, diagnostics, and complementary methods. A robust analysis normally combines several concepts rather than selecting one test in isolation.