Hello,
My questions are as follows:
Should I use a Random Effects Model (REM) or a Fixed Effects Model (FEM)?
Am I interpreting the results of the tests correctly?
Am I running these tests correctly?
Should I consider a mixed effects approach?
I am using STATA IC 15 and I am trying to determine whether a fixed effects model (FEM) or Random Effects Model (REM) is appropriate for my research. I am using unbalanced panel data. I am using Hausman test, Breusch-Pagan, Bera Sosa-yoon, and other tests that are embedded in the commands xttest0, xttest1, xttest2, and hausman. For the models that I plan to run, my dependent variables are binary and categorical. Some of the independent variables are continuous, while others are factor variables.
I am getting contradictory results. Hausman shows Prob chi2=0.007 (FEM is more appropriate) and Breusch-Pagan shows a similar result (REM is more appropriate). xttest2 fails to run because I have too many panels and STATA IC only allows a matsize of 800.
Here is an abbreviated sample of the commands I am using
xtset dyad year
xtreg Y1 X1 X2 i.X3..., re
estimates store re
xttest0
xtreg Y1 X1 X2 X3..., re
* I have to remove the factor variable indicator for this test to run*
estimates store re1
xttest1
xtreg Y1 X1 X2 i.X3..., fe
estimates store fe
hausman fe re, sigmamore
xtreg Y1 X1 X2 i.X3..., fe
estimates store fe
xttest2
Thanks
JKG
My questions are as follows:
Should I use a Random Effects Model (REM) or a Fixed Effects Model (FEM)?
Am I interpreting the results of the tests correctly?
Am I running these tests correctly?
Should I consider a mixed effects approach?
I am using STATA IC 15 and I am trying to determine whether a fixed effects model (FEM) or Random Effects Model (REM) is appropriate for my research. I am using unbalanced panel data. I am using Hausman test, Breusch-Pagan, Bera Sosa-yoon, and other tests that are embedded in the commands xttest0, xttest1, xttest2, and hausman. For the models that I plan to run, my dependent variables are binary and categorical. Some of the independent variables are continuous, while others are factor variables.
I am getting contradictory results. Hausman shows Prob chi2=0.007 (FEM is more appropriate) and Breusch-Pagan shows a similar result (REM is more appropriate). xttest2 fails to run because I have too many panels and STATA IC only allows a matsize of 800.
Here is an abbreviated sample of the commands I am using
xtset dyad year
xtreg Y1 X1 X2 i.X3..., re
estimates store re
xttest0
xtreg Y1 X1 X2 X3..., re
* I have to remove the factor variable indicator for this test to run*
estimates store re1
xttest1
xtreg Y1 X1 X2 i.X3..., fe
estimates store fe
hausman fe re, sigmamore
xtreg Y1 X1 X2 i.X3..., fe
estimates store fe
xttest2
Thanks
JKG
Comment