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.
Original language | English |
---|---|
Pages (from-to) | 3-45 |
Number of pages | 43 |
Journal | The Stata Journal |
Volume | 24 |
Issue number | 1 |
Early online date | 19 Mar 2024 |
DOIs | |
Publication status | Published - Mar 2024 |
Keywords
- causal inference
- ddml
- double/debiased machine learning
- doubly robust estimation
- machine learning
- st0738
ASJC Scopus subject areas
- Mathematics (miscellaneous)