About

This notebook contains R code for part 2 of Causal Inference by Miguel Hernán and Jamie Robins (1). While R, SAS, Stata, and Python code are available on the website for Causal Inference, we focus on doing causal inference using the tidyverse ecosystem of R packages, particularly ggplot2, dplyr, and broom.

This notebook is hosted on GitHub; please post any issues or suggestions there.

References

1. Hernán MA, Robins JM. Causal Inference. Boca Raton: Chapman Hall/CRC; 2019.