EconML
is a Python package for estimating heterogeneous treatment effects from observational data via machine learning. In this repo you will learn how to call EconML
from R using the reticulate
R package. The code adheres as closely as possible to the Tidyverse principles and style.
To this end, I reproduce two examples that appear in the "Double Machine Learning: Use Cases and Examples" EconML notebook:
-
Example Usage with Single Continuous Treatment Observational Data
[R Markdown notebook code / RStduio Cloud project / Original Python notbook (section 4)] -
Example Usage with Multiple Continuous Treatment, Multiple Outcome Observational Data
[R Markdown notebook code / RStduio Cloud project / Original Python notbook (section 5)]