Hello!
I'm doing RE/FE models with clustered SE's on panel data to then choose between them using xtoverid (since apparently Hausman test doesn’t allow clustered SE's). I get the following error:
Can somebody please help me out?
Here's my code:
Or maybe can anybody suggest any other test that I can use?
P.S: Initially, I firstly did the RE/FE Hausman test and then based on the model that the test chooses checked for heteroscedasticity and did robust RE/FE. Somehow, this is not the right way to go about it. Is that true?
I'm doing RE/FE models with clustered SE's on panel data to then choose between them using xtoverid (since apparently Hausman test doesn’t allow clustered SE's). I get the following error:
HTML Code:
. xtoverid 0b: operator invalid r(198);
Here's my code:
HTML Code:
xtreg depvar indepvars, fe cluster(CO_ID) est store fixed xtreg depvar indepvars, re cluster(CO_ID) est store random xtoverid
P.S: Initially, I firstly did the RE/FE Hausman test and then based on the model that the test chooses checked for heteroscedasticity and did robust RE/FE. Somehow, this is not the right way to go about it. Is that true?
Comment