Unbiased estimation of the OLS covariance matrix when the errors are clustered
Authors:
Open Access
- 17 March 2023
- book chapter
- Published by Springer Nature
- p. 47-69
Abstract
When data are clustered, common practice has become to do OLS and use an estimator of the covariance matrix of the OLS estimator that comes close to unbiasedness. In this paper, we derive an estimator that is unbiased when the random-effects model holds. We do the same for two more general structures. We study the usefulness of these estimators against others by simulation, the size of the t-test being the criterion. Our findings suggest that the choice of estimator hardly matters when the regressor has the same distribution over the clusters. But when the regressor is a cluster-specific treatment variable, the choice does matter and the unbiased estimator we propose for the random-effects model shows excellent performance, even when the clusters are highly unbalanced.Keywords
This publication has 20 references indexed in Scilit:
- Fast cluster bootstrap methods for linear regression modelsEconometrics and Statistics, 2023
- Cluster-robust inference: A guide to empirical practiceJournal of Econometrics, 2022
- Asymptotic theory and wild bootstrap inference with clustered errorsJournal of Econometrics, 2019
- Asymptotic theory for clustered samplesJournal of Econometrics, 2019
- The wild bootstrap for few (treated) clustersThe Econometrics Journal, 2018
- Microeconometrics2005
- How Much Should We Trust Differences-In-Differences Estimates?The Quarterly Journal of Economics, 2004
- Longitudinal data analysis using generalized linear modelsBiometrika, 1986
- Some heteroskedasticity-consistent covariance matrix estimators with improved finite sample propertiesJournal of Econometrics, 1985
- Variance Estimation with One Unit per StratumJournal of the American Statistical Association, 1969