Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: xtivreg2 Random Effects and Durbin Wu Hausman


From   Steven Archambault <archstevej@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: xtivreg2 Random Effects and Durbin Wu Hausman
Date   Tue, 25 Aug 2009 17:06:59 -0600

Hi all,

I have been playing around with testing for endogeneity in panel
regression models. Some of the methods discussed by Baum  (Intro. to
Econometrics Using Stata) to calculate DWH do not work with panel
data, and more so with Random Effects models. So, would it make sense
to use the following to calculate a DW F-statistic? What other methods
could be used?


xtreg policy instrument1 instrument2 gdp trade year, re robust;
predict policy_res, e;
xtreg invest policy trade gdp  year policy_res, re robust;
test policy_res;


Thanks,
Steve
*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index