Skip to content

A set of functions implementing the DK-HAC covariance matrix estimators and robust standard errors from Casini (2021) and Casini and Perron (2021b).

Notifications You must be signed in to change notification settings

alessandro-casini/DK-HAC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 

Repository files navigation

DK-HAC: Double Kernel Heteroskedasticity and Autocorrelation Consistent Estimator and Robust Standard Errors

Keywords: HAC, DK-HAC, Robust Standard Errors, HAR, Long-run variance, Prewhitening, Covariance Matrix.

This software implements the DK-HAC covariance matrix estimators and robust standard errors from Casini (2021) and Casini and Perron (2021b).

The DK-HAC estimator extends the Newey-West's (1987, 1994) and Andrews' (1991) HAC estimators to flexibly account for nonstationarity (e.g., breaks, time-varying parameters/volatility, regime swicthing, misspecification, outliers, etc.). See Casini et al. (2021) for a technical comparison.

The software includes ordinary functions for regression analysis with robust (DK-HAC) standard errors including t-test, F-test, standard errors, R-squared and other popular regression outputs.

The software also includes the following tools:

Non-Technical Summary for Empirical Research

In preparation.

Software available in Matlab, R and Stata

  • Matlab Package (to be uploaded later)
  • R Package (to be uploaded later)
  • Stata Package (to be uploaded later)

Contributors

Background Papers

Maintainer and Correspondence

About

A set of functions implementing the DK-HAC covariance matrix estimators and robust standard errors from Casini (2021) and Casini and Perron (2021b).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published