8
$\begingroup$

Over the past 15 years there has been progress in adapting machine learning methods for causal inference. For example: targeted learning, double machine learning, causal trees.

Is there a textbook that covers the current range of techniques? I haven't seen anything on Amazon, perhaps there are texts available on other sites? Or will be published soon?

$\endgroup$
3
  • $\begingroup$ ML doesn’t come to mind when thinking of causal inference $\endgroup$
    – Aksakal
    Oct 19, 2021 at 21:12
  • 4
    $\begingroup$ @Aksakal Agreed, but lately there's been some work in this area. ML algorithms have some advantages over traditional parametric models when estimating average treatment effects for complex, high dimensional data. The tricky part is finding unbiased estimates plus confidence intervals. $\endgroup$
    – RobertF
    Oct 20, 2021 at 2:32
  • $\begingroup$ Your question is about recommended books for ML and causal inference. Useful suggestions was already given. About causal inference and non recommended econometrics books read here stats.stackexchange.com/questions/477705/… $\endgroup$
    – markowitz
    Nov 14, 2021 at 12:02

3 Answers 3

9
$\begingroup$

I follow this area pretty closely, but I think this subfield is so new no textbook exists (yet).

However, there are some course videos that are fairly good:

  1. Machine Learning & Causal Inference: A Short Course at Stanford (accompanying tutorial)
  2. Summer Institute in Machine Learning in Economics (MLESI21) at University of Chicago

There is also a nice survey paper: "Machine learning methods that economists should know about" by Susan Athey, Guido Imbens in the Annual Review of Economics (link to draft)

$\endgroup$
1
  • 1
    $\begingroup$ Thanks dimitriy. Susan Athey's name comes up quite a bit when I google "machine learning causal inference" $\endgroup$
    – RobertF
    Oct 20, 2021 at 2:34
1
$\begingroup$

As dimitriy states, there isn't a singular textbook yet (or at least that I am aware of). However, there are a few textbook materials you can piece together to cover the topics you mentioned.

  1. Targeted Learning in Data Science covers super learner (which is a generalized stacking algorithm you would almost always want to use in practice), and targeted maximum likelihood estimation (with a bunch of variations of it). I think this one will be preferred over the other targeted learning book since the one linked above covers the machine learning parts a bit better
  2. Chapter 18 of Hernan and Robins covers double machine learning.

Unfortunately, I don't have a recommendation for causal trees

$\endgroup$
11
  • $\begingroup$ Beware that the super learning can be dominated by a single "machine" that is grossly overfitted, making the super learner ensemble highly overfitted. $\endgroup$ Oct 20, 2021 at 12:30
  • $\begingroup$ Do you have a reference that demonstrates that? My impression is that the cross-validation decreases that (more so than alternative approaches) $\endgroup$
    – pzivich
    Oct 20, 2021 at 12:37
  • $\begingroup$ I just have an example analysis on a 40,000 patient clinical trial. Cross-validation reveals but doesn't fix that. The super learner was fooled. One of the learners was a random forest-like method that was overfitted to a degree I've never seen before. $\endgroup$ Oct 20, 2021 at 12:42
  • $\begingroup$ @FrankHarrell A good topic for another question, I'd like to see this study. I'm curious if it's possible, even with cross-validation, to overfit a model to given training & test datasets? $\endgroup$
    – RobertF
    Oct 20, 2021 at 16:10
  • 1
    $\begingroup$ No, DML requires sample splitting. Chernozhukov et al. (2017) estimates the ATE using the augmented inverse probability weighting (AIPW) estimator with single cross-fitting. See stats.stackexchange.com/a/482498/247479 The 3rd model doesn't happen (that's almost like TMLE, but not quite). But influence curves are underlying all of it since they are used to show that the estimator is semiparametric efficient, and the variance (particularly with DML) is estimated from the influence curves. For how AIPW works, I would read Funk et al. (2011) "Doubly Robust Estimation of Causal Effects". $\endgroup$
    – pzivich
    Oct 21, 2021 at 14:53
0
$\begingroup$

For most recent work have a look at the conference for Causal Learning and Reasoning (CLeaR) 2022.

If you want to get started with ML and causal inference, I particular recommend (disclaimer: I m one of the co-authors) to look at Kelly, Kong, Goerg (2022) on "Predictive State Propensity Subclassification (PSPS): A causal inference algorithm for data-driven propensity score stratification". It's a fully probabilistic framework for causal inference by learning causal representations in the predictive state space for Pr(outcome | treatment, features). See paper for details.

For a ready to go TensorFlow keras implementation see https://github.com/gmgeorg/pypsps with code examples and notebook case studies.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.