vif | R Documentation |
Computes the variance inflation factor (Helsel and Hirsch, 2002) for each variable in a linear regression fit.
vif(model, ...) ## S3 method for class 'lm' vif(model, ...)
model |
an object of class "lm." There is no default method for
|
... |
further arguments passed to or from other methods. |
A named numeric vector containing the variance inflation factors for each variable.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.