Skip to content

Statistical Rethinking 2024: Lecture 5

Figures and models shown during the lecture Elemental Confounds

Level Beginner
Tags Causal inferenceSimulation
Links Stan R Python Julia

This notebook reproduces all the figures and code blocks shown during the Elemental Confounds 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
  • Different types of confounding
  • Animating plots in Makie 1

Footnotes

  1. You need to download and run the notebook to see the animation.