Multicollinearity &
Confounding
Learn to recognize when predictor variables are entangled and when hidden variables distort the true relationship between cause and effect in regression models.
Quick Refresher: Multiple Regression
In multiple regression we model an outcome \( Y \) as a linear function of several predictors:
Each coefficient \( \beta_j \) tells us how much \( Y \) changes per one-unit increase in \( X_j \), holding all other predictors constant. Problems arise when the predictors themselves are not independent of each other or when an unmeasured variable influences both \( X \) and \( Y \).
What Is Multicollinearity?
Multicollinearity occurs when two or more predictor variables in a regression model are highly correlated with each other. This makes it hard to isolate each predictor's individual effect on \( Y \).
What Is Confounding?
A confounder is a variable \( Z \) that is associated with both the exposure \( X \) and the outcome \( Y \), distorting the apparent relationship between them.
Why It Matters in Biostatistics
Detecting Multicollinearity: VIF
The Variance Inflation Factor quantifies how much the variance of a coefficient is inflated due to correlation with other predictors. For predictor \( X_j \):
where \( R_j^2 \) is the \( R^2 \) from regressing \( X_j \) on all other predictors. A VIF near 1 means little collinearity. A VIF above 5 or 10 signals a problem.
Detecting Confounding
A variable \( Z \) is a confounder of the \( X \!\to\! Y \) relationship if all three criteria are met:
Key Distinction: Multicollinearity vs Confounding
| Multicollinearity | Confounding | |
|---|---|---|
| What is correlated? | Predictors with each other | An omitted variable with both \( X \) and \( Y \) |
| Effect on \( \hat{\beta} \) | Inflated variance (imprecise) | Biased point estimate (inaccurate) |
| Overall model \( R^2 \) | Usually still high | May look fine but is misleading |
| Primary diagnostic | VIF, correlation matrix | DAGs, 10% change rule |
| Fix | Remove/combine predictors, PCA | Include confounder or randomise |
Step-by-Step Diagnostic Checklist
Example 1: Spotting Multicollinearity
A researcher models systolic blood pressure (\( Y \)) using three predictors:
Example 2: Unmasking a Confounder
A study asks: does coffee drinking (\( X \)) cause heart disease (\( Y \))?
Example 3: Both at Once
Predicting hospital readmission (\( Y \)) with: length of stay (\( X_1 \)), number of procedures (\( X_2 \)), and patient age (\( X_3 \)).
Reading a Correlation Matrix
DAGs: Your Confounding Roadmap
A Directed Acyclic Graph (DAG) maps causal assumptions visually. Arrows show the direction of causation. Confounders create backdoor paths from \( X \) to \( Y \).
Common Mistakes
Summary at a Glance
| Aspect | Multicollinearity | Confounding |
|---|---|---|
| Definition | Predictors correlated with each other | Omitted variable related to both \( X \) and \( Y \) |
| Threatens | Precision (SE inflated) | Accuracy (bias in \( \hat{\beta} \)) |
| Diagnostic tool | VIF, tolerance, correlation matrix | DAGs, 10% change-in-estimate rule |
| Remedy | Drop/combine predictors, ridge regression, PCA | Include confounder, stratification, randomisation |
| Model \( R^2 \) hint | High \( R^2 \) but non-significant individual \( \hat{\beta} \)'s | \( R^2 \) may look fine; bias is hidden |
Question 1 of 5
A regression model predicting lung capacity uses height and arm span as predictors. The VIF for both exceeds 10. What problem does this indicate?
Question 2 of 5
A researcher finds that alcohol consumption predicts depression (\( \hat{\beta} = 0.60 \)). After adding socioeconomic status to the model, \( \hat{\beta} \) drops to 0.25. What role does socioeconomic status most likely play?
Question 3 of 5
If \( R_j^2 = 0.80 \) when regressing predictor \( X_j \) on all other predictors, what is the VIF for \( X_j \)?
Question 4 of 5
In a DAG, smoking causes yellow fingers and lung cancer. A naive study finds a positive association between yellow fingers and lung cancer. Which statement is correct?
Question 5 of 5
A model has a high overall \( R^2 = 0.89 \), yet none of the individual regression coefficients are statistically significant. Which problem is most likely?