Variance Inflation Factors
Variance Inflation Factors: Quantifying How Collinearity Costs Precision
The question a VIF answers
In multiple regression each coefficient bj estimates the effect of xj with the other predictors held fixed.
If xj moves almost in lockstep with the others, the data contain little independent variation in xj from which to estimate that effect, and bj becomes imprecise.
The variance inflation factor puts a number on that loss of precision, one predictor at a time.
Definition
- Regress xj on all the other predictors in the model (not on the response).
- Record that auxiliary regression's coefficient of determination, Rj2.
- Compute VIFj = 1/(1 − Rj2). The quantity 1 − Rj2 is the tolerance.
Where the name comes from
For the ordinary least squares slope of xj,
Var(bj) = [σ2 / ((n − 1)sj2)] × VIFj,
where sj2 is the sample variance of xj. The bracket is the variance the slope would have if xj were uncorrelated with every other predictor. The VIF multiplies the variance, so the standard error is multiplied by √VIFj.
Worked example. Suppose an auxiliary regression gives Rj2 = 0.75. Then tolerance = 0.25, VIF = 1/0.25 = 4, and the standard error is √4 = 2 times as large as in an orthogonal design with the same σ, n and spread of xj.
Confidence intervals are twice as wide and the t statistic for a given coefficient is halved. Because variance is proportional to 1/(n − 1), matching the orthogonal design's precision would require multiplying n − 1 by 4.
Computing VIFs from correlations
- Two predictors. The auxiliary R2 is simply the squared correlation, so VIF1 = VIF2 = 1/(1 − r122).
- Three predictors. For x1 regressed on x2 and x3, R12 = (r122 + r132 − 2r12r13r23)/(1 − r232). For example, with r12 = 0.5, r13 = 0.4 and r23 = 0.2: R12 = (0.25 + 0.16 − 0.08)/0.96 = 0.344, so VIF1 = 1/0.656 ≈ 1.52.
- Any number of predictors. The VIFs are the diagonal entries of the inverse of the predictors' correlation matrix. For a 3 × 3 correlation matrix, VIF1 = (1 − r232)/det, and similarly for the others.
Pairwise correlations are an incomplete screen. A predictor can be almost a linear combination of two or more others while each individual correlation stays moderate. The auxiliary regression, and therefore the VIF, detects that joint dependence.
Interpreting VIFs responsibly
- Thresholds are conventions. Values above 5 or 10 are often flagged, but whether a VIF matters depends on whether the resulting standard error is too large for the study's purpose. A coefficient with VIF 12 can still be precisely estimated in a large sample with little noise.
- Bias and identifiability. With a correctly specified model, the usual unbiasedness assumptions, and a full-rank predictor matrix, collinearity increases variance without itself causing bias. At perfect collinearity the matrix is rank-deficient, so separate coefficients cannot be estimated.
- The response is not involved. VIFs depend only on the predictors, so they can be computed before y is collected.
- Prediction can be unaffected. Fitted values for new cases that follow the same predictor pattern can remain precise even when individual coefficients are not.
- Structural collinearity. Polynomial and interaction terms can be strongly correlated with their component predictors, depending on the predictors’ ranges and joint distribution. Centring often reduces this structural correlation, but it does not guarantee a lower VIF. Centring preserves fitted predictions only when the model retains all terms needed for an equivalent reparameterisation, for example, both main effects and their interaction, or all relevant lower-order polynomial terms. For example, when c ≠ 0, (x − c)3 contains an x2 component. Replacing x3 with this term in a model with an intercept and x but no x2 can therefore change fitted predictions.
- Remedies include collecting data that break the dependence, combining or removing redundant predictors when scientifically justified, or using a method designed for correlated predictors. For a factor represented by multiple dummy variables, a generalized VIF can summarize collinearity for the factor as a whole. Individual dummy-variable VIFs can also be computed in a full-rank design, but their values depend on the chosen coding.
A model has exactly two predictors, weekly exercise hours (x1) and resting heart rate (x2). Their sample correlation is r = −0.80.
Which statement about the variance inflation factors is correct?
Regression output reports, for predictor x2: b2 = 1.8, SE(b2) = 1.2, VIF2 = 9.0. The t statistic is 1.8/1.2 = 1.5, and the analyst is disappointed.
If x2 had instead been uncorrelated with the other predictors, with the same error variance, sample size and sample variance of x2, what standard error would the estimate have had?