EconBase
← All papers

Jackknife inference with two-way clustering

James G. MacKinnon, Morten Ørregaard Nielsen, Matthew D. Webb

arXiv 13 Jun 2024 · Econometrics

arXiv:2406.08880 · PDF · DOI · OpenAlex · Extracted main text

Abstract

For linear regression models with cross-section or panel data, it is natural to assume that the disturbances are clustered in two dimensions. However, the finite-sample properties of two-way cluster-robust tests and confidence intervals are often poor. We discuss several ways to improve inference with two-way clustering. Two of these are existing methods for avoiding, or at least ameliorating, the problem of undefined standard errors when a cluster-robust variance matrix estimator (CRVE) is not positive definite. One is a new method that always avoids the problem. More importantly, we propose a family of new two-way CRVEs based on the cluster jackknife. Simulations for models with two-way fixed effects suggest that, in many cases, the cluster-jackknife CRVE combined with our new method yields surprisingly accurate inferences. We provide a simple software package, twowayjack for Stata, that implements our recommended variance estimator.

Citation extraction

37
references
103
in-text mentions
37
distinct cited
9
self-citations
16,039
main-text words

appendix boundary found by appendix_command · 86% of the source is main text. Read the extracted text to check this.

Most heavily cited references

The works this paper leans on most, across its whole bibliography — not restricted to papers in our corpus. Ranked by composite intensity, which combines how often a work is mentioned, how many sections mention it, and how much of that falls in the main text rather than the appendix.

ReferenceIntensityMentionsSectionsMain text
1James G. Mac\-Kinnon and Morten Ø. Nielsen and Matthew D. Webb (2021) Wild bootstrap and asymptotic inference with multiway clustering self1.00096100%
2James G. Mac\-Kinnon and Morten Ø. Nielsen and Matthew D. Webb (2023) Fast jackknife and bootstrap methods for cluster-robust inference self1.00094100%
3Bruce E. Hansen (2025) Jackknife standard errors for clustered regression1.00084100%
4Cameron, A. Colin and Gelbach, Jonah B. and Miller, Douglas L (2011) Robust inference with multiway clustering1.00054100%
5Laurent Davezies and Xavier D'Haultfœuille and Yannick Guyonvarch (2025) Analytic inference with two-way clustering0.92843100%
6James G. Mac\-Kinnon and Morten Ø. Nielsen and Matthew D. Webb (2023) Leverage, influence, and the jackknife in clustered regression models: Reliable inference using summclust self0.9098575%
7Luther Yap (2025) Asymptotic theory for two-way clustering0.8749367%
8Antoine A. Djogbenou and James G. Mac\-Kinnon and Morten Ø. Nielsen (2019) Asymptotic theory and wild bootstrap inference with clustered errors self0.8434475%
9Bruce E. Hansen (2025) Standard errors for difference-in-difference regression0.84333100%
10James G. Mac\-Kinnon and Morten Ø. Nielsen and Matthew D. Webb (2023) Cluster-robust inference: A guide to empirical practice self0.84333100%

Showing the top 10 of 37 scored citations.

Cited by, within the corpus

arXiv econ.EM papers that cite this one, ranked by how heavily they lean on it.

Citing paperIntensityMentionsSections
1Robust Inference for Dyadic Data with Dependent Ordered Nodes0.64422
2Analytic inference with two-way clustering0.51121