Professional Documents
Culture Documents
2 / 36
Introduction
Difference-in-differences (DID, 差の差分法) exploits the panel structure to estimate the
causal effect.
3 / 36
DID in Figure
4 / 36
Plan of the Lecture
Framework
5 / 36
Reference
Angrist and Pischke "Mostly Harmless Econometrics" Chapter 5
6 / 36
Framework
7 / 36
Framework
Two periods: t = 1, 2 . Treatment implemented at t = 2 .
Yit : observed outcome for person i in period t
Gi : dummy for treatment group
Dit : treatment status
Dit = 1 if t = 2 and Gi = 1
Potential outcomes
Yit (1): outcome for i when she is treated
8 / 36
Identification
Goal: ATT at t = 2
What we observe
Pre-period ( t = 1 ) Post ( t = 2 )
Treatment ( Gi = 1 ) E[Yi1 (0) ∣ Gi = 1] E[Yi2 (1) ∣ Gi = 1]
9 / 36
Simple Comparisons
Within period comparison
If E[Yi2 (0)|Gi = 1] = E[Yi2 (0)|Gi = 0] , ATT is identified by
Selection bias?
Before-after comparison
Time trend?
10 / 36
Parallel Trend (並行トレンド) Assumption
Assumption:
Interpretation: Change in the outcome without treatment is the same across two groups.
This puts an assumption on counterfactual trend in treatment group if it had not been
treated.
11 / 36
Difference-in-differences
Note that
Thus,
12 / 36
Estimation
13 / 36
Estimation Approach 1: Plug-in Estimator
Remember that the ATT is identified by
^
AT T ={ȳ (t = 2, G = 1) − ȳ (t = 1, G = 1)}
− {ȳ (t = 2, G = 0) − ȳ (t = 1, G = 0)}
14 / 36
Example: Card and Kruger (1994, AER)
Question: Effects of the minimum wage increase on employment.
On April 1, 1992, New Jersey's minimum wage rose from 4.25 to 5.05 USD.
Compare fast-food restaurants in New Jersey (treament group) and eastern Pennsylvania
(control group) before and after the rise.
15 / 36
16 / 36
Estimation Approach 2: Linear Regression
Run the following regression
Regression framework can incorporate covariates Xit , which is important to control for
observed confounding factors.
17 / 36
Two-way Fixed Effects Estimator
With panel data
ϵi is individual FE
ϵt is time FE.
Use the cluster-robust standard errors for inference! (Bertrand, Duflo, and Mullainathan
2004, QJE)
18 / 36
Event Study (イベントスタディ) Specification
With multiple periods, we can estimate the treatment effect in the post-treatment
periods
τ τ
yit = ϵi + ϵt + ∑ γ D + βXit + ϵit
it
τ =−k
D takes 1 if unit i is in treatment group and period t is τ period far from the treatment
τ
it
timing.
Normalize γ −1 = 0 .
19 / 36
Discussion on Parallel Trend Assumption
20 / 36
Discussions on Parallel Trend
Parallel trend assumption can be violated in various situations.
If treatment status depends on time-varying factors, treatment and control group may
have differential time trend in their outcome.
Note: DID can only deal with time-invariant factors.
21 / 36
Diagnostics for Parallel Trends: Pre-treatment trends
Check if the trends are parallel in the pre-treatment periods (プレトレンド)
22 / 36
Other Diagnostics: Placebo Effects in Pre-Treatment
Idea: If both groups are indeed similar, there should be no treatment effect in the pre-
treatment period. (placebo outcome)
τ τ
yit = ϵi + ϵt + ∑ γ D + βXit + ϵit
it
τ =−k
23 / 36
Example: Autor (2003) (from Angrist and Pischke MHE)
Figure 5.2.4: Estimated impact of state courtsí adoption of an implied-contract exception to
the employmentat- will doctrine on use of temporary workers (from Autor 2003). The
dependent variable is the log of state temporary help employment in 1979 - 1995. Estimates
are from a model that allows for e§ects before, during, and after adoption.
24 / 36
Example: Kubota, Onishi, and Toyama (2021)
To estimate the effect of receiving the SCP (特別定額給付金) on consumption, we run
k k
yitw = αi + αiw + αtpw + ∑ γ D + uitw
itw
k=−5
25 / 36
26 / 36
Application
27 / 36
Application: JAL-JAS Merger (Doi and Ohashi 2019)
Question: What is the effects of JAL-JAS merger on market outcome in airline industry.
They use both DID and structural estimation (構造推定) approach to answer the question.
28 / 36
Background of JAL-JASmerger
Around 2000, JAL and JAS tried to create a holding company (持株会社) to merge.
Market share: JAL 25%, JAS 24%, ANA 48%
The JFTC (公正取引委員会) issued an interim report in March 2002 and claimed that it was
likely to be a substantial restraint of competition in the domestic air passenger market.
The JFTC approved the merger with the remedies and it was consummated on Oct 2002.
29 / 36
Theoretical Effects of a Merger
Anticompetitive effect (反競争効果): The market becomes more concentrated, less
competition, higher price, lower welfare.
Efficiency effect (効率性効果): The merged party may become more efficient through scale
effect, synergy, knowledge transfer, etc.
The JFTC (公取委) reviews the merge case and decides whether approve it.
30 / 36
Descriptive Statistics
31 / 36
DID Analysis
Outcome: Price, flight frequency, # of domestic passengers
274 routes in 2000–2005
Regression equation
A A A ′ A A
ln(yjmt ) = γ ⋅ J Jjmt + γ ⋅ postt + γ ⋅ J Jjmt ⋅ postt + x ⋅ λ + κ
1 2 3 jmt jmt
32 / 36
Allow heterogeneous effects of a merger
B B B
ln(yjmt ) =γ ⋅ J Jjmt + γ ⋅ postt + γ ⋅ J Jjmt ⋅ postt
1 2 3
B B B
+ M tMjmt ⋅ (γ ⋅ J Jjmt + γ ⋅ postt + γ ⋅ J Jjmt ⋅ postt )
4 5 6
B B B
+ M tOjmt ⋅ (γ ⋅ J Jjmt + γ ⋅ postt + γ ⋅ J Jjmt ⋅ postt )
7 8 9
′ B B
+ x ⋅ λ + κ
jmt jmt
33 / 36
Results
34 / 36
Robustness Check
Pretrend: Regress the outcome on route-FE, time FE, and time FE interacted with the dummy
for control routes.
Placebo test: Use the period b.w. April 2000 to July 2002. Consider placebo merger in July
2001 and see its effects using DID.
35 / 36
Limitations of DID in this context
Is the choice of control group appropriate?
36 / 36