HAC Estimation by Automated Regression
A simple regression approach to HAC and LRV estimation is suggested. The method exploits the fact that the quantities of interest relate to only one point of the spectrum (the origin). The new estimator is simply the explained sum of squares in a linear regression whose regressors are a set of trend basis functions. Positive deﬁniteness in the estimate is therefore automatically enforced and the technique can be implemented with standard regression packages. No kernel choice is needed in practical implementation but basis functions need to be chosen and a smoothing parameter corresponding to the number of basis functions needs to be selected. An automated approach to making this selection based on optimizing the asymptotic mean squared error is derived. The limit theory of the new estimator shows that its properties, including the convergence rate, are comparable to those of conventional HAC estimates constructed from quadratic kernels.
Phillips, Peter C.B., "HAC Estimation by Automated Regression" (2004). Cowles Foundation Discussion Papers. 1749.