vif function

vif

vif

vif(object) ## Default S3 method: vif(object) ## S3 method for class 'lm' vif(object)

Arguments

  • object: a data matrix (design matrix without intercept) or a model object

Returns

variance inflation factors

Details

Computes the variance inflation factors

Examples

data(stackloss) vif(stackloss[,-4]) # Air.Flow Water.Temp Acid.Conc. # 2.9065 2.5726 1.3336

Author(s)

Julian Faraway