Skip to content

Statistical Rethinking 2024: Lecture 6

Figures and models shown during the lecture Good and Bad Controls

Level Beginner
Tags Causal inference
Links Stan R Python Julia

This notebook reproduces all the figures and code blocks shown during the Good and Bad Controls lecture from the 2024 lecture series.

Each code snippet comes with a time-tagged YouTube link, so you can jump right over to YouTube if you’d like to see what Richard says about the code.

The notebook touches on the following topics:

  • Simulating data
  • The backdoor criterion
  • Confounding
  • Causal contrasts