← Search

Quarterly Journal of Economics Vol. 138 No. 1 2022

When Should You Adjust Standard Errors for Clustering?

Alberto Abadie1; Susan Athey2; Guido W. Imbens3; Jeffrey M. Wooldridge1

1 Massachusetts Institute of Technology , United States · 2 Stanford University , United States · 3 Michigan State University , United States

open access

Abstract

Clustered standard errors, with clusters defined by factors such as geography, are widespread in empirical research in economics and many other disciplines. Formally, clustered standard errors adjust for the correlations induced by sampling the outcome variable from a data-generating process with unobserved cluster-level components. However, the standard econometric framework for clustering leaves important questions unanswered: (i) Why do we adjust standard errors for clustering in some ways but not others, for example, by state but not by gender, and in observational studies but not in completely randomized experiments? (ii) Is the clustered variance estimator valid if we observe a large fraction of the clusters in the population? (iii) In what settings does the choice of whether and how to cluster make a difference? We address these and other questions using a novel framework for clustered inference on average treatment effects. In addition to the common sampling component, the new framework incorporates a design component that accounts for the variability induced on the estimator by the treatment assignment mechanism. We show that, when the number of clusters in the sample is a nonnegligible fraction of the number of clusters in the population, conventional clustered standard errors can be severely inflated, and propose new variance estimators that correct for this bias.

DOI
10.1093/qje/qjac038
Volume
138
Issue
1
Pages
1-35
Language
en
Sources
bibtex:phds-export.bib openalex crossref

Cite