How to detect and fix Multicollinearity using Stata?

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ก.ย. 2024

ความคิดเห็น • 7

  • @fatmahasan6662
    @fatmahasan6662 4 หลายเดือนก่อน

    Straight forward and to the point. Thank you!

    • @YUNIKARN
      @YUNIKARN  4 หลายเดือนก่อน

      A pleasure. Thanks for watching!

  • @souravprasad3625
    @souravprasad3625 2 ปีที่แล้ว

    Worth Watching

    • @YUNIKARN
      @YUNIKARN  2 ปีที่แล้ว +1

      Thanks, Sourav. This is much appreciated!

  • @FELIX-qr6vd
    @FELIX-qr6vd 6 หลายเดือนก่อน

    When I run the VIF command after having run the Corr command STATA tells me "not appropriate after regress, nocons; use option uncentered to get uncentered VIFs". What does that mean? And also, the Hausman Test tells me to use the fixed effect model, but when I use it, STATA omits my dummy variables in the result. "Omitted because of collinearity" What can I do now?

    • @YUNIKARN
      @YUNIKARN  6 หลายเดือนก่อน +1

      You can do your on VIF. Just regress all explanatory variable one by one on the set of all other explanatory variables. Obtain the R squared. The VIF is then 1/(1-R squared). Or add a constant to your regression model. The implementation of the VIF command is a bit odd in Stata. Second problem: the fixed effects dummies seem to explain other dummies in the model. Stata drops these to avoid collinearity (the inverse of the data matrix does not exist as the matrix does not have full rank). Check the definitions of your dummies

  • @YUNIKARN
    @YUNIKARN  ปีที่แล้ว

    The full course is available for USD 3.59 here www.yunikarn.com/p/data-science-using-stata-complete-beginners-course, including datasets and Stata do files. The slides are available as an E-book (129 pages) gerhard-kling-s-school.teachable.com/p/my-downloadable-14033 - combined offer: USD 5.40.