English

Analytic inference with two-way clustering

Econometrics 2026-02-20 v2 Methodology

Abstract

This paper studies analytic inference along two dimensions of clustering. In such setups, the commonly used approach has two drawbacks. First, the corresponding variance estimator is not necessarily positive. Second, inference is invalid in non-Gaussian regimes, namely when the estimator of the parameter of interest is not asymptotically Gaussian. We consider a simple fix that addresses both issues. In Gaussian regimes, the corresponding tests are asymptotically exact and equivalent to usual ones. Otherwise, the new tests are asymptotically conservative. We also establish their uniform validity over a certain class of data generating processes. Independently of our tests, we highlight potential issues with multiple testing and nonlinear estimators under two-way clustering. Finally, we compare our approach with existing ones through simulations.

Keywords

Cite

@article{arxiv.2506.20749,
  title  = {Analytic inference with two-way clustering},
  author = {Laurent Davezies and Xavier D'Haultfœuille and Yannick Guyonvarch},
  journal= {arXiv preprint arXiv:2506.20749},
  year   = {2026}
}

Comments

69 pages, supplement starts at p.43

R2 v1 2026-07-01T03:33:35.104Z