Skip to content

Statistical Rethinking 2024: Lecture 4

Figures and models shown during the lecture Categories and Curves

Level Beginner
Tags RegressionWorkflowPolynomialSpline
Links Stan R Python Julia

This notebook reproduces all the figures and code blocks shown during the Categories and Curves 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
  • Statistical notation
  • Causal contrasts
  • Polynomial terms
  • Splines