• Stars
    star
    2,016
  • Rank 22,960 (Top 0.5 %)
  • Language
  • Created about 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Statistical Rethinking course at MPI-EVA from Dec 2018 through Feb 2019

Statistical Rethinking: A Bayesian Course Using R and Stan

Winter 2018/2019

Instructor: Richard McElreath

Location: Max Planck Institute for Evolutionary Anthropology, main seminar room

When: 10am-11am Mondays & Fridays (see calendar below)

Materials

R package

We'll use the Experimental (development) branch of my R package, because it has new features to go with the new course notes. First, you need to install rstan. Go to http://mc-stan.org/ and find the instructions for your platform. Then you can install the rethinking package:

install.packages(c("devtools","mvtnorm","loo","coda"),dependencies=TRUE)
library(devtools)
install_github("rmcelreath/rethinking",ref="Experimental")

The code is all on github: https://github.com/rmcelreath/rethinking/tree/Experimental

Draft chapters

We'll use draft chapters for the 2nd edition of my book, Statistical Rethinking. The draft is no longer available here for download. The book is expected in print in March 2020.

Homework and solutions

I will also post problem sets and solutions here. Check the folders at the top.

Lectures

Links to slides and videos are in the calendar below. The full lecture video playlist is here: <Statistical Rethinking 2019>. The course examples in R have been converted to <Python/pyMC3> as well.

Calendar & Topical Outline

01-Dec 3: The Golem of Prague <slides> <video>
02-Dec 7: Garden of Forking Data <slides> <video>

03-Dec 10: Geocentric Models <slides> <video>
04-Dec 14: Wiggly Orbits <slides> <video>

05-Jan 7: Spurious Waffles <slides> <video>
06-Jan 11: Haunted DAG <slides> <video>

07-Jan 14: Ulysses' Compass <slides> <video>
08-Jan 18: Model Comparison <slides> <video>

09-Jan 21: Conditional Manatees <slides> <video>
10-Jan 25: Markov Chain Monte Carlo <slides> <video>

11-Jan 28: Maximum entropy & GLMs <slides> <video>
12-Feb 01: God Spiked the Integers (binomial & Poisson GLMs) <slides> <video>

13-Feb 04: Monsters & Mixtures (Poisson GLMs, survival, zero-inflation) <slides> <video>
14-Feb 08: Ordered Categories, Left & Right <slides> <video>

15-Feb 11: Multilevel Models <slides> <video>
16-Feb 15: Multilevel Models 2 <slides> <video>

17-Feb 18: Adventures in Covariance <slides> <video>
18-Feb 22: Slopes, Instruments and Social Relations <slides> <video>

19-Feb 25: Gaussian Processes <slides> <video>
20-Mar 01: Missing Values and Measurement Error <slides> <video>

More Repositories

1

stat_rethinking_2022

Statistical Rethinking course winter 2022
R
4,109
star
2

stat_rethinking_2023

Statistical Rethinking Course for Jan-Mar 2023
R
2,174
star
3

rethinking

Statistical Rethinking course and book package
R
2,113
star
4

stat_rethinking_2024

R
837
star
5

stat_rethinking_2020

Statistical Rethinking Course Winter 2020/2021
R
651
star
6

causal_salad_2021

One day course on causal inference, MPI-EVA 9 September 2021
R
241
star
7

VLEGT

Verty short course on evolutionary game theory
148
star
8

PhD_planning_template

Outline for planning PhD projects
TeX
101
star
9

cmdstan_map_rect_tutorial

Beginner tutorial for using cmdstan with multithreading
R
61
star
10

glmer2stan

Define Stan models using glmer-style (lme4) formulas
R
54
star
11

rethinking_manual

Extended documentation and model examples for rethinking R package
TeX
33
star
12

elements_evolutionary_anthropology

Text project for theoretical primer on human evolutionary ecology
TeX
29
star
13

CES_rater_2021

Talk rater model for CES 2021 conference
R
14
star
14

SRM_multilayer

Model development for reciprocity in multi-layer directed social networks
R
7
star
15

SBM_latent_gifts_survey

Stochastic block model for inferring latent network from both gift and survey data
Stan
7
star
16

cg_vocal_repertoires

Estimating vocal repertoires from finite samples in which we expect undercounting
R
7
star
17

parasiticbehaviorsim

R package for parasitic behavior and social learning simulations
R
5
star
18

cchunts

Koster et al cross-cultural foraging data analysis
R
5
star
19

networks_with_disagreement

Models for analyzing network data in which informant reports may be in conflict
Stan
5
star
20

Himba_EPP

R script for multilevel estimate of extra-pair paternity rate in a Himba sample
R
4
star
21

intro_to_stan_stancon2024

Introductory tutorial on the Stan language
4
star
22

vanLeeuwen_2018_strategy_analysis

Reanalysis of vanLeeuwen et al 2018 DOI: 10.1038/s41467-018-04468-2
Stan
3
star
23

mcelreath-koster-human-nature-2014

Data and model fitting scripts from McElreath & Koster. 2014. Using Multilevel Models to Estimate Variation in Foraging Returns: Effects of Failure Rate, Harvest Size, Age, and Individual Heterogeneity. Human Nature, 25, 100-120.
R
3
star
24

EBC_brain_vocal_modeling

Development of brain-vocal analysis for EBC
R
3
star
25

baryplot

R package for plotting evolutionary game dynamics within barycentric coordinates (triangle plots)
R
2
star
26

EBC_modeling_and_inference

Modeling and statistical inference for the CBS/EVA Evolution of Brain Connectivity project
TeX
1
star