Published by the Foundation for Open Access Statistics
Editors-in-chief: Bettina GrĂ¼n, Edzer Pebesma & Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Econometric Computing with HC and HAC Covariance Matrix Estimators | Zeileis | Journal of Statistical Software
Authors: Achim Zeileis
Title: Econometric Computing with HC and HAC Covariance Matrix Estimators
Abstract: Data described by econometric models typically contains autocorrelation and/or heteroskedasticity of unknown form and for inference in such models it is essential to use covariance matrix estimators that can consistently estimate the covariance of the model parameters. Hence, suitable heteroskedasticity consistent (HC) and heteroskedasticity and autocorrelation consistent (HAC) estimators have been receiving attention in the econometric literature over the last 20 years. To apply these estimators in practice, an implementation is needed that preferably translates the conceptual properties of the underlying theoretical frameworks into computational tools. In this paper, such an implementation in the package sandwich in the R system for statistical computing is described and it is shown how the suggested functions provide reusable components that build on readily existing functionality and how they can be integrated easily into new inferential procedures or applications. The toolbox contained in sandwich is extremely flexible and comprehensive, including specific functions for the most important HC and HAC estimators from the econometric literature. Several real-world data sets are used to illustrate how the functionality can be integrated into applications.

Page views:: 22275. Submitted: 2004-11-09. Published: 2004-11-29.
Paper: Econometric Computing with HC and HAC Covariance Matrix Estimators     Download PDF (Downloads: 22821)
Supplements:
v11i10.R.zip: vlli10.R: R example code from the paper Download (Downloads: 2015; 1KB)
sandwich_1.0-0.tar.gz: R source package Download (Downloads: 1269; 366KB)

DOI: 10.18637/jss.v011.i10

by
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.