These are the materials for my Difference-in-Differences workshop at the Bank of Portugal, Oct. 28-31, 2024.
[Slides]
[Code]
[Slides]
[Code]
Applying DID techniques from parts 1 and 2 to job displacement data.
[Problems]
[R Solutions] [Stata Solutions] (Stata solutions were written by Kyle Butts for Mixtape Sessions)
[Slides]
[Code] [Honest DID Code]
[Slides]
[Code]
DID with a continuous treatment using simulated hospital data.
[Problems]
[Slides]
[Code]
Applying alternative identification strategies to job displacement data.
Data - same as Coding Exercise 1
This is the main data used during the workshop.
Full Data: mw_data_ch2.RData mw_data_ch2.dta
Main subset of data used in workshop data2.RData data2.dta
Alternative subset of data mentioned in workshop data3.RData data3.dta
Data with more years used for IFE mw_data_ch_more_years2.RData
A main resource for the material from today’s workshop is my DID chapter in the Handbook of Labor, Human Resources, and Population Economics. The published (gated) version is available here. The (ungated) draft version is available here.