Last chance! 50% off unlimited learning
Sale ends in
Variance inflation factors are computed for the standard errors of linear model coefficient estimates.
vif(obj, digits=5)
A vector of variance inflation factors corresponding to
the coefficient estimates given in the lm
object.
A lm
object
Number of digits
J.H. Maindonald
lm
litters.lm <- lm(brainwt ~ bodywt + lsize, data = litters)
vif(litters.lm)
carprice1.lm <- lm(gpm100 ~ Type+Min.Price+Price+Max.Price+Range.Price,
data=carprice)
vif(carprice1.lm)
carprice.lm <- lm(gpm100 ~ Type + Price, data = carprice)
vif(carprice1.lm)
Run the code above in your browser using DataLab