Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: st: Newey-West HAC estimators

From   "Lim, Elizabeth" <>
To   "''" <>
Subject   RE: st: Newey-West HAC estimators
Date   Fri, 28 Oct 2011 16:48:04 +0000

Thanks so much, Kit, for your valuable input.  Much appreciated!


-----Original Message-----
From: [] On Behalf Of Christopher Baum
Sent: Friday, October 28, 2011 9:18 AM
Subject: re: st: Newey-West HAC estimators

Elizabeth said

I'm trying to figure out the optimal lag selection for the Newey and West (1987, 1994) heteroskedasticity and autocorrelation consistent (HAC) covariance matrix estimator constructed using the Bartlett kernel.  

(1) Is there a rule of thumb for lag selection based on a panel sample size of around 14,200 firm-year observations?  
(2) What other criteria should I follow to select the appropriate lag lengths?

What matters is not the number of firm-years but the number of years (or max # of years) available. Try running Baum-Schaffer-Stillman ivreg2 (SSC) on one time-series from your panel, e.g.

. webuse wpi1

. ivreg2 wpi t, robust bw(auto)

and see what automatic BW selection produces (in this case 20). The help file for ivreg2 and B-S-S SJ papers (freely available) discuss the rules of thumb as well as the algorithm used for auto bw selection.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index