5.2 — Difference-in-Differences — Class Content

Meeting Dates

Monday, November 28, 2022

Upcoming Assignment

Problem Set 5 is due on Monday November 28.

Overview

Today, we look at one of the most commonly used by professional researchers and econometricians: difference-in-differences, also called “diff-in-diff” or “DND.” The setup of this regression is actually quite simple, consisting (primarily) of a series of dummy variables and an interaction effect:

Yit=β0+β1Beforet+β2Treatedi+β3(Beforei×Treatedt)+uit

where

Treatedi={1 if i is in treatment group0 if i is not in treatment groupAftert={1 if t is after treatment period0 if t is before treatment period

Thus, β3^ is the causal effect of the treatment we aim to measure. As an interaction effect between two dummies, we can interpret β1^ as measuring the difference across treatment & control group before any treatments happen, β2^ as the difference over time, and β3^ as the difference of the differences:

Control Treatment Group Diff (ΔYi)
Before β0 β0+β1 β1
After β0+β2 β0+β1+β2+β3 β1+β3
Time Diff (ΔYt) β2 β2+β3 Diff-in-diff ΔiΔt:β3

Readings

Assignments

Problem Set 5 Due Mon Nov 28

Problem Set 5 is due by the end of the day on Wednesday, November 28.

Slides

Below, you can find the slides in two formats. Clicking the image will bring you to the html version of the slides in a new tab. The lower button will allow you to download a PDF version of the slides.

I suggest printing the slides beforehand and using them to take additional notes in class (not everything is in the slides)!

5.2-slides

Download as PDF