Diff-in-Diff in R, the Minimum Legal Drinking Age (MLDA) example
Channel: Ralf Becker
Date: 04/03/2021

In this video I demonstrate how to apply a multi state Diff-in-Diff analysis, where policy timings and intensity vary.
This pdf file provides a detailed walkthorough: https://github.com/datasquad/RforQM/blob/master/Diff_in_Diff/mlda-dd.pdf
The datafiles required can be downloaded from here: https://github.com/datasquad/RforQM/blob/master/Diff_in_Diff/deaths.Rdata and here: https://github.com/datasquad/RforQM/blob/master/Diff_in_Diff/states.xlsx.

This example is a replication of the results presented in Angrist and Pischke, Mastering Metrics, https://www.masteringmetrics.com/ (Chp 5). That is also the source of the data.
The code is based on: Jeffrey Arnold's R implementation
https://jrnold.github.io/masteringmetrics/

This clip is part of the R for Econometrics wiki on http://eclr.humanities.manchester.ac.uk/index.php/R.