Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which is the right Variance Inflation Factor? #6

Open
LucSteinbuch opened this issue Jan 19, 2017 · 0 comments
Open

Which is the right Variance Inflation Factor? #6

LucSteinbuch opened this issue Jan 19, 2017 · 0 comments

Comments

@LucSteinbuch
Copy link
Collaborator

LucSteinbuch commented Jan 19, 2017

Hi,
different packages can have the same function names, with apparently different answers:

> faraway::vif(glm_model_01)
      xtr       ytr        zy 
 47.33423 165.86142  54.32065 
> car::vif(glm_model_01)
     xtr      ytr       zy 
3.595677 5.942626 5.709125 
> faraway::vif(df_pnts[,c("xtr","ytr","zy")])  # this are the covariates for the glm 
     xtr      ytr       zy 
1.071232 1.036858 1.091488 
> #car::vif(df_pnts[,c("xtr","ytr","zy")]) ERROR: car::vif needs a lm or glm

So, which numbers are the right ones?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant