Fast and wild: Bootstrap inference in Stata using boottest
Open accessThe DOI matches its Crossref record; 55 of the 55 references it cites were found in a registry or an index.
Abstract
The wild bootstrap was originally developed for regression models with heteroskedasticity of unknown form. Over the past 30 years, it has been extended to models estimated by instrumental variables and maximum likelihood and to ones where the error terms are (perhaps multiway) clustered. Like bootstrap methods in general, the wild bootstrap is especially useful when conventional inference methods are unreliable because large-sample assumptions do not hold. For example, there may be few clusters, few treated clusters, or weak instruments. The package boottest can perform a wide variety of wild bootstrap tests, often at remarkable speed. It can also invert these tests to construct confidence sets. As a postestimation command, boottest works after linear estimation commands, including regress, cnsreg, ivregress, ivreg2, areg, and reghdfe, as well as many estimation commands based on maximum likelihood. Although it is designed to perform the wild cluster bootstrap, boottest can also perform the ordinary (nonclustered) version. Wrappers offer classical Wald, score/Lagrange multiplier, and Anderson–Rubin tests, optionally with (multiway) clustering. We review the main ideas of the wild cluster bootstrap, offer tips for use, explain why it is particularly amenable to computational optimization, state the syntax of boottest, artest, scoretest, and waldtest, and present several empirical examples.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“One popular approach is the wild cluster bootstrap (or wild score bootstrap for generalized linear models) [41].”
From Difference-in-Differences for Health Policy and Practice: A Review of Modern Methods (2025) · cites this paper as [41]
Citations
Cites
(2001) · RePEc: Research Papers in Economics · Cited by 27,577
A heteroskedasticity-consistent covariance matrix estimator and a direct test for heteroskedasticity
White, H. (1980) · Econometrica · doi:10.2307/1912934 · Cited by 25,861
Longitudinal data analysis using generalized linear models
LIANG, K.-Y., & ZEGER, S. L. (1986) · Biometrika · doi:10.1093/biomet/73.1.13 · Cited by 18,550
How Much Should We Trust Differences-in-Differences Estimates?
Bertrand, M., Duflo, E., & Mullainathan, S. (2004) · The Quarterly Journal of Economics · doi:10.1162/003355304772839588 · Cited by 10,641 · cited 1×
“For these reasons, the pairs cluster bootstrap can work poorly in some cases; see Bertrand, Duflo, and Mullainathan (2004) and MacKinnon and Webb (2017a).”
BackgroundBootstrap Methods and their Application
Davison, A. C., & Hinkley, D. V. (1997) · doi:10.1017/cbo9780511802843 · Cited by 7,350
Bootstrap Methods and Their Application
Loughin, T. M., Davison, A. C., & Hinkley, D. V. (1999) · Journal of the American Statistical Association · doi:10.2307/2669707 · Cited by 5,418
Estimation and Inference in Econometrics.
Chambers, M. J., Davidson, R., & MacKinnon, J. G. (1994) · The Economic Journal · doi:10.2307/2234656 · Cited by 5,413
Self-citationBootstrap-Based Improvements for Inference With Clustered Errors
Cameron, A. C., Gelbach, J. B., & Miller, D. L. (2008) · Review of Economics and Statistics · doi:10.1162/rest.90.3.414 · Cited by 4,417
Robust Inference With Multiway Clustering
Cameron, A. C., Gelbach, J. B., & Miller, D. L. (2011) · Journal of Business & Economic Statistics · doi:10.1198/jbes.2010.07136 · Cited by 3,203 · cited 1×
“Cameron, Gelbach, and Miller (2011), hereafter CGM (2011), and Thompson (2011) separately proposed a method for constructing cluster-robust variance matrices for the coefficients of linear regression models when the error terms are clustered in two or more dimensions.5 The theoretical properties of…”
MethodEconometric Theory and Methods
Davidson, R., & MacKinnon, J. G. (2003) · Cited by 1,768
Self-citation
Research works printed but not linked: 1
- MacKinnon J. G., 2017, Political Methodologist, 24, 20
Cited by
Items 1,001–1,001 of 1,001
Essays in Political Economy of Media and Social Media
Madinier, E. (2023) · theses.fr (ABES) · doi:10.70675/d497cdd3z3106z4f9fz93baz0ca5a77b404e
Metadata
- Authors
- Roodman, D., Nielsen, M. Ø., MacKinnon, J. G., & Webb, M. D.
- Affiliations
- Open Philanthropy Project (US)
- Aarhus University (DK)
- Queen's University (CA)
- Carleton University (CA)
- Corresponding author
- Roodman, David
- Nielsen, Morten Ørregaard
- MacKinnon, James G.
- Webb, Matthew D.
- Venue
- The Stata Journal: Promoting communications on statistics and Stata
- Publisher
- SAGE Publications
- Published
- 2019-03
- Volume
- 19
- Issue
- 1
- Pages
- 4-60
- ISSN
- 1536-867X (ISSN-L)
- 1536-8734
- OpenAlex
- W2891445448
- Cited by
- 1,007
- References
- 54
- Citations by year
- 2026: 208 · 2025: 112 · 2024: 132 · 2023: 125 · 2022: 122 · 2021: 146 · 2020: 93 · 2019: 49
- FWCI
- 79.80
- Type
- journal article
- Language
- en
- Open access
- bronze
- doi.org
- Licence
- journals.sagepub.com/page/policies/text-and-data-mining-license (tdm)
- Locations
- The Stata Journal Promoting communications on statistics and Stata (publishedVersion)
- RePEc: Research Papers in Economics (submittedVersion)
- AgEcon Search (University of Minnesota, USA) (submittedVersion, cc-by-nc-nd)
- Econstor (Econstor) (submittedVersion)
- Scopus (Elsevier) (submittedVersion, other-oa)
- AgEcon Search (University of Minnesota, USA)
- Funders
- National Research Foundation (DNRF78)
- Danmarks Grundforskningsfond (DNRF78)
- Canada Research Chairs
- Social Sciences and Humanities Research Council of Canada (DNRF78)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Causal Inference Techniques
- Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Statistical Methods and Models
- Keywords
- wild bootstrap, wild cluster bootstrap, heteroscedasticity, clustered data, instrumental variables, weak instruments, Wald test, score test, Anderson-Rubin test, confidence regions, postestimation, Stata
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.