English

ddml: Double/debiased machine learning in Stata

Econometrics 2024-01-09 v3 Machine Learning

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

Cite

@article{arxiv.2301.09397,
  title  = {ddml: Double/debiased machine learning in Stata},
  author = {Achim Ahrens and Christian B. Hansen and Mark E. Schaffer and Thomas Wiemann},
  journal= {arXiv preprint arXiv:2301.09397},
  year   = {2024}
}

Comments

Tutorials and installations can be found at https://statalasso.github.io/

R2 v1 2026-06-28T08:17:44.153Z