Econometric Computing with HC and HAC Covariance Matrix Estimators

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 heteroskedasti...

Full description

Bibliographic Details
Main Author: Achim Zeileis
Format: Article
Language:English
Published: Foundation for Open Access Statistics 2004-11-01
Series:Journal of Statistical Software
Online Access:http://www.jstatsoft.org/index.php/jss/article/view/1415
id doaj-804e889bc6f240b7b3a6caac78ceef99
record_format Article
spelling doaj-804e889bc6f240b7b3a6caac78ceef992020-11-24T23:14:23ZengFoundation for Open Access StatisticsJournal of Statistical Software1548-76602004-11-0111111710.18637/jss.v011.i1019Econometric Computing with HC and HAC Covariance Matrix EstimatorsAchim ZeileisData 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.http://www.jstatsoft.org/index.php/jss/article/view/1415
collection DOAJ
language English
format Article
sources DOAJ
author Achim Zeileis
spellingShingle Achim Zeileis
Econometric Computing with HC and HAC Covariance Matrix Estimators
Journal of Statistical Software
author_facet Achim Zeileis
author_sort Achim Zeileis
title Econometric Computing with HC and HAC Covariance Matrix Estimators
title_short Econometric Computing with HC and HAC Covariance Matrix Estimators
title_full Econometric Computing with HC and HAC Covariance Matrix Estimators
title_fullStr Econometric Computing with HC and HAC Covariance Matrix Estimators
title_full_unstemmed Econometric Computing with HC and HAC Covariance Matrix Estimators
title_sort econometric computing with hc and hac covariance matrix estimators
publisher Foundation for Open Access Statistics
series Journal of Statistical Software
issn 1548-7660
publishDate 2004-11-01
description 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.
url http://www.jstatsoft.org/index.php/jss/article/view/1415
work_keys_str_mv AT achimzeileis econometriccomputingwithhcandhaccovariancematrixestimators
_version_ 1725594657682882560