01 / 21

Missing Data
Concepts

Understand why data goes missing and how the mechanism behind missingness shapes every analysis you do: MCAR, MAR, and MNAR.

Biostatistics

Why Missing Data Matters

In nearly every real-world study, some observations are incomplete. Patients drop out of clinical trials, sensors malfunction, or respondents skip survey questions. Ignoring this problem can bias your results, shrink your sample size, and lead to incorrect conclusions.

What Is a Missing Data Mechanism?

A missing data mechanism describes the statistical relationship between the probability that a value is missing and the data itself. We define an indicator variable \( R_i \):

Donald Rubin (1976) classified missing data into three mechanisms based on what determines \( P(R_i = 0) \). This classification drives every decision about how to handle the gaps.

The Three Mechanisms

MCAR
Missing Completely At Random: missingness is unrelated to any data, observed or unobserved.
MAR
Missing At Random: missingness depends on observed variables but not on the missing value itself.
MNAR
Missing Not At Random: missingness depends on the unobserved (missing) value itself.

MCAR: Formal Definition

Data is Missing Completely At Random when the probability of a value being missing does not depend on any data: neither the observed values nor the missing values.

Example: A lab technician accidentally drops 5 blood samples. The breakage has nothing to do with the cholesterol levels in those samples: pure chance.

Visualizing MCAR

ID Age BP Chol BMI Glucose 001 45 130 210 27.1 98 002 62 ? 185 31.4 105 003 38 118 195 ? 91 004 55 142 ? 24.8 112 005 71 155 240 29.3 ? MCAR: Missing cells are scattered randomly No pattern: different rows, different columns

MAR: Formal Definition

Data is Missing At Random when the probability of missingness depends on observed data but, conditional on those observed values, does not depend on the missing value itself.

Example: Older patients are more likely to skip a follow-up visit. Blood pressure is missing more often for patients aged 65+. The missingness depends on age (observed), not on the missing BP value.

MNAR: Formal Definition

Data is Missing Not At Random when the probability of missingness depends on the unobserved value itself, even after accounting for all observed data.

Example: Patients with very high depression scores are most likely to drop out of a mental health study. The missing depression scores are systematically higher than those recorded: the reason for missingness is the missing value.

Key Distinction: What Drives Missingness?

What does \( P(R=0) \) depend on?
MCAR Nothing Missingness is purely random ✓ Safest to handle MAR Observed data only Conditional on observed, independent of missing Manageable with methods MNAR The missing value Even after conditioning, mechanism is linked ✕ Hardest to address Increasing complexity and potential for bias →

Why the Mechanism Matters

1
Bias risk: MCAR causes no systematic bias. MAR can be corrected with proper methods. MNAR always introduces bias unless you model the mechanism explicitly.
2
Method selection: Simple deletion works under MCAR. Multiple imputation works under MAR. MNAR requires sensitivity analyses or pattern-mixture models.
3
Inference validity: Using the wrong assumption (e.g., treating MNAR as MAR) can make confidence intervals and \( p \)-values unreliable.

How to Handle Missing Data

1
Examine the pattern: How much data is missing? Which variables? Is it clustered in certain subgroups?
2
Diagnose the mechanism: Compare observed vs. missing groups. Use Little's MCAR test (\( \chi^2 \) test for MCAR). Use domain knowledge to assess MAR vs. MNAR.
3
Choose a method: MCAR → listwise deletion or mean imputation. MAR → multiple imputation or maximum likelihood. MNAR → sensitivity analysis.
4
Validate: Report how much data was missing, what mechanism you assumed, and which method you used. Run sensitivity checks.

Example 1: Identifying MCAR

A lab runs blood glucose tests on 200 patients. Due to a power outage, 15 randomly selected samples are destroyed. Patients with missing results are spread evenly across all ages, sexes, and health conditions.

Observed (n=185) Mean age: 52.1 Female: 48% Mean glucose: 104 mg/dL Diabetic: 22% Missing (n=15) Mean age: 51.8 Female: 47% Glucose: unknown Diabetic: 20% ≈

Example 2: Identifying MAR

A clinical trial tracks weight loss over 12 months. Younger participants (< 40) have a 5% dropout rate, while older participants (60+) have a 30% dropout rate. Among older participants, those who dropped out had similar starting weights to those who stayed.

Dropout Rate by Age Group 30% 20% 10% 0% < 40 5% 40-59 12% 60+ 30%

Example 3: Identifying MNAR

A study measures household income via survey. High-income respondents are significantly more likely to refuse the income question, regardless of their age, education, or other observed characteristics.

Income Distribution: Observed vs. True Income → Frequency True distribution Observed distribution Missing: high incomes

Common Mistakes

✕ Assuming MCAR by default
Many analysts delete incomplete cases without checking the mechanism. If data is MAR or MNAR, this introduces bias.
✕ Confusing MAR with MCAR
MAR is not "missing at random" in everyday language. It means missingness depends on observed data: a crucial distinction.
✕ Using mean imputation always
Replacing missing values with the overall mean underestimates variance and distorts relationships between variables, even under MCAR.

Summary Comparison

Feature MCAR MAR MNAR
Depends on Nothing Observed data Missing value
Bias from deletion None Yes Severe
Testable? Partly (Little's test) Not directly Not directly
Best method Listwise deletion Multiple imputation Sensitivity analysis
Frequency Rare Most common Common but hard to detect

Question 1 of 5

A researcher accidentally spills coffee on 10 survey forms, destroying the data. The spill was random and unrelated to any respondent characteristics. This is an example of:

Question 2 of 5

In a blood pressure study, older patients are more likely to miss follow-up visits, but among patients of the same age, the probability of missing a visit does not depend on the patient's actual blood pressure. What mechanism is this?

Question 3 of 5

Which of the following is true about listwise deletion (complete-case analysis)?

Question 4 of 5

Patients with the most severe depression drop out of a mental health trial because their symptoms make it too difficult to attend sessions. The missing depression scores are systematically higher than those recorded. This is:

Question 5 of 5

A researcher replaces all missing values with the overall sample mean. Which of the following is a major drawback of this approach?