We introduce the package ddml for Double/Debiased Machine Learning (DDML) 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 and/or many exogenous variables. ddml is compatible with many existing supervised machine learning programs in Stata. We recommend using DDML in combination with stacking estimation which combines multiple machine learners into a final predictor. We provide Monte Carlo evidence to support our recommendation.
翻译:我们在斯塔塔引入双向/缺陷机器学习(DDML)软件包。支持对五个不同计量经济学模型的因果参数进行估算,以便能够灵活地估计功能形式不明和/或许多外源变量环境中的内生变量的因果影响。ddml与斯塔塔现有的许多受监督的机器学习程序兼容。我们建议使用DDML与堆叠估算相结合,将多台机器学习者合并成一个最终预测器。我们为蒙特卡洛提供了证据来支持我们的建议。