Type at least 2 letters. Enter opens the first result, Esc closes.

    Videos and books for causal inference

    The free courses, lecture series, books and papers that pair best with this track, with a note on what each one is good for.

    Every resource on this page is free to watch or read, from the author's, the university's or the publisher's own page, unless it is marked "(book)". Each lesson of the track also ends with a Watch and read section that names the exact video, chapter or paper.

    How to use it. Watch a short video for the picture, then read the lesson and run its notebook. After that, read the matching chapter from the table at the end of this page. Brady Neal's course follows almost the same order as this track, so it is the best single companion. What If (Hernán and Robins) is the best book for the potential-outcome side; Causal Inference in Statistics: A Primer (Pearl, Glymour and Jewell) is the best short book for the graph side.

    A note on notation. This track writes the treatment as TT, the outcome as YY, covariates as XX and potential outcomes as Y(1),Y(0)Y(1), Y(0). Books use other letters for the same objects: Hernán and Robins write AA for the treatment and YaY^{a} for a potential outcome; economists (Angrist and Pischke, Cunningham) write DD; Imbens and Rubin write WW; Pearl often writes XX for the treatment and YxY_x for a potential outcome. The ideas are the same. Lesson 02 gives the full list.

    Video courses #

    Start here #

    The first lecture of the course: Simpson's paradox, why correlation is not causation, and the plan of the field; it pairs with lesson 01.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    A short video without formulas on why an association is not an effect; good before lesson 01.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    • Brady Neal, Introduction to Causal Inference (course page, full lectures playlist, short-video playlist). A full machine-learning-oriented course with free course notes: potential outcomes, graphs, the do-operator, estimation, instruments, difference-in-differences, causal discovery, transfer learning and counterfactuals. Guest talks by Susan Athey (heterogeneous effects) and Alberto Abadie (synthetic control). It pairs with almost every lesson; see the table below.
    • Mod•U, Causal Inference Bootcamp (playlist). Videos of 3–9 minutes from Duke University, without formulas: correlation and causation, randomized experiments, matching, instruments, noncompliance, regression discontinuity and counterfactuals. Watch one before a lesson when its topic is new to you.

    Graphs, confounders and controls #

    The fork, the pipe (chain) and the collider, each with a simulation; it pairs with lesson 03.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    The backdoor criterion in practice, and controls that add bias; it pairs with lesson 04.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    • Richard McElreath, Statistical Rethinking 2023 (playlist, course materials). A Bayesian statistics course that draws a causal graph before every model. Lectures 5 and 6 are the causal part and pair with lessons 03 and 04; the rest of the course is Bayesian modeling.

    Causal inference for machine learning #

    David Sontag on causal questions in medicine, potential outcomes, the ATE and the CATE, and covariate adjustment with ML models; it pairs with lessons 02 and 05.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    The second part (a 2020 recording): the same setting seen through causal graphs, and the estimation of effects from observational data; it pairs with lessons 03–05.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play
    • MIT 6.S897, Machine Learning for Healthcare (2019) (course page, YouTube playlist). Lectures 14 and 15 are the two videos above. The rest of the course shows where causal questions appear in clinical machine learning.
    • Stanford GSB, Machine Learning & Causal Inference: A Short Course (course page, YouTube playlist). Susan Athey and Stefan Wager on the ATE with ML, heterogeneous effects, causal forests and policy learning, with R tutorials. It pairs with lessons 05 and 08.
    Victor Chernozhukov explains Neyman orthogonality and cross-fitting; it pairs with lesson 08.
    Open on YouTube · the player loads from youtube-nocookie.com when you press play

    Designs from economics: instruments, cutoffs and panels #

    • Marginal Revolution University, Mastering Econometrics with Joshua Angrist (playlist, course page). Short, clear videos on randomized trials, regression, instrumental variables, regression discontinuity and difference-in-differences. They pair with lessons 02, 06 and 07.
    • Nick Huntington-Klein, The Effect videos (playlist). One 10-minute video per chapter of his free book The Effect: causal diagrams, matching, instruments, regression discontinuity, difference-in-differences and event studies. They pair with lessons 03, 05, 06 and 07.

    Free books #

    • Miguel Hernán and James Robins, Causal Inference: What If (book page, free PDF). The standard text for potential outcomes in epidemiology and medicine. Part I (chapters 1–10) needs no models and is very clear; Part II covers IPW, standardization, the g-formula and instruments. Pairs with lessons 01, 02, 03 and 05.
    • Brady Neal, Introduction to Causal Inference from a Machine Learning Perspective (course notes, free PDF). Short course notes that follow the video course: potential outcomes, graphs, do-calculus, estimation, sensitivity analysis, instruments, difference-in-differences, causal discovery and counterfactuals.
    • Jonas Peters, Dominik Janzing and Bernhard Schölkopf, Elements of Causal Inference (MIT Press, 2017; open access, free PDF from MIT Press and OAPEN). Structural causal models, cause-effect models with two variables, causal discovery, and the links to machine learning (causal and anticausal learning, semi-supervised learning, covariate shift). Pairs with lessons 09, 10 and 11.
    • Scott Cunningham, Causal Inference: The Mixtape (free online). An economics view with code in R, Stata and Python: potential outcomes and randomization, graphs, matching, regression discontinuity, instruments, difference-in-differences and synthetic control. Pairs with lessons 02, 05, 06 and 07.
    • Nick Huntington-Klein, The Effect: An Introduction to Research Design and Causality (free online). Very readable. Part I teaches how to draw and use causal diagrams; Part II covers matching, fixed effects, event studies, difference-in-differences, instruments and regression discontinuity.
    • Matheus Facure, Causal Inference for the Brave and True (free online). Python notebooks for every method, with a second part on heterogeneous effects, meta-learners and double ML for industry problems. Pairs with lessons 05 and 08.
    • Victor Chernozhukov, Christian Hansen, Nathan Kallus, Martin Spindler and Vasilis Syrgkanis, Applied Causal Inference Powered by ML and AI (free online). Double ML, orthogonal scores, heterogeneous effects and graphs, with Python and R notebooks. The main reference for lesson 08.
    • Stefan Wager, Causal Inference: A Statistical Learning Approach (free PDF). Lecture notes from Stanford: randomized trials, doubly robust estimation, heterogeneous effects, the R-learner, policy learning, instruments and panel data, with proofs. Pairs with lessons 05, 06 and 08.

    Books to know (not free) #

    • Judea Pearl, Madelyn Glymour and Nicholas Jewell, Causal Inference in Statistics: A Primer (2016, book; companion page with free solutions). About 130 pages: graphs, the do-operator, backdoor and frontdoor adjustment, counterfactuals. Pairs with lessons 03, 04 and 09.
    • Judea Pearl, Causality: Models, Reasoning, and Inference (2nd ed. 2009, book). The full theory of structural causal models, do-calculus and counterfactuals.
    • Guido Imbens and Donald Rubin, Causal Inference for Statistics, Social, and Biomedical Sciences (2015, book). Potential outcomes, randomization inference and matching in depth.
    • Joshua Angrist and Jörn-Steffen Pischke, Mostly Harmless Econometrics (2009, book). Regression, instruments, difference-in-differences and regression discontinuity, from the economics side.
    • Ron Kohavi, Diane Tang and Ya Xu, Trustworthy Online Controlled Experiments (2020, book; book page). A/B tests in industry: metrics, sample-ratio mismatch, interference and common pitfalls. Pairs with lesson 02.
    • Judea Pearl and Dana Mackenzie, The Book of Why (2018, book). A popular introduction without formulas; the source of the "ladder of causation" in lesson 01.

    Short reads #

    Which lesson pairs with what #

    Lesson Video Reading
    01 Correlation, causation, Simpson Neal lecture 1; Mod•U "Correlation vs. Causation" Hernán and Robins ch. 1; Pearl, Glymour and Jewell (Primer) ch. 1
    02 Potential outcomes and experiments Neal lecture 2 and video 5.2; MIT 6.S897 lecture 14 Hernán and Robins ch. 1–2; Neal ch. 2; Mixtape ch. 3; Kohavi, Tang and Xu (A/B tests)
    03 Causal graphs and d-separation Neal lectures 3–4; McElreath 2023 lecture 05 Primer ch. 2; Neal ch. 3; Hernán and Robins ch. 6 and 8
    04 The do-operator and adjustment Neal videos 4.6, 5.3, 5.4; McElreath 2023 lecture 06 Primer ch. 3; Neal ch. 4 and 6; Cinelli, Forney and Pearl (good and bad controls)
    05 Matching and propensity scores Neal videos 6.4, 6.5, 7.5; MIT 6.S897 lectures 14–15 Hernán and Robins ch. 12, 13 and 15; Neal ch. 7–8; Mixtape ch. 5; Brave and True ch. 10–12
    06 Instrumental variables Neal lecture 8; MRU "Introduction to Instrumental Variables" Mixtape ch. 7; The Effect ch. 19; Neal ch. 9
    07 RDD, DiD and synthetic control Neal lecture 9; Abadie guest talk; MRU difference-in-differences Mixtape ch. 6, 9, 10 and 11; The Effect ch. 18 and 20
    08 Causal ML Neal videos 6.1–6.5; Athey guest talk; Chernozhukov on double ML Chernozhukov et al. (CausalML book); Wager ch. 3–5; Brave and True part II
    09 Counterfactuals and mediation Neal lecture 14 Primer ch. 4; Peters, Janzing and Schölkopf ch. 3 and 6; Neal ch. 14
    10 Causal discovery Neal lectures 10–11 Peters, Janzing and Schölkopf ch. 4 and 7; Neal ch. 11–12
    11 Causality in ML practice Neal videos 12.1–12.2 Peters, Janzing and Schölkopf ch. 5 and 8; Schölkopf et al. (2012, 2021)