Computes the variance inflation factor (Helsel and Hirsch, 2002) for each variable in a linear regression fit.
vif(model, ...)# S3 method for lm
vif(model, ...)
an object of class "lm." There is no default method for
vif
.
further arguments passed to or from other methods.
A named numeric vector containing the variance inflation factors for each variable.
Added from smwrStats.
Helsel, D.R. and Hirsch, R.M., 2002, Statistical methods in water resources: U.S. Geological Survey Techniques of Water-Resources Investigations, book 4, chap. A3, 522 p.