6  Causality

6.1 R packages needed for this chapter

library(tidyverse)
library(ggdag)  # optional  

6.2 Intro to causality

Check out this talk.

6.3 Literature

Rohrer (2018) provides an accessible introduction to causal inference. Slightly more advanced is the introduction by one of the leading figures of the Field, Judea Pearl, Pearl et al. (2016). If your after a text book on modelling that covers causal inference, and if you like Bayesian statistics, than you should definitely check out McElreath (2020).