DoubleML -- An Object-Oriented Implementation of Double Machine Learning in R

Philipp Bach, Victor Chernozhukov, Malte S. Kurz, Martin Spindler, Sven Klaassen
3/17/2021
86 citations
stat.MLcs.LGecon.EM

Official code: DoubleML/doubleml-for-r (172 stars, R, last commit 2026-09-01). Most starred: DoubleML/doubleml-for-py, a community implementation (801 stars, Python, BSD-3-Clause, last commit 2026-09-23, 4.7× the official stars). 2 more implementations below.

Abstract

The R package DoubleML implements the double/debiased machine learning framework of Chernozhukov et al. (2018). It provides functionalities to estimate parameters in causal models based on machine learning methods.

Show full abstract

The double machine learning framework consist of three key ingredients: Neyman orthogonality, high-quality machine learning estimation and sample splitting. Estimation of nuisance components can be performed by various state-of-the-art machine learning methods that are available in the mlr3 ecosystem. DoubleML makes it possible to perform inference in a variety of causal models, including partially linear and interactive regression models and their extensions to instrumental variable estimation. The object-oriented implementation of DoubleML enables a high flexibility for the model specification and makes it easily extendable. This paper serves as an introduction to the double machine learning framework and the R package DoubleML. In reproducible code examples with simulated and real data sets, we demonstrate how DoubleML users can perform valid inference based on machine learning methods.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
DoubleML/doubleml-for-rOfficial172R–2026-09-01
DoubleML/DoubleMLReplicationCodeOfficial10R–2024-06-05
DoubleML/doubleml-for-pyCommunity801PythonBSD-3-Clause2026-09-23

DoubleML - Double Machine Learning in R

17235RSep 9, 20203 months agoNOASSERTION
causal-inferencedata-sciencedouble-machine-learningeconometricsmachine-learning+3 more

Replication of Simulations in Bach et al. (2024) - DoubleML - An Object-Oriented Implementation of Double Machine Learning in R, https://doi.org/10.18637/jss.v108.i03

103RJul 27, 20212 years agoNOASSERTION
causalmldoublemlmachine-learningpythonr+1 more
BSD-3-Clause

DoubleML - Double Machine Learning in Python

801133PythonSep 9, 20202 months agoBSD-3-Clause
causal-inferencedata-sciencedouble-machine-learningeconometricsmachine-learning+3 more

Similar Papers

Cite this paper

@article{bach2021doubleml,
  title  = {DoubleML -- An Object-Oriented Implementation of Double Machine Learning in R},
  author = {Philipp Bach and Victor Chernozhukov and Malte S. Kurz and Martin Spindler and Sven Klaassen},
  year   = {2021},
  eprint = {2103.09603},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.09603}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.09603.svg)](https://codeofpaper.com/paper/2103.09603)

Discussion