ddml: Double/Debiased Machine Learning in Stata

52 Pages Posted: 24 Feb 2023

See all articles by Achim Ahrens

Achim Ahrens

ETH Zurich

Christian Hansen

University of Chicago - Booth School of Business - Econometrics and Statistics

Mark Schaffer

Heriot-Watt University; IZA Institute of Labor Economics

Thomas T. Wiemann

University of Chicago - Department of Economics

Abstract

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.

Keywords: st0001, causal inference, machine learning, doubly-robust estimation

JEL Classification: C14, C21, C87

Suggested Citation

Ahrens, Achim and Hansen, Christian and Schaffer, Mark and Wiemann, Thomas T., ddml: Double/Debiased Machine Learning in Stata. IZA Discussion Paper No. 15963, Available at SSRN: https://ssrn.com/abstract=4368837 or http://dx.doi.org/10.2139/ssrn.4368837

Christian Hansen

University of Chicago - Booth School of Business - Econometrics and Statistics ( email )

Chicago, IL 60637
United States
773-834-1702 (Phone)

Mark Schaffer

Heriot-Watt University ( email )

Riccarton
Edinburgh EH14 4AS, Scotland EH14 1AS
United Kingdom

IZA Institute of Labor Economics

P.O. Box 7240
Bonn, D-53072
Germany

Thomas T. Wiemann

University of Chicago - Department of Economics ( email )

1101 East 58th Street
Chicago, IL 60637
United States

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
42
Abstract Views
285
PlumX Metrics