Errata

In the first iteration of Causal Inference: The Mixtape, I inadvertently forgot to cite material influence by the work of Marcelo Perrailon; the online version has been updated to correct this oversight, and this correction has been incorporated into the next printing of the paperback edition.

Acknowledgments

Introduction

Probability and Regression

  • Fixed set notation on around page 22

Directed Acyclical Graphs

Potential Outcomes

Matching and Subclassification

Regression Discontinuity

  • Update lmb_5.R and lmb_6.R #12

  • In nonparametric kernels subsection, the equation is missing argmin.

  • On page 257, the last paragraph should read: "Sometimes these abstract ideas become much easier to understand with data. Health economist Marcelo Perraillon uses simulated data to teach about th eestimation challenges with nonlinearities. I will use a similar approach using Stata and R in the following examples.

  • On page 257, line 6 of rdd_simulate1.do, write “* Generate running variable. Stata code attributed to Marcelo Perraillon.”

  • On page 259, change line 1 of rdd_simulate2.do to say “* Stata code attributed to Marcelo Perraillon.”

  • On page 261, change line 1 of rdd_simulate3.do to say “* Stata code attributed to Marcelo Perraillon.”

  • On page 265, line 1 of rdd_simulate4.do, replace the early line reading “* Polynomial modeling” with “* Stata code attributed to Marcelo Perraillon.”

  • On page 294, line 2 of lmb_1.do, write “* Stata code attributed to Marcelo Perraillon.”

  • On page 295, change line 1 of lmb_2.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 296, change line 1 of lmb_3.do to “* Re-center the running variable. Stata code attributed to Marcelo Perraillon.”

  • On page 298, change line 1 of lmb_4.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 298, change line 1 of lmb_5.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 300, change line 1 of lmb_6.do to “* Use 5 points from cutoff. Stata code attributed to Marcelo Perraillon.”

  • On page 303, change line 1 of lmb_7.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 307, change line 1 of lmb_8.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 309, change line 1 of lmb_9.do to “* Stata code attributed to Marcelo Perraillon.”

  • On page 311, change line 1 of lmb_10.do to “* McCrary density test. Stata code attributed to Marcelo Perraillon.”

  • Figures 25, 26, 27, 28 have captions that should end with “Figures attributed to Marcelo Perraillon.”

  • In Acknowledgements, page x, insert this paragraph after mentioning Young MC but before “Finally…” “I would like to thank the health economist, Marcelo Perraillon, whose insightful approach to using simulated variables and figures to illustrate estimation challenges with regression discontinuity shaped my own pedagogy. I also acknowledge him for introducing me to the “cmogram” command in Stata

  • Page 242, dropped “which we discuss in later detail” following Angrist and Lavy (1999).

  • Insert arg min in front of equation at the end of section 6.2.5 (prior to discussing Card, et al. (2008) Medicare paper)

Instrumental Variables

Panel Data

Difference in Differences

  • Update abortion_dd.R script #11

Synthetic Control