vif: Variance Inflation Factors

View source: R/vif.R

vifR Documentation

Variance Inflation Factors

Description

Computes the variance inflation factor (Helsel and Hirsch, 2002) for each variable in a linear regression fit.

Usage

vif(model, ...)

## S3 method for class 'lm'
vif(model, ...)

Arguments

model

an object of class "lm." There is no default method for vif.

...

further arguments passed to or from other methods.

Value

A named numeric vector containing the variance inflation factors for each variable.

References

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.


USGS-R/smwrStats documentation built on Oct. 11, 2022, 6:15 a.m.