When one analyzes the determinants of production efficiency, regressing efficiency scores estimated by data envelopment analysis on explanatory variables has much intuitive appeal. Simar and Wilson (2007, Journal of Econometrics 136: 31–64) show that this conventional two-stage estimation procedure suffers from severe flaws that render its results, and particularly statistical inference based on them, questionable. They additionally propose a statistically grounded bootstrapbased two-stage estimator that eliminates the above-mentioned weaknesses of its conventional predecessors and comes in two variants. In this article, we introduce the new command simarwilson, which implements either variant of the suggested estimator in Stata. The command allows for various options and extends the original procedure in some respects. For instance, it allows for analyzing both outputand input-oriented efficiency. To demonstrate the capabilities of simarwilson, we use data from the Penn World Tables and the Global Competitiveness Report by the World Economic Forum to perform a cross-country empirical study about the importance of quality of governance in a country for its efficiency of output production.