What is generalised VIF and when do you need it for categorical terms?

Quick Overview

Asks what the generalised variance inflation factor is and why per-dummy VIFs mislead for categorical, polynomial and spline terms. Tests multicollinearity diagnostics, invariance to coding choices, and how the degrees-of-freedom adjustment puts terms of different sizes on one scale.

What is generalised VIF and when do you need it for categorical terms?

Role: Data Scientist

Category: Statistics & Math

Difficulty: hard

Interview Round: Other

What is generalised VIF and when do you need it for categorical terms? ```hint Change the reference level Ask what happens to each dummy's ordinary VIF if you pick a different reference level, and whether the fitted model changes at all. ``` ```hint Terms of different sizes A term with more columns has more room to be inflated. Think about how you would put a 1-column term and a 5-column term on the same scale. ``` ### What a Strong Answer Covers - Why per-column VIF fails for terms that span several columns, including its dependence on coding and the reference level. - How GVIF measures a whole term against the other predictors, and which choices it is invariant to. - The `GVIF^(1/(2·df))` adjustment, what it is comparable to, and how to apply the usual VIF cutoffs. - Which model terms need it and which do not. - What to do when a term's adjusted GVIF is high. ### Follow-up Questions - Why does a polynomial term whose x and x squared columns are highly correlated not get a large GVIF from that correlation? - A factor with 6 levels has a GVIF of 32. Is that a collinearity problem? - How would you check collinearity in a model with an interaction between a factor and a numeric predictor? - Common Python libraries report VIF one column at a time. How would you compute GVIF yourself?

Overview: Asks what the generalised variance inflation factor is and why per-dummy VIFs mislead for categorical, polynomial and spline terms. Tests multicollinearity diagnostics, invariance to coding choices, and how the degrees-of-freedom adjustment puts terms of different sizes on one scale.

PracHub logo
General
Nov 25, 2026
hardData ScientistOtherStatistics & Math
0
0

What is generalised VIF and when do you need it for categorical terms?

What a Strong Answer Covers Guidance

  • Why per-column VIF fails for terms that span several columns, including its dependence on coding and the reference level.
  • How GVIF measures a whole term against the other predictors, and which choices it is invariant to.
  • The GVIF^(1/(2·df)) adjustment, what it is comparable to, and how to apply the usual VIF cutoffs.
  • Which model terms need it and which do not.
  • What to do when a term's adjusted GVIF is high.

Follow-up Questions Guidance

  • Why does a polynomial term whose x and x squared columns are highly correlated not get a large GVIF from that correlation?
  • A factor with 6 levels has a GVIF of 32. Is that a collinearity problem?
  • How would you check collinearity in a model with an interaction between a factor and a numeric predictor?
  • Common Python libraries report VIF one column at a time. How would you compute GVIF yourself?