# Statistical Rethinking

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

I am currently updating code snippets and exercise solution to follow the second version of the book. Solutions to old exercises can still be found on another branch.

## Chapter 2

## Chapter 3

## Chapter 4

## Chapter 5

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