Testing for the appropriate level of clustering in linear regression models
Preprint
Abstract
The overwhelming majority of empirical research that uses cluster-robust inference assumes that the clustering structure is known, even though there are often several possible ways in which a dataset could be clustered. We propose two tests for the correct level of clustering in regression models. One test focuses on inference about a single coefficient, and the other on inference about two or more coefficients. We provide both asymptotic and wild bootstrap implementations. The proposed tests work for a null hypothesis of either no clustering or ``fine'' clustering against alternatives of ``coarser'' clustering. We also propose a sequential testing procedure to determine the appropriate level of clustering. Simulations suggest that the bootstrap tests perform very well under the null hypothesis and can have excellent power. An empirical example suggests that using the tests leads to sensible inferences.Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- Fast and reliable jackknife and bootstrap methods for cluster‐robust inferenceJournal of Applied Econometrics, 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
- Pythagorean generalization of testing the equality of two symmetric positive definite matricesJournal of Econometrics, 2018
- Wild Bootstrap Inference for Wildly Different Cluster SizesJournal of Applied Econometrics, 2016
- Inference with dependent data using cluster covariance estimatorsJournal of Econometrics, 2011
- The wild bootstrap, tamed at lastJournal of Econometrics, 2008
- Random group effects and the precision of regression estimatesJournal of Econometrics, 1986
- Some heteroskedasticity-consistent covariance matrix estimators with improved finite sample propertiesJournal of Econometrics, 1985