Hello everyone,
Just a little confused, I currently have a panel data and I am choosing between using random effects or fixed effects. When I run my regression first without an i.Year variable I find through a Hausman test that FE is more suited for this regression. However I then use testparm in order to see if I need to include a i.Year variable and the result of Prob is less than 0.05 which indicates I should. Once I include the i.year variable in my regression the value of the Hausman test changes completely and goes to 0.9457 from 0.0013 (which was the value of the Hausman test before including the i.Year variable). This new Hausman would indicate that a random effects regression might be more suited. However my questions are;
1. Why does the value of the Hausman change so much?
2. Is it more logical to do the Hausman test including the i.Year variable or without it?
Many thanks
Pepito
Related Posts with Hausman and testparm
How to convert -mixed- to -gsem-Does anyone know how to convert a 3-level model with random-effects and random slopes from by -mixed…
Creating portfolios with double sorting and calculating mean returns of the portfolios.(please help)This is the third time I write this topic but did not get any answer from statalists members, and ca…
Displaying contents of a constraint: negative values shows up as "0-,12345" etc.Dear all, I have been a long-time reader of Statalist and usually find what I need in the excellent…
Values of Coefficient and Power of Test in Data EditorHello, I am using the following command "bysort var: reg y x". In doing so, I get many results. Fo…
nscale: new package for rescaling variables to run from 0 to 1 now available on SSCThanks to Kit Baum, a new package called nscale is now available on SSC archive. Code: . ssc insta…
Subscribe to:
Post Comments (Atom)
0 Response to Hausman and testparm
Post a Comment