Applied econometrics lecture 16 Differences in differences

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/29

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

30 Terms

1
New cards

Bank run example overview

Assumption is that everything else would be equal

Only thing that changes in these two parts is lending policy

Therefore can compare effects of treatment (8th as control & 6th as treatment - crisis lending)

<p>Assumption is that everything else would be equal</p><p>Only thing that changes in these two parts is lending policy</p><p>Therefore can compare effects of treatment (8th as control &amp; 6th as treatment - crisis lending)</p>
2
New cards

8 months into crisis

More banks open in 8th than 6th

However more were open in 8th to begin with

we have to use Difference in difference to adjust for this

<p>More banks open in 8th than 6th</p><p>However more were open in 8th to begin with </p><p>we have to use Difference in difference to adjust for this</p>
3
New cards

DD additive model

The heart of the DD setup is an additive model for potential outcomes in the no-treatment state:

  • Yd,t (0) = βd + γt

4
New cards

Yd,t (0)

the potential outcome describing what happens in district d and period t in the absence of an intervention

5
New cards

βd

District effect

  • Certain districts on average have more or fewer banks

Time-invariatnt

6
New cards

γt

Year effect

  • something at national level affecting no. banks

Common period

7
New cards

DD for banks

<p></p>
8
New cards

Treatment effect with DD

knowt flashcard image

δDD - treatment effect

<img src="https://knowt-user-attachments.s3.amazonaws.com/eed1f5ab-2c83-4f74-b0c8-5df6d7d12280.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p>δ<sub>DD</sub> - treatment effect</p>
9
New cards

δDD

Treatment effect

10
New cards

Treatment effect on banks - maths

knowt flashcard image

β drop out as same district in both years

γ drops out when comparing both districts as same year

<img src="https://knowt-user-attachments.s3.amazonaws.com/35f959f7-cbb8-4930-b77a-dbd1d96b162b.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p>β drop out as same district in both years</p><p>γ drops out when comparing both districts as same year </p>
11
New cards

DD banks treatment effect - graph

We assume that treated would evolve like untreated if no treatment - counterfactual

knowt flashcard image

<p>We assume that treated would evolve like untreated if no treatment - counterfactual</p><img src="https://knowt-user-attachments.s3.amazonaws.com/8b67c7e5-b1ca-4046-b6ec-0a64a2abe45b.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p></p>
12
New cards

DD and causal effect - banks

Difference = 181 (no. of wholesale firms)

Difference = 81 (no. of wholesale sales)

<p>Difference = 181   (no. of wholesale firms)</p><p>Difference = 81     (no. of wholesale sales)</p>
13
New cards

DD assumption - parallel outcome trends

Assume to generate counterfactual

Cant be tested in reality

But we can test whether the outcome evolves in parallel in periods that are not treated

– Pre-trends testing

– Both treated or both untreated

14
New cards

DD extendin time periods

time period extended to compare pre and post treatment

<p>time period extended to compare pre and post treatment</p><p></p>
15
New cards

Regression to test counterfactual

knowt flashcard image

TREATd - dummy for district effects (1 if 6th)

POSTt - dummy for post treatment years (1 if post)

δrDD - coefficient on interaction term of POST and TREAT to isolate treatment effects (regression treatment effects)

<img src="https://knowt-user-attachments.s3.amazonaws.com/a26d02c2-68c0-4a49-906c-4ae1c4cbcb8e.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p>TREAT<sub>d</sub> - dummy for district effects (1 if 6th)</p><p>POST<sub>t</sub> - dummy for post treatment years (1 if post)</p><p>δ<sub>rDD</sub> - coefficient on interaction term of POST and TREAT to isolate treatment effects    (regression treatment effects)</p>
16
New cards

δDD vs δrDD

With 2 periods they coincide (are equal)

With more periods δrDD is more precise than simple 4 number equation

  • rDD allows for fact that additive model fits imperfectly

knowt flashcard image

<p>With 2 periods they coincide (are equal)</p><p>With more periods δ<sub>rDD </sub>is more precise than simple 4 number equation</p><ul><li><p>rDD allows for fact that additive model fits imperfectly</p></li></ul><img src="https://knowt-user-attachments.s3.amazonaws.com/4a15fc6d-2bd6-46c7-b27a-006e93e8fb1a.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p></p>
17
New cards

δrDD

Regression treatment effect

      generates SEs (but beware of serial correlation)

      facilitates specification testing

      Can add controls

18
New cards

Min wage Krueger DiD example overview

in 1992 New Jersey raised its minimum wage from $4.25 to $5.05

They use a DiD comparing change in employment in fast food restaurants in NJ to that in neighboring Pennsylvania , where the Min wage was flat at $4.25

19
New cards

Min wage Krueger DiD example graph

Pre treatment - both states very similar distribution of wages

Post treatment - NJ has higher min wage + no increase in PA

<p>Pre treatment - both states very similar distribution of wages</p><p>Post treatment - NJ has higher min wage + no increase in PA</p>
20
New cards

Min wage Krueger DiD example econometrics

Min wage increased employment → against standard theory

  • statistically insignificant

Evolution before and after arent parallel + only 2 states used

<p>Min wage increased employment → against standard theory</p><ul><li><p>statistically insignificant</p></li></ul><p>Evolution before and after arent parallel + only 2 states used</p>
21
New cards

Min wage Krueger DiD example findings explained

L market no perfectly competitive

  • monopsonistic

Hiring new woker brings profit but w increases

  • increases costs a lot

if Min w introduced then w has to rise anyway so firm hires more

22
New cards

Two way fixed effects model (TWFE)

Extends regression to include 50 states & 13 years (not just 2 like before)

Regression compacted to look like additive model from before → from LSD (when all dummies shown)

<p>Extends regression to include 50 states &amp; 13 years (not just 2 like before) </p><p>Regression compacted to look like additive model from before → from LSD (when all dummies shown)</p>
23
New cards

Clustered standard errors

Clustered standard errors extend the OLS variance formula to allow (Yit , Xit) to be correlated across observations in the same “cluster”

The assumption is that each cluster is sampled independently

If we cluster at the individual level (i), then we allow for Yi1 and Yi2 to be dependent, but assume (Yi1, Yi2) is independent of (Yj1, Yj2) for j ≠ iC

24
New cards

Clustered standard errors and panel data

At minimum cluster at the individual level to allow for autocorrelation.

25
New cards

Are clustered standard errors reliable when small?

No

<20

the number of “effective observations” (used for CLT) is the number of clusters

26
New cards

Relaxing the common trends assumption

With many states (β) and years (γ) we can relax the common trend assumption

We allow for seperate linear trends for each state (θk)

27
New cards

Regression with state specific trends

knowt flashcard image

<img src="https://knowt-user-attachments.s3.amazonaws.com/a5d4a7b3-861e-46d3-adcd-a4f2a07bd36c.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p></p>
28
New cards

Ideal parallel trends scenario

Effect of treatment very visible

knowt flashcard image

Effect of (minimum legal drinking age) MLDA very visible

<p>Effect of treatment very visible</p><img src="https://knowt-user-attachments.s3.amazonaws.com/9973a817-ef63-4984-a1d2-fb95092e07b9.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p>Effect of (minimum legal drinking age) MLDA very visible</p>
29
New cards

Non parallel trends scenario

knowt flashcard image

<img src="https://knowt-user-attachments.s3.amazonaws.com/d0f7157f-7011-4faf-ad45-dbcf54388a9b.png" data-width="100%" data-align="center" alt="knowt flashcard image"><p></p>
30
New cards

Dynamic treatment effect