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

st: xtivreg2 Random Effects and Durbin Wu Hausman

From   Steven Archambault <>
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;

*   For searches and help try:

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