number of lags in OLS using Neweywest correction

Econometrics questions and discussions

number of lags in OLS using Neweywest correction

Postby buianhtuan2000 » Fri Mar 05, 2010 7:15 am

Hi Tom

I am running simple OLS estimator with robusterrors option.

LINREG(ROBUSTERRORS,LAGS=???,LWINDOW=NEWEYWEST) Y
# Constant X

Could you please let me know how to choose lag length?

Thank you very much
buianhtuan2000
 
Posts: 5
Joined: Sun Jan 03, 2010 10:05 pm

Re: number of lags in OLS using Neweywest correction

Postby TomDoan » Fri Mar 05, 2010 1:01 pm

There's an entire literature on that. See, for instance, Andrews(1991), "Heteroskedasticity and Autocorrelation Consistent Covariance Matrix Estimation", Econometrica, vol 59, pp 817-858. As you can tell just from the length of the paper, you are not asking an easy question.

However, in many cases, the number of lags is known from the structure of the data. With overlapping predictions (spot vs futures, for instance), the serial correlation is a moving average with no more than the number of periods of overlap.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to General Econometrics

Who is online

Users browsing this forum: No registered users and 1 guest