EconPapers    
Economics at your fingertips  
 

Econometric Computing with HC and HAC Covariance Matrix Estimators

Achim Zeileis ()

Journal of Statistical Software, 2004, vol. 011, issue i10

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.

Date: 2004-11-29
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (181)

Downloads: (external link)
https://www.jstatsoft.org/index.php/jss/article/view/v011i10/v11i10.pdf
https://www.jstatsoft.org/index.php/jss/article/do ... v011i10/v11i10.R.zip
https://www.jstatsoft.org/index.php/jss/article/do ... andwich_1.0-0.tar.gz

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:jss:jstsof:v:011:i10

DOI: 10.18637/jss.v011.i10

Access Statistics for this article

Journal of Statistical Software is currently edited by Bettina Grün, Edzer Pebesma and Achim Zeileis

More articles in Journal of Statistical Software from Foundation for Open Access Statistics
Bibliographic data for series maintained by Christopher F. Baum ().

 
Page updated 2025-03-19
Handle: RePEc:jss:jstsof:v:011:i10