20  Overview (McE/Bayes)

20.1 This resource

The following chapters represent my notes 1 on

  1. Richard McElreath’s Statistical Rethinking text2 (and sometimes his videos)

and

  1. Statistical rethinking with brms, ggplot2, and the tidyverse by A Solomon Kurz

I intend to begin with a ‘fork’ of the latter3

The present resource is tied to our RP internal book group on the above, which is outlined and organized in the git wiki here.

For now, our collaborative organizational space is this Gdoc

Key packages for Mcelreath and recoding
#for recoding
library(pacman)
p_load(dplyr, ggplot2, magrittr, janitor, stringr, brms, tidyr,  install = FALSE)

#mcelreath packages
install.packages(c("coda","mvtnorm","devtools","dagitty", "remotes"))
Installing coda [0.19-4] ...
    OK [linked cache]
Installing mvtnorm [1.1-3] ...
    OK [linked cache]
Installing remotes [2.4.2] ...
    OK [linked cache]
Installing devtools [2.4.5] ...
    OK [linked cache]
Installing dagitty [0.3-1] ...
    OK [linked cache]
Key packages for Mcelreath and recoding
library(remotes)
remotes::install_github("rmcelreath/rethinking")

library(rethinking)

#renv::snapshot()

  1. Reinstein, others may contribute↩︎

  2. McElreath, R. (2015). Statistical rethinking: A Bayesian course with examples in R and Stan. Chapman & Hall/CRC Press.↩︎

  3. This is not an actual fork, although I may move the content it over to my actual fork of that bookdown here … when I do, I’ll put a link back↩︎