Econometric Computing with HC and HAC Covariance Matrix Estimators

نویسنده

  • Achim Zeileis
چکیده

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.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Alternative HAC covariance matrix estimators with improved finite sample properties

HAC estimators are known to produce test statistics that reject too frequently in finite samples. One neglected reason comes from using the OLS residuals when constructing the HAC estimator. If the regression matrix contains high leverage points, such as from outliers, then the OLS residuals will be negatively biased. This reduces the variance of the OLS residuals and the HAC estimator takes th...

متن کامل

Improved HAC Covariance Matrix Estimation Based on Forecast Errors

We propose computing HAC covariance matrix estimators based on one-stepahead forecasting errors. It is shown that this estimator is consistent and has smaller bias than other HAC estimators. Moreover, the tests that rely on this estimator have more accurate sizes without sacrificing its power.

متن کامل

Automatic positive semi-definite HAC covariance matrix and GMM estimation

This paper proposes a new class of HAC covariance matrix estimators. The standard HAC estimation method re-weights estimators of the autocovariances. Here we initially smooth the data observations themselves using kernel function based weights. The resultant HAC covariance matrix estimator is the normalised outer product of the smoothed random vectors and is therefore automatically positive sem...

متن کامل

Heteroskedasticity-Autocorrelation Robust Covariance Estimation Under Non-stationary Covariance Processes

The need to estimate variance-covariance matrix in a time series regression arises often in economic applications involving macroeconomic or finance data. In this paper, we study the behavior of two most popular covariance matrix estimators, namely the Kiefer, Vogelsang and Bunzel kernel estimator without truncation (Kiefer, Vogelsang and Bunzel 2000, KVB thereafter) and standard consistent ker...

متن کامل

Spatial Heteroskedasticity and Autocorrelation Consistent Estimation of Covariance Matrix

This paper considers spatial heteroskedasticity and autocorrelation consistent (spatial HAC) estimation of covariance matrices of parameter estimators. We generalize the spatial HAC estimators introduced by Kelejian and Prucha (2007) to apply to linear and nonlinear spatial models with moment conditions. We establish its consistency, rate of convergence and asymptotic truncated mean squared err...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004