Department of Economics and Business Economics

Fast and Wild: Bootstrap Inference in Stata Using boottest

Research output: Working paperResearch

Documents

  • rp18_34

    Final published version, 1 MB, PDF-document

    James G. MacKinnon, Queen's University, Canada
  • Morten Ørregaard Nielsen
  • David Roodman, Open Philanthropy Project, San Francisco, United StatesMatthew D. Webb, Carleton University, Canada
The wild bootstrap was originally developed for regression models with heteroskedasticity of unknown form. Over the past thirty years, it has been extended to models estimated by instrumental variables and maximum likelihood, and to ones where the error terms are (perhaps multi-way) 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 Stata 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 (non-clustered) version. Wrappers offer classical Wald, score/LM, and Anderson-Rubin tests, optionally with (multi-way) 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 for illustration.
Original languageEnglish
Place of publicationAarhus
PublisherInstitut for Økonomi, Aarhus Univeritet
Number of pages48
Publication statusPublished - 18 Dec 2018
SeriesCREATES Research Papers
Number2018-34

See relations at Aarhus University Citationformats

ID: 138920224