This repository hosts the 2022 version of the Statistical Rethinking course. It contains course materials such as R scripts, notebooks, and worked examples aligned with McElreath’s textbook. The code emphasizes Bayesian data analysis using R, the rethinking package, and Stan models. It includes lecture code files, example datasets, and structured exercises that parallel the topics covered in the lectures (probability, regression, model comparison, Bayesian updating). The repo functions as a direct hands-on reference for students following the 2022 recorded lecture series. There are 10 weeks of instruction. Links to lecture recordings will appear in this table. Weekly problem sets are assigned on Fridays and due the next Friday, when we discuss the solutions in the weekly online meeting.
Features
- Lecture-aligned R scripts and examples from the 2022 course
- Emphasis on Bayesian inference and probabilistic modeling
- Use of the rethinking package and Stan for model fitting
- Example datasets with reproducible workflows
- Exercises matching course material for practice
- Companion to YouTube-recorded lectures from 2022