Definitioncore
Variance inflation factor
Also called VIF, multicollinearity diagnostic.
1 / (1 - R_j^2), where R_j^2 is from regressing predictor j on the others. It is the factor by which collinearity inflates the variance of coefficient j.
The variance inflation factor of a predictor in a linear regression is , where is the coefficient of determination of predictor regressed on all the other predictors. It is the exact factor by which the variance of the least squares coefficient is larger than it would be if predictor were uncorrelated with the others, for the same spread of and the same noise. means no collinearity for that column, and means the column is an exact linear combination of the others. The square root of is the inflation of the standard error and of the width of the confidence interval. The VIF describes the design matrix only. It says nothing about , and a large VIF is not by itself a reason to drop a variable.
Definition
Let with an matrix of rank whose first column is the intercept and whose other columns are the predictors. Assume the errors are uncorrelated with mean 0 and variance , and let be the ordinary least squares estimate. For a predictor , let , and let be the of the least squares regression of on the intercept and the other predictors. The variance inflation factor of predictor is
Its reciprocal is called the tolerance.
Why the name is exact. Let be the residual of after the regression on the other columns. By the Frisch-Waugh-Lovell argument, , so . Since ,
The first factor, , is the variance in a simple regression on alone, or in any design where is orthogonal to the other centered columns. So is the inflation caused by the other predictors and nothing else. The same identity gives two equivalent formulas:
where is the correlation matrix of the predictors. The second form is the one Marquardt (1970) used.
Facts.
- , with equality if and only if is orthogonal to every other centered predictor.
- With two predictors, both have , where is their correlation.
- does not change when any predictor is shifted or rescaled, because does not.
- If the eigenvalues of are , then and . A small eigenvalue of means a near linear dependence, and the VIFs show which columns take part in it.
- The VIF of the intercept is not defined in this way, because the intercept column has .
Thresholds are conventions. Values above 10 (or 5) are often called a sign of serious collinearity. No threshold has a theoretical basis: the variance of also depends on and , which grows with . A coefficient with from a large, well spread sample can be more precise than one with from a small sample (O'Brien 2007).
Examples and non-examples
Two predictors. For and , , and the cross product is 10, so and both VIFs are . The standard errors are times what an orthogonal design with the same spreads would give.
Near dependence. Add , which equals except in the second entry. Then , and , so
Each value agrees with computed in exact rational arithmetic. All three columns take part in the dependence, and all three are inflated. The standard error of is times the orthogonal value.
From a fitted model. In the regression F-test example, with and , the squared correlation is and both VIFs are : mild collinearity.
Non-essential collinearity. For , the columns and have and . With the centered , the columns and have and . The fitted values and the quadratic coefficient are the same in both fits; only the meaning and variance of the linear coefficient change. A large VIF caused by a choice of origin is a property of the parametrization, not of the data.
Non-example: an uncentered VIF. Some programs compute without centering, or include the intercept. Then shifting by a constant changes the value, and a predictor that lies far from 0 shows a large "VIF" with no collinearity among the predictors. The condition number of the scaled, uncentered (Belsley, Kuh and Welsch) is the diagnostic that is meant to include the intercept.
Non-example: a test. The VIF has no null distribution and no level. It also does not tell whether predictions are harmed: inside the region where the data lie, fitted values can be precise when the individual coefficients are not.
Related definitions
- Coefficient of determination. is an ordinary , with as the response.
- Condition indexes. Belsley, Kuh and Welsch scale the columns of to unit length, take the singular values from the singular value decomposition, and use together with the share of each that comes from each singular value. Where the VIF says which coefficient is hurt, the variance decomposition proportions say which dependence hurts it.
- Generalized VIF. For a set of columns that belong together, such as the indicator columns of one factor, Fox and Monette (1992) define , where is the correlation block of the set and that of the rest. It is invariant to the coding of the set, and for a set of columns is comparable to .
- Remedies. Ridge regression adds to the correlation matrix and so lowers the variance of every coefficient; the lasso selects among correlated columns; regression on leading principal components removes the small-eigenvalue directions. All three trade bias for variance. Centering, more data in the missing directions, or a combined variable remove the cause.
- Covariance matrix of . ; the VIFs are its diagonal, rescaled by .
References
- Donald W. Marquardt, Generalized inverses, ridge regression, biased linear estimation, and nonlinear estimation, Technometrics 12(3), 1970, pp. 591 to 612, The discussion of the diagonal of the inverse correlation matrix as variance inflation factors (often cited as the origin of the name and of the value 10 as a warning level)
- Robert M. O'Brien, A caution regarding rules of thumb for variance inflation factors, Quality and Quantity 41(5), 2007, pp. 673 to 690, The whole paper (why fixed cutoffs such as 4 or 10 are not justified, and how sample size and error variance offset a large VIF)
- John Fox and Georges Monette, Generalized collinearity diagnostics, Journal of the American Statistical Association 87(417), 1992, pp. 178 to 183, The whole paper (the generalized VIF for a set of columns as a ratio of determinants of correlation matrices)
- David A. Belsley, Edwin Kuh and Roy E. Welsch, Regression Diagnostics, Wiley, 1980, Chapter 3 (detecting and assessing collinearity, condition indexes and variance decomposition proportions)
- George A. F. Seber and Alan J. Lee, Linear Regression Analysis, second edition, Wiley, 2003, The section on collinearity in Chapter 10 (variance inflation factors, the correlation matrix and its eigenvalues)
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 1MY9SY Edit this page History Report an error Markdown