I am running (by Stata 9) a panel regression and I have used xtivreg2 with "fe" option, in order to estimate an equation, where one variable is endogenous. The results seem good, the p-values are excellent and the Hansen J statistic is reassuring. However, I have been said that to be sure to correctly use xtivreg2 I need to perform an Hausman test for FE vs RE first, using xtivreg. Is this objection correct? If yes, I don't know the correct procedure to construct this kind of test. To be clear, this was the equation I estimated:
xtivreg2 x1 x2 x3 (x4= x5 x6), robust first fe
how could I perform an Hausman test for FE-RE?
An illustrative example would be of great help. Thank you in advance.
D.
>
>
> Thanks,
>
>
>
> Raoul
>
>
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/