I’ve been trying to replicate (nearly) all the models in Richard McElreath’s Statistical Rethinking (2nd ed.) book using Stan
, R
, rstan
, tidybayes
, and ggplot2
. This is work in progress.
Rendered Rmarkdown
notebooks can be viewed here:
- Chapter 04
- Chapter 05
- Chapter 06
- Chapter 07
- Chapter 08
- Chapter 09
- Chapter 11
- Chapter 12
- Chapter 13
- Chapter 14
- Chapter 15
- Chapter 16
All data and code can be downloaded from Github: https://github.com/vincentarelbundock/rethinking2
Caveat
I make no claim to expertise. This project was started as a way to learn Stan and Bayesian statistics. If you find bad code or inacurate content, please send me an email or file an issue on Github.