Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: autocorrelation and IV regression using panel data


From   Mark Schaffer <[email protected]>
To   [email protected], "R.E. De Hoyos" <[email protected]>
Subject   Re: st: autocorrelation and IV regression using panel data
Date   Tue, 18 May 2004 12:03:10 +0100 (BST)

Rafa,

Quoting "R.E. De Hoyos" <[email protected]>:

> Has anyone written a module to correct for autocorrelation in an
> instrumental variables regression?
> 
> Our data is actually a panel so if there is something out there for
> a panel it would be even more helpful.
> 
> Thanks,
> Rafa

-ivreg2- (Baum-Schaffer-Stillman) can do IV/GMM estimation that handles 
autocorrelation.  You have a choice of kernels, and heteroskedasticity-
robust estimation if you want that too, and it can also do 2-step 
efficient GMM if your equation is overidentified.  It "understands" panel 
data in the sense that it knows that the autocorrelation is within panels 
and not across panels, but it doesn't go beyond that.  If you want to 
estimate with panel fixed effects, for example, you'd need to do it by 
hand.

Hope this helps.

--Mark

Prof. Mark Schaffer
Director, CERT
Department of Economics
School of Management & Languages
Heriot-Watt University, Edinburgh EH14 4AS
tel +44-131-451-3494 / fax +44-131-451-3008
email: [email protected]
web: http://www.sml.hw.ac.uk/ecomes
________________________________________________________________

DISCLAIMER:

This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
________________________________________________________________
*
*   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/



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