library(tidyverse)
<- read_csv("https://raw.githubusercontent.com/MadisonHardesty/13th-Floor/refs/heads/main/dataNYC.csv") nyc
Difference-in-differences
- Slides for today are available here.
Example: Triskaidekaphobia and apartment prices
Read the article Why do buildings skip the thirteenth floor?
After reading, answer the following with your group:
- How did the authors apply the difference-in-differences (DiD) framework to this setting?
- Do you think the assumptions they made were reasonable?
- What regression model underlies their DiD analyses?
- Why did the authors repeat their analyses after matching relabelled and not relabelled apartment buildings?
Underlying code and data: GitHub repo