New Topic

Panel Data

Adding group structure to data

Example Panel Data Sets

Panel Structure

Answering Questions with Panel Data

Notation

Event Studies

Unobserved Effects Model

When to trust event studies

Extensions

Example: “Coups, Corporations, and Classified Information”

Specification

Specification reported in paper

Specification reported in paper

Results

Results

Results

Event Study Limitations

Accounting for systematic time variation

Differences in Differences

Estimator

Table of outcomes

Time / Unit Before After After-Before
Control \(\beta_0\) \(\beta_0+\delta_0\) \(\delta_0\)
———– ——— —————— ————
Treatment \(\beta_0+\beta_1\) \(\beta_0+\delta_0 +\beta_1+\delta_1\) \(\delta_0+\delta_1\)
———– ——— —————— ————
Treatment - Control \(\beta_1\) \(\beta_1+\delta_1\) \(\delta_1\)

Example: Minimum wage in New Jersey and Pennsylvania

Employees per store by state and time (Card & Krueger Table 3)

Time / Unit 1991 1992 After-Before
PA 23.33 21.17 -2.16
———– ——— —————— ————
NJ 20.44 21.03 0.59
———– ——— —————— ————
NJ - PA -2.89 -0.14 2.76

Interpretation

Regression Representation

More than 2 periods

Visualization (Code 1)

# Plotting software for overlay graphics
library(ggplot2)  
xg<-seq(0,16,1) #x grid
#Generate functions
difdif1=function(x){
  2+1.5*sin(0.5*x)+1*1+4*1*(x>=8)+0.5*x*1
}
difdif0=function(x){
  2+1.5*sin(0.5*x)+1*0+4*0*(x>=8)+0.5*x*0
}
y1<-difdif1(xg)
y2<-difdif0(xg)

Visualization (Code 2)

frame<-data.frame(xg,y1,y2) #Group in one data set

graph<-ggplot(data=frame,aes(x=xg))+
    geom_line(aes(y=y1),color="blue")
  +geom_line(aes(y=y2),color="red") 
  + ylab("Outcome") + xlab("Time")
  +ggtitle("Differing Trends and Baselines: 
           Blue line treated after t=8")
graph #Display Graph

Visualization

Sampling Issues

Standard error issue: Serial correlation

General framework

Fixed effects model

How do we estimate coefficients in Fixed Effects model?

First Differences

First differences, interpretation

\[\Delta Y_{i,2}=\gamma_2 + \Delta X_{i,2}^{\prime}\beta + \Delta u_{i,2}\]

Example: Chetty et al 2015

Time invariant characteristics

Multiple Time Periods

Next Time