Double/debiased machine learning¶
In the app: Help → Help contents, Double/debiased machine learning.
When the controls are many, or enter in unknown ways, the effect of a treatment can be estimated by learning the controls' part flexibly (lasso, random forests, boosted trees, or least squares) and then solving a score that is insensitive to small mistakes in what was learned (Neyman orthogonality). Cross-fitting learns each fold's nuisance functions on the other folds, so overfitting does not leak into the estimate. The partially linear model gives a constant effect (with an instrument, the partially linear IV model); the interactive model gives the average effect, or the average effect on the treated, of a 0/1 treatment by the doubly robust (AIPW) score. Splitting the sample several times and taking the median removes most of the dependence on one random split. The partially linear models have two scores: partialling out (the default), which learns E[Y|X], and the IV-type score, which learns g(X) = E[Y - theta D|X] from a first partialling-out estimate, as DoubleML does.
Clustered data: one series or axis keeps each cluster in one fold and sums the score within clusters. Two (firms and years, say) give two-way clustering (Chiang, Kato, Ma and Sasaki): each dimension's clusters are split into K folds, a test fold is a pair of them, its learners are trained only on observations in neither, and the variance allows for correlation within firms and within years.
Machine learning does not fix confounding: the controls must still contain every confounder. The sensitivity analysis (Estimate, Double ML sensitivity analysis, or dml_sensitivity) asks how strong an omitted confounder would have to be to matter (Chernozhukov, Cinelli, Newey, Sharma and Syrgkanis): one that explains a share cf_y of the outcome's residual variation and cf_d of the Riesz representer's (in the partially linear model, of the treatment's) moves the estimate by at most |rho| sqrt(cf_y cf_d / (1 - cf_d)) S. It gives the bounds, their one-sided confidence bounds, and the robustness values: the strength at which the bound (RV) or its confidence bound (RVa) reaches zero. Benchmarks judge those strengths by an observed control: refit without it, and see how much it explained. The contour plot shows the bound over both strengths, with the benchmarks marked.
See also¶
References¶
- Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen, C., Newey, W. and Robins, J. (2018). Double/debiased machine learning for treatment and structural parameters. Econometrics Journal 21(1), C1-C68. doi:10.1111/ectj.12097
- Chiang, H. D., Kato, K., Ma, Y. and Sasaki, Y. (2022). Multiway cluster robust double/debiased machine learning. Journal of Business & Economic Statistics 40(3), 1046-1056. doi:10.1080/07350015.2021.1895815
- Chernozhukov, V., Cinelli, C., Newey, W., Sharma, A. and Syrgkanis, V. (2022). Long story short: omitted variable bias in causal machine learning. NBER Working Paper 30302. doi:10.3386/w30302
- Robinson, P. M. (1988). Root-N-consistent semiparametric regression. Econometrica 56(4), 931-954. doi:10.2307/1912705