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
Creating a lead variable for fixed effect regressionsHi, I'm trying to run a couple of fixed effect regressions with my data. I want to understand whet…
Convert "string" ID to numeric with non-numeric charactersI am trying to convert a non-numeric string ID variable to a numeric variable but I get an error mes…
Accessing function output that's displayed but not storedHi, I would like to store some of the output of the adjrr command in macros. The output is displayed…
Error: "numlist in operator invalid" while running suregHi, I have an unbalanced panel dataset. I'm receiving this error message "numlist in operator invali…
Restricting ObservationsHi all, hoping this has an easy answer. I have different models which have different variables in th…
Subscribe to:
Post Comments (Atom)
0 Response to Hausman and testparm
Post a Comment