Why Missing Data Matters
The Impact of Missing Data
| ID | Education | Income | Status |
|---|---|---|---|
| 1 | College | $65,000 | ✓ |
| 2 | High School | Missing | ? |
| 3 | Graduate | $95,000 | ✓ |
| 4 | College | Missing | ? |
| 5 | High School | $35,000 | ✓ |
Missing data is ubiquitous in real research. Surveys have non-response, sensors fail, participants drop out. How we handle missing data can dramatically affect our conclusions - bad choices lead to bias.
What Can Go Wrong
Missing data causes multiple problems: biased estimates if missingness is related to the variable itself, reduced power from smaller effective samples, and potentially invalid statistical tests.
How Much Missing Is Too Much?
Usually OK
Manageable
Concerning
Serious
Critical
While there's no universal threshold, <5% missing is usually trivial, 5-20% needs careful handling, and >40% is severe. But the pattern of missingness matters more than the percentage - 10% MNAR can be worse than 30% MCAR.
Missing Data Mechanisms
Missing Completely At Random
Missing Completely At Random (MCAR) means the probability of missing data is unrelated to any observed or unobserved variables. Like a truly random coin flip deciding which data points are lost. Rare in practice but easiest to handle.
Missing At Random
| Age Group | Income Missing % |
|---|---|
| 18-30 | 30% |
| 31-50 | 15% |
| 51-70 | 10% |
Missing At Random (MAR) means missingness can be predicted from OTHER observed variables, but not from the missing variable itself. If young people skip income questions, but rich and poor young people skip equally, it's MAR.
Missing Not At Random
Missing Not At Random (MNAR) means the probability of missing depends on the unobserved value itself. High-income people are more likely to skip income questions. This is the hardest to handle and causes unavoidable bias without special techniques.
Diagnosing Missingness Pattern
You can test for MCAR using Little's test. Comparing complete cases to incomplete cases on observed variables helps assess MAR. MNAR is hardest to detect - it requires domain knowledge about why data is missing.
Simple Approaches
Complete Case Analysis
| ID | X | Y | Z | Status |
|---|---|---|---|---|
| 1 | 5 | 3 | 8 | ✓ Kept |
| 2 | 3 | NA | 6 | ✗ Deleted |
| 3 | 7 | 9 | 4 | ✓ Kept |
| 4 | NA | 5 | 2 | ✗ Deleted |
Listwise deletion removes any case with any missing value. It's simple and gives unbiased estimates ONLY if data is MCAR. But it can waste enormous amounts of data - 10 variables with 5% each missing could lose 40% of cases!
Available Case Analysis
| X | Y | Z | |
|---|---|---|---|
| X | 1.00 | n=85 | n=92 |
| Y | n=85 | 1.00 | n=78 |
| Z | n=92 | n=78 | 1.00 |
Pairwise deletion uses all available data for each specific analysis. For correlations, it uses all cases with both variables present. It retains more data but can cause inconsistent results and sometimes impossible covariance matrices.
Mean Imputation
• Underestimates variance (values artificially cluster at mean)
• Distorts correlations (pushes toward zero)
• Biased if not MCAR
Mean imputation replaces missing values with the variable's mean. While simple, it seriously underestimates variance (all imputed values are identical) and attenuates correlations. Generally NOT recommended except for trivial missing rates.
Multiple Imputation
The Gold Standard
NA→4.2
NA→5.1
NA→4.7
NA→3.9
NA→5.3
Multiple Imputation (MI) creates multiple complete datasets with different plausible imputed values, analyzes each, then pools results. This properly accounts for uncertainty about the missing values. It's the recommended approach under MAR.
Three Steps of MI
MI involves three phases: (1) Imputation - generate multiple completed datasets using predictive models, (2) Analysis - perform your planned analysis on each dataset separately, (3) Pooling - combine results using Rubin's rules to get final estimates and proper standard errors.
Imputation Algorithms
MICE (Multiple Imputation by Chained Equations) is most popular because it handles mixed variable types and doesn't require joint normality. Predictive Mean Matching is useful for preserving realistic distributions by only imputing observed values.
Rubin's Rules
B = Between-imputation variance
T = Total variance (accounts for imputation uncertainty)
Rubin's rules combine estimates by averaging across imputations. The standard error combines within-imputation variance (uncertainty in data) and between-imputation variance (uncertainty from missing data). This gives proper inference.
Other Modern Methods
Full Information Maximum Likelihood
• Single-step (no separate imputation)
• Efficient (uses all data)
• Standard in SEM software
• Only for specific models
• Requires specialized software
• Harder to include auxiliary variables
FIML uses the likelihood function to estimate parameters using all available data without imputation. It's mathematically equivalent to MI under MAR and is built into most SEM software. Excellent choice when available.
Machine Learning Imputation
Machine learning methods like Random Forests and kNN can capture complex, non-linear relationships when imputing. They often predict well but may not properly reflect uncertainty unless combined with multiple imputation.
Sensitivity Analysis for MNAR
| Scenario | Assumption | Effect Estimate |
|---|---|---|
| MAR | Missing unrelated to outcome | β = 0.45 |
| MNAR (mild) | Missing have 10% lower values | β = 0.38 |
| MNAR (moderate) | Missing have 20% lower values | β = 0.32 |
When MNAR is suspected, sensitivity analysis tests how results change under different assumptions about the missing data mechanism. Pattern-mixture models and selection models are formal approaches to MNAR.
Real-World Examples
Apply your knowledge to practical scenarios
Clinical Trial Dropout
In a 12-week depression treatment trial, 30% of participants drop out. Patients who aren't improving are more likely to drop out (MNAR suspected). Complete case analysis shows the treatment works great - but this may be because only responders remained.
Sample Data
{
"total_enrolled": 200,
"completed": 140,
"dropout_rate": "30%",
"dropout_pattern": "Higher in non-responders",
"suspected_mechanism": "MNAR"
}
Key Insights
- Clinical trial dropout is often MNAR - worse outcomes lead to dropout
- Intention-to-treat analysis requires handling missing data properly
- Sensitivity analysis is crucial when MNAR is plausible
Income Non-Response in Census
A national survey has 25% missing income data. Analysis shows: higher education → more likely to skip income question, BUT within education levels, missingness doesn't vary by other observed characteristics. This suggests MAR.
Sample Data
{
"total_respondents": 50000,
"income_missing": "25%",
"education_correlation": "Higher education → more missing",
"mechanism_assessment": "Likely MAR given education"
}
Key Insights
- MAR is plausible when observed variables explain missingness
- Include auxiliary variables in imputation models
- Multiple imputation is preferred for MAR data
IoT Sensor Failures
Temperature sensors in a warehouse occasionally fail, producing missing readings. Analysis shows failures are random - they occur equally across all temperature ranges and times. This is true MCAR.
Sample Data
{
"sensors": 50,
"readings_per_day": 1440,
"missing_rate": "3%",
"pattern": "Random failures unrelated to temperature",
"mechanism": "MCAR"
}
Key Insights
- True MCAR is rare but ideal when it occurs
- Low MCAR rates (< 5%) are usually ignorable
- Domain knowledge helps identify the missing mechanism
Missing Data Quiz
Test your understanding • Passing score: 70%