# Statistical Rethinking

These are code snippets, plots and my solutions to some of the exercises of the book “Statistical Rethinking” by Richard McElreath.

I started going through the book in spring 2018. As part of the Berlin Bayesian’s reading group, I am currently in the process of updating the code and exercise solutions to the newest, second edition.

#### Chapter 2

#### Chapter 3

#### Chapter 4

#### Chapter 5

- Spurious Associations
- Masked Relationships
- When adding variables hurt
- Categorical Variables
- Ordinary Least Squares
- Exercises