Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: autocorrelation and endogeneity


From   "Schaffer, Mark E" <[email protected]>
To   <[email protected]>
Subject   st: RE: autocorrelation and endogeneity
Date   Thu, 22 May 2008 22:49:36 +0100

Yuluen,

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Yu-Luen Ma
> Sent: 22 May 2008 22:26
> To: [email protected]
> Subject: st: autocorrelation and endogeneity
> 
> I would like to run a model that correct for both endogeneity 
> and autocorrelation. Does the command ivreg2 with gmm2s 
> robust cluster(id) supports the estimation of 
> autocorrelation-robust covariance matrix and standard errors? 
> I assume that the combination of robust and cluster(id) does 
> that. If not, could anyone suggest a command that would 
> correct for autocorrelation? Thanks.

-cluster- allow consistent estimation the presence of a very specific
kind of autocorrelation.  If you have panel data, and the observations
within each panel are autocorrelated but independent across panels,
-cluster- will give you consistent estimates.

It sounds like this isn't what you want.  If your application is
straight time series, you can use -ivreg2- and a kernel-type var-cov
estimator to get autocorrelation-consistent estimates.  Have a look at
the -bw- and -kernel- options.

Cheers,
Mark

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


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


-- 
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.


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