HAC Covariance Matrix Estimation HAC computes the central quantity (the meat) in the HAC covariance matrix estimator, also called sandwich estimator. HAC is the abbreviation for "heteroskedasticity and autocorrelation consistent".
HAC Covariance Matrix Estimation HAC computes the central quantity (the meat) in the HAC covariance matrix estimator, also called sandwich estimator. HAC is the abbreviation for "heteroskedasticity and autocorrelation consistent".
Source
Heberle, J. and Sattarhoff, C. (2017) doi:10.3390/econometrics5010009 "A Fast Algorithm for the Computation of HAC Covariance Matrix Estimators"
HAC(mcond, method ="Bartlett", bw)
Arguments
mcond: a q-dimensional multivariate time series. In the case of OLS regression with q regressors mcond contains the series of the form regressor*residual (see example below).