Skip to content

jjackson-eco/Statistical_rethinking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7c706a2 · Oct 14, 2020

History

24 Commits
Sep 29, 2020
Oct 14, 2020
Oct 12, 2020
Oct 12, 2020
Oct 12, 2020
Oct 12, 2020
Sep 30, 2020
Sep 30, 2020
Sep 29, 2020
Sep 29, 2020
Sep 29, 2020

Repository files navigation

John's notes on Statistical Rethinking

2020-09-29

John Jackson


Here I have put together my lecture notes from the Statistical Rethinking book (second edition) by Professor Richard McElreath, which can be found here. The note files are split by chapters of the book. However, the note headings follow the lectures from Winter 2019 that are presented here on YouTube, and there are some slight divergences between the lectures and the chapters of the book - particularly later on.

Due to the computation involved in running the Markov chains for GLM and mixed effects models, the notes are split between 4 R markdown files:

  1. Chapters 1-8 - Statistical_Rethinking_1_8.Rmd
  2. Chapters 9-12 - Statistical_Rethinking_9_12.Rmd
  3. Chapters 13 & 14 - Statistical_Rethinking_13_14.Rmd
  4. Phylogenetic regression - Phylogenetic_regression.Rmd

These markdown files are also accompanied by their resultant html files - again to save on computation.

To run the markdown files yourself, you will need to have all of the following packages installed:

library(tidyverse)  
library(rmarkdown)
library(rmdformats)
library(gridExtra)
library(ggridges)
library(rstan) # Follow the instructions at https://mc-stan.org/users/interfaces/rstan for installation
library(rethinking)
library(dagitty)
require(MASS)
require(ellipse)
require(ape)

Happy Bayesian-ing :)


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages