Bookmark and Share

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]

RE: st: Testing for Autocorrelation after Xtreg?


From   "Wright, Brad" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Testing for Autocorrelation after Xtreg?
Date   Tue, 18 Jan 2011 22:53:48 +0000

I think I may be able to do the Breusch-Godfrey test by hand as follows:

Following xtreg, fe:
1. predict residuals, e
2. reg residuals l.residuals $x1 (where $x1 = original right hand side variables)
3. di chiprob(e(df_m), e(N)*e(r2))

Anyone see a reason why this wouldn't work?
________________________________________
From: [email protected] [[email protected]] on behalf of Wright, Brad [[email protected]]
Sent: Tuesday, January 18, 2011 5:23 PM
To: [email protected]
Subject: RE: st: Testing for Autocorrelation after Xtreg?

Fabio,

Are you suggesting running a Hausman test to compare two FE models, one that controls for autocorrelation via xtregar and one that doesn't? If so, I don't see how this would work, as autocorrelation doesn't bias coefficient estimates, only standard errors. So both models should yield the same coefficients, and we would fail to reject the null--but that doesn't really tell us anything about efficiency as far as I can tell. If I'm off the mark, please enlighten me.

-Brad
________________________________________
From: [email protected] [[email protected]] on behalf of Fabio Zona [[email protected]]
Sent: Tuesday, January 18, 2011 4:57 PM
To: [email protected]
Subject: Re: st: Testing for Autocorrelation after Xtreg?

just one more information: but test for autocorrelation precedes or follows the hausman test? shouldn't you run a housman test with the xtregar option, in case of autocorrelation?




----- Messaggio originale -----
Da: "Brad Wright" <[email protected]>
A: [email protected]
Inviato: Martedì, 18 gennaio 2011 22:48:57 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
Oggetto: st: Testing for Autocorrelation after Xtreg?

I need to do a specification test for autocorrelation following a fixed effects regression using xtreg. Unfortunately, bgodfrey, dwatson, durbinalt, and the like don't seem to work in that context. Any suggestions for how I might go about doing this?

-Brad
*
*   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/

*
*   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/

*
*   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index