I am running a regression analyis in r:
fit <- lm(Cost ~ Slope + YardDist, data = test)
I want to test the two independent variables for multicollinearity. I tested it with vif()
(from the car package) and kappa()
.
> vif(fit)
Slope YardDist
1.000121 1.000121
> kappa(fit)
[1] 11631.87
VIF tells me there is no multicollinearity and kappa tells me there is very high multicollinearity. What is the difference between both and which one is 'right'?