Machine Learning, Causal Inference, Data Science, Deep Dives, Notes From Industry.
through the set of control variables: In my implementation below, I choose RandomForests to estimate the conditional expectations, chosen for their robust performance. You can think of these two auxiliary models as “control models”: If X contains enough information about the relevant confounders,