Achim Ahrens, Christian B. Hansen, Mark E. Schaffer, Thomas Wiemann
{"title":"ddml: Double/debiased machine learning in Stata","authors":"Achim Ahrens, Christian B. Hansen, Mark E. Schaffer, Thomas Wiemann","doi":"10.1177/1536867x241233641","DOIUrl":null,"url":null,"abstract":"In this article, we introduce a package, ddml, for double/debiased machine learning in Stata. Estimators of causal parameters for five different econometric models are supported, allowing for flexible estimation of causal effects of endogenous variables in settings with unknown functional forms or many exogenous variables. ddml is compatible with many existing supervised machine learning programs in Stata. We recommend using double/debiased machine learning in combination with stacking estimation, which combines multiple machine learners into a final predictor. We provide Monte Carlo evidence to support our recommendation.","PeriodicalId":501101,"journal":{"name":"The Stata Journal: Promoting communications on statistics and Stata","volume":"26 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Stata Journal: Promoting communications on statistics and Stata","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1177/1536867x241233641","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
In this article, we introduce a package, ddml, for double/debiased machine learning in Stata. Estimators of causal parameters for five different econometric models are supported, allowing for flexible estimation of causal effects of endogenous variables in settings with unknown functional forms or many exogenous variables. ddml is compatible with many existing supervised machine learning programs in Stata. We recommend using double/debiased machine learning in combination with stacking estimation, which combines multiple machine learners into a final predictor. We provide Monte Carlo evidence to support our recommendation.
本文介绍了一个在 Stata 中进行双重/偏差机器学习的软件包 ddml。ddml 支持五种不同计量经济学模型的因果参数估计,可以在函数形式未知或外生变量众多的情况下灵活估计内生变量的因果效应。我们建议将双重/偏差机器学习与堆叠估计结合使用,后者将多个机器学习器合并为一个最终预测器。我们提供了蒙特卡罗证据来支持我们的建议。