Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. df.p <- plm.data(df, c("uid", "year")
  2.  
  3. reg1 <- plm(pens ~ woman + age + I(age^2/100) + high + medium + nord + centre, model="within", effect="twoways", data=df.p)
  4.  
  5. summary(reg1)
  6.  
  7. Error in crossprod(t(X), beta) : non-conformable arguments
  8.  
  9. p1 <- with(df, data.frame(woman=woman, age=age, high=high, medium=medium, nord=nord, centre=centre))
  10.  
  11. round(cor(p1),3)
  12.  
  13. vif(p1)
  14.  
  15. No variable from the 20 input variables has collinearity problem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement