Multicollinearity › Recognizing the Subtleties

Michael BrenndoerferApril 13, 20252 min read
Machine Learning from ScratchAll chapters
Part 3 of 9Foundations
Chapter 28Multicollinearity › Recognizing the Subtleties
Reading section 6 of 13 · Recognizing the Subtleties · 2 minSection 6 of 13 · 2 min

Book contents

Section 6 of 13 · 2 min read

Multicollinearity › Recognizing the SubtletiesOne section · Sections in this chapter6 / 13 ↓
Reading tools Definitions & inline links

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Multicollinearity can be surprisingly subtle and may not reveal itself through simple pairwise correlation coefficients. Sometimes the problem arises from hidden relationships among three or more variables, even when individual pairs don't appear to be highly correlated. This complexity requires diagnostic approaches that look beyond pairs of variables.

The impact of multicollinearity also depends heavily on context. Some statistical models are more sensitive to multicollinearity than others, and the consequences vary accordingly. Perhaps most importantly, we must distinguish between the goals of prediction and interpretation. If our primary objective is making accurate predictions, high correlation between predictors may be less concerning, as the model can still perform well. However, if we aim to interpret the individual effects of each variable, multicollinearity becomes much more problematic, making it difficult to determine the unique contribution of each predictor.

Important Caveat About the Health Dataset

Before exploring solutions to multicollinearity, consider the nature of our health dataset examples. The health variables we've been using (Age, Height, Weight, BMI, Blood Pressure, etc.) are intentionally designed to demonstrate strong multicollinearity for educational purposes. In real-world health research:

  • BMI is perfectly calculated from Height and Weight (BMI = weight/(height/100)²), creating perfect multicollinearity
  • Height and Weight are naturally highly correlated in human populations
  • Age correlates with multiple health indicators, creating complex multicollinearity patterns

While these relationships reflect real biological and statistical patterns, the examples use synthetic data with exaggerated correlations to clearly demonstrate multicollinearity effects. In actual health research, you would:

  1. Carefully consider which variables to include based on domain knowledge
  2. Avoid including both BMI and its component variables (Height, Weight) in the same model
  3. Use variable selection techniques to identify the most informative predictors
  4. Apply regularization methods when multicollinearity is unavoidable

The solutions presented below show how to handle these multicollinearity issues, but remember that prevention through thoughtful variable selection is often the best approach.