Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Robust Hausman test
From
Veronica Veleanu <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Robust Hausman test
Date
Wed, 2 Nov 2011 17:42:37 +0000
> Dear Statalist,
>
> I am writing with a query related to an older post from 2011-07 archive.
>
>
> I understand that the robust version of the Hausman test (Wooldridge 2002) compares FE versus pooled OLS, while xtoverid compares FE versus RE.
>
> How do you suggest comparing FE versus RE when the model is fitted in the following ways:
> -Pooled OLS:with newey2 or xtscc
> -FE:with xi: newey2 i.panelid lag(#) force or xtscc , fe lag(#)
> -RE:with xtreg, re cluster(panelid) [as there is no other way to fit newey = or xtscc with RE]
>
>
> So I can compare FE versus pooled OLS in this manner:
>
> * Robust version of the Hausman test (Wooldridge 2002) quietly xtreg y x1 x2 x3 x4, re by id: gen T=3D_N gen theta=3D1-sqrt(e(sigma_e)^2/(e(sigma_e)^2+ T*e(sigma_u)^2)) foreach x in y x1 x2 x3 x4 { by id: egen mean`x' =3D mean(`x') generate md`x' =3D `x' - mean`x'
> generate red`x' =3D `x' - theta*mean`x'
> }
> quietly xtscc redy redx1 redx2 redx3 redx4 mdx1 mdx2 mdx3 mdx4,
> lag(#) test mdx1 mdx2 mdx3 mdx4
>
> But I can only compare FE versus RE by using xtoverid which assumes the FE model is fitted only with clustered standard errors (not taking account forcross-sectional dependence or MA(h) lag in residuals) so the inference fro= m xtoverid would not be completely correct, right?
>
> Lastly, related to the older post in the archive I mentioned earlier, given that these 2 tests test different things, how can you finally decide betwe= en Pooled, FE or RE? Should one just use all of them?
>
>
> Thanks very much in advance!
>
>
> Veronica
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/