When and How to Deal with Clustered Errors in Regression Models
James MacKinnon and
Matthew Webb
No 1421, Working Paper from Economics Department, Queen's University
Abstract:
We discuss when and how to deal with possibly clustered errors in linear regression models. Specifically, we discuss situations in which a regression model may plausibly be treated as having error terms that are arbitrarily correlated within known clusters but uncorrelated across them. The methods we discuss include various covariance matrix estimators, possibly combined with various methods of obtaining critical values, several bootstrap procedures, and randomization inference. Special attention is given to models with few treated clusters and clusters that vary a lot in size, where inference may be problematic. Two empirical examples illustrate the methods we discuss and the concerns we raise, and a simulation experiment illustrates the consequences of over-clustering and under-clustering.
Keywords: clustered data; cluster-robust variance estimator; CRVE; wild cluster bootstrap; robust inference (search for similar items in EconPapers)
JEL-codes: C15 C21 C23 (search for similar items in EconPapers)
Pages: 34 pages
Date: 2020-05
New Economics Papers: this item is included in nep-ecm, nep-ets and nep-ore
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (8)
Downloads: (external link)
https://www.econ.queensu.ca/sites/econ.queensu.ca/files/wpaper/qed_wp_1421.pdf Second version 2020 (application/pdf)
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:qed:wpaper:1421
Access Statistics for this paper
More papers in Working Paper from Economics Department, Queen's University Contact information at EDIRC.
Bibliographic data for series maintained by Mark Babcock ().