Why does scaling matter before computing condition number or eigenvalue diagnostics?

Quick Overview

Asks why predictors should be scaled before computing a condition number or other eigenvalue-based collinearity diagnostics. It tests your understanding of how units affect these measures, the role of centering and the intercept, and how they compare with VIF.

Why does scaling matter before computing condition number or eigenvalue diagnostics?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

Why does scaling matter before computing condition number or eigenvalue diagnostics? ```hint Change the units Ask what happens to the eigenvalues of $X^\top X$ if you re-express one column in different units, for example dollars instead of thousands of dollars. ``` ```hint Compare with a unit-free diagnostic Think about whether the variance inflation factor changes when a single column is rescaled, and why. ``` ### What a Strong Answer Covers - Why the eigenvalues of $X^\top X$ and the condition number depend on the units and magnitudes of the columns. - How unscaled data can produce a large condition number with no collinearity at all. - The usual fix (standardizing, unit-length scaling, or working from the correlation matrix) and what it changes. - The role of centering and the intercept, including when centering helps and when it can hide a real dependence. - How this compares with a scale-invariant diagnostic such as VIF. ### Follow-up Questions - After scaling, the condition number is 45. How do you find which variables are involved? - Does rescaling a predictor change the fitted values or p-values of an OLS model? What does change? - VIF is scale-invariant, yet centering x before forming $x^2$ lowers the VIFs. Why? - How does the same scaling issue show up in ridge regression and PCA?

Overview: Asks why predictors should be scaled before computing a condition number or other eigenvalue-based collinearity diagnostics. It tests your understanding of how units affect these measures, the role of centering and the intercept, and how they compare with VIF.

General logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

Why does scaling matter before computing condition number or eigenvalue diagnostics?

What a Strong Answer Covers Guidance

  • Why the eigenvalues of X⊤XX^\top X and the condition number depend on the units and magnitudes of the columns.
  • How unscaled data can produce a large condition number with no collinearity at all.
  • The usual fix (standardizing, unit-length scaling, or working from the correlation matrix) and what it changes.
  • The role of centering and the intercept, including when centering helps and when it can hide a real dependence.
  • How this compares with a scale-invariant diagnostic such as VIF.

Follow-up Questions Guidance

  • After scaling, the condition number is 45. How do you find which variables are involved?
  • Does rescaling a predictor change the fitted values or p-values of an OLS model? What does change?
  • VIF is scale-invariant, yet centering x before forming x2x^2 lowers the VIFs. Why?
  • How does the same scaling issue show up in ridge regression and PCA?