number of lags in OLS using Neweywest correction

Econometrics questions and discussions
buianhtuan2000
Posts: 4
Joined: Sun Jan 03, 2010 9:05 pm

number of lags in OLS using Neweywest correction

Unread post by buianhtuan2000 »

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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: number of lags in OLS using Neweywest correction

Unread post by TomDoan »

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.
Post Reply