SlideShare a Scribd company logo
1 of 40
UNIVERSITY CERTIFICATE IN
ECONOMETRICS
2017 · Edition 2
Course : Microeconometrics for policy evaluation
Part 2 - Policy evaluation/treatment analysis
Vincent Vandenberghe
OUTLINE
1. Introduction
2. The endogeneity problem
3. Experimental methods
4. Quasi-experimental methods
• Short panel analysis (day 1)
• Policy evaluation/treatment analysis (day 2)
 Difference-in-Difference estimation:
 Treatment effects with non-experimental data using (repeated) cross-sectional data
 The canonical DiD estimator
 Assessing the common trend assumption
 Relaxing the common trend assumption: from DiD
 Propensity score matching
 Matching over a single (propensity) score
 Matching algorithms (nearest neighborhood, caliper, Kernel)
 Combining DiD and propensity score matching
OUTLINE
Main Stata commands
1. reg
2. psmatch2
3. teffects
4. diff
USEFUL REFERENCES
Cameron, A. C. & Trivedi, P. K. (2010). Microeconometrics using
Stata. College Station: Stata Press.
MATERIAL @ YOUR DISPOSAL
MOODLE@UCL: LECME2FC
TOPIC 2 Policy_eval
ECcourse2.ppt
Code…Stata_code
#2EC_PSMATCH.do
#2EC_Extra.do
#2EC_Ex_corr.do
#2EC_Ex.do
#2EC_DiD.do
#2EC_data.do ____________________
(+ corrected version at the end)
Data.zip
the various data sets @ your disposal
via the web:
https://perso.uclouvain.be/vincent.vandenberghe/Stata_EC/Stata_EC1.html
5
Policy_evalFolder
4. QUASI-EXPERIMENTAL METHODS: POLICY
EVALUATION
4.1. Difference-in-Differences (or two-way fixed effects)
Let’s think about a simple evaluation of a policy (treatment)
If we have data on a bunch of people right before the policy is
enacted and on the same group of people after it is enacted. How can we
try to identify the effect
Suppose we have two years (the shortest possible panel) of data t=0 and
t=1 and that the policy/treatment is enacted in between
We could try to identify the effect by simply looking at y before
and after the policy. That is we can identify the effect by resorting to first
differences
6
[Eq 6] yt = β TRt + Z + ut
where TRt= 1 if t=1 and 0 if t=0, Z is the unobserved fixed effect
caracterizing the treated, potentially correlated with treatment
One way of dealing with Z is to resort to first differences
[Eq 7] E(y1)-E(y0)= β
The problem with this “difference model” is that it attributes any
changes in time to the policy
Suppose something else happened between t=0 and t=1 other than
just the program (eg. an economic recession/boom)
We will attribute whatever that is to the program/treatment
7
How to solve the problem?
Simply adding a time dummy (t) would not help us separate the time
effect from the treatment effect (ie. perfect collinearity=> TRt=t)
Rather suppose we have two groups:
- People who are affected by the policy changes (D=1)
- People who are not affected by the policy change (D=0) => the
controls
8
We can think of using the control to pick up the time changes:
[Eq. 8] E(y1|D=0) - E(y0|D=0)
Then we can estimate our policy effect as a “difference in
(time-driven) differences” (DiD) between the treated and the control
group
[Eq. 9] [E(y1|D=1) - E(y0|D=1) ]− [E(y1|D=0) - E(y0|D=0) ]
9
Algebraically
[Eq. 10] yt= α + D*t + lt + δD + ut
[E(y1|D=1) - E(y0|D=1) ]− [E(y1|D=0) - E(y0|D=0) ]
=[α + + l+ δ – α – δ ]−
[α +l -α ]
= 
So estimating  by OLS in the above equation will deliver the
treatment effect as DiD
11
Remember : D=0 if not treated
and D=1 if treated (with ZD=1
=α + δ; ZD=0 =α)
Key assumption : the control group (D=0) identifies the time path
(ie. growth) of outcomes – the trend - that would have happened to
the treated (D=1) in the absence of the treatment
 control & treated outcome are assumed to be characterized by
the same trend (common trend assumption) ex ante
 Identification of the impact of treatment relies on the change of
trend specific to the treated group
 In practice, the common-trend assumption prior to treatment
requires a certain element of geographical and political proximity
 It can be tested if panels contains several periods of observation
prior to treatment
12
=> #2EC_DiD.do/Case 1
Case 1: Card & Krueger on minimum wages & employment
On April 1, 1992 New Jersey's minimum wage increased from $4.25
to $5.05 per hour (vs Pennsylvania where it stayed at $4.25)
Good or bad for employment in the fast-food sector?
13
14
15
 #2EC_DID.do/Case 2
Case 2: VVDB – Hainaut – Objective 1
As part of EU’s regional policy, Objective 1 aims at helping
regions lagging behind (<75% of EU average GDP/head)
Treatment/Policy : 1994-1999, Hainaut receives 2.4 billions
EURO [5% of the province’s GDP for each of the year
ranging from 1994 to 1999]
Evidence of impact on income ?
A DID analysis using taxable income in each municipality
before and after 1994-1999, and the rest of Wallonia as
control
16
17
If you have several time periods before treatment
begins….
- You can test the crucial common trend/parallelism assumption;
simply by estimating DiD using two pre-treatment periods
18
- You can relax the parallel path assumption, assume parallel growth
and estimate “treatment” as differences-in-(difference-in-difference)
(i.e. change in growth rate differences instead of level differences
over time)
19
Treated
without
treatment
Control
T=3
T=2 (treatment
begins)
T=1
Treated
with treatment
DiD
Di∆D
Treated
without
treatment
Control
T=3
T=2 (treatment
begins)
T=1
Observed Treated
with treatment
DiD
Di(DiD)
D=1,Treated
without
treatment
D=0; Control
T=3
T=2 (treatment
begins)
T=1
Observed D=1;
Treated
with treatment
Di(DiD)
[Eq. 11] Yt= γ + γ2T2 + γ3T3 + γD D + γD
2D.T2 + γD
3D.T3
Estimators = DiD2/1= γD
2+γD-γD=γD
2 reflecting the « normal » growth rate difference
DiD3/2=(γD
3+γD)-(γD
2 +γD)=γD
3- γD
2 ;
Di(DiD)= DiD3/2- DiD2/1= (γD
3-γD
2)- γD
2= γD
3- 2γD
2
γ
γ2
γ3
γD
γD
2
γD
3
γD
γD
2γD
2
DiD3/2
#2EC_ex.do/Ex 1
4.2. Propensity score matching methods
In non-experimental economic data, we observe whether
“individuals” were treated or not, but in the absence of random
assignment, we must be concerned with differences between the
treated and non-treated
One very appealing idea is to match “individuals”
with maximal similarity
23
With a single measure (e.g. X=education), we can readily
compute a measure of distance between a treated unit and
each candidate match. With multiple measures defining
similarity, how are we to balance similarity along each of
those dimensions (e.g.: X=education, wealth, #siblings….)?
Propensity score matching (PSM): match treated and
untreated observations on the estimated probability of
being treated (propensity score).
P(X) = Pr (D=1|X)
with D=1,0 indicates (non)treatment
=> Key idea : rather than matching on all values of the
variables, individual units can be matched solely on the basis
of their propensity to be treated P(X)
24
Advantages of PSM
- Solves the “dimensionaliy” problem
• balances treatment and control groups on a large number
of covariates(X) without losing a large number of
observations
• If treatment & control were balanced one at a time, large
numbers of observations would be needed = > #X +1
increases the minimum necessary # of obs. geometrically
25
- PSM is non-parametric
does not rest on the validiy of a particular functional form like
[Eq. 12] y = Xβ + γD + ε
where y is the outcome, X are covariates and D is the treatment
indicator.
OLS estimation of [12] assumes that the effects of treatment γ are
additive are constant across individuals.
26
PSM limitations
- Conditional independence: PSM validity rests on
[Eq. 13] (Y1,Y0) ⊥ D|X
where Y1,Y0 denote treated/control
potential outcomes under treatment
[and ⊥ statistical independence].
Controlling for X is ‘as good as random.’ This assumption is also
known as selection on observables
- Common support: there is sufficient overlap in propensity
scores of treated and untreated units to find good matches
27
Density
0 1
Propensity score(p(X))
Region of
common
support
Density of scores for
treated
High probability of
participating given X
Density of scores
for controls
=> treated units whose p(X) is larger (lower) than the largest (lowest) p
in the non-treated group should be excluded
3
29
To estimate the propensity score, a logit or probit model is
usually employed. Use flexible functional form to allow for
possible nonlinearities in the participation model (introduce of
higher-order & interaction terms)
In choosing a matching algorithm, choose with or without
replacement. Without replacement, a given untreated unit
can only be matched with one treated unit
A criterion for assessing the quality of the match must also be
defined
30
31
The p’s are the propensity score delivered
by logit/probit model
32
All non-treated j
are used in the
match…
… but their weight
K(…) is inversely
proportional to the
distance between
the propensity
score p
Post matching, it is recommended to test
- D ⊥ X|p(X), meaning that after matching, there should be no
statistically significant differences between covariate means of
the treated and comparison units
- The common support condition. This can be done by visual
inspection of the densities of propensity scores of treated and
non-treated groups
 #2EC_PSmatch.do/Case 1
33
34
35
36
0 .2 .4 .6 .8 1
Propensity Score
Untreated Treated: On support
Treated: Off support
37
38
#2EC_Ex.do/Ex 2
4.3. Combining matching & DID
DID is a flexible form of causal inference because it can be
combined with some other procedures, such as the Kernel
Propensity Score (Heckman et al., 1997, 1998)
Step 1- compute kernel propensity score matching and retain the
weights wij
Step 2- run the traditional DID equ with non treated entities weighted
by w.j [and treated one by 1]
39
#2EC_Ex.do/Ex 3
40

More Related Content

Similar to #2ECcourse.pptgjdgjgfjgfjhkhkjkkjhkhkhkjhjkj

ecir2019tutorial-finalised
ecir2019tutorial-finalisedecir2019tutorial-finalised
ecir2019tutorial-finalisedTetsuya Sakai
 
Machine Learning for Epidemiological Models (Enrico Meloni)
Machine Learning for Epidemiological Models (Enrico Meloni)Machine Learning for Epidemiological Models (Enrico Meloni)
Machine Learning for Epidemiological Models (Enrico Meloni)MeetupDataScienceRoma
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.pptDunakanshon
 
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxbudbarber38650
 
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...RBFHealth
 
Experimental design data analysis
Experimental design data analysisExperimental design data analysis
Experimental design data analysismetalkid132
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learningSadia Zafar
 
Bio statistics
Bio statisticsBio statistics
Bio statisticsNc Das
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptMohammedAbdela7
 
Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersionForensic Pathology
 
The t Test for Two Independent Samples
The t Test for Two Independent SamplesThe t Test for Two Independent Samples
The t Test for Two Independent Samplesjasondroesch
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 

Similar to #2ECcourse.pptgjdgjgfjgfjhkhkjkkjhkhkhkjhjkj (20)

ecir2019tutorial
ecir2019tutorialecir2019tutorial
ecir2019tutorial
 
ecir2019tutorial-finalised
ecir2019tutorial-finalisedecir2019tutorial-finalised
ecir2019tutorial-finalised
 
Machine Learning for Epidemiological Models (Enrico Meloni)
Machine Learning for Epidemiological Models (Enrico Meloni)Machine Learning for Epidemiological Models (Enrico Meloni)
Machine Learning for Epidemiological Models (Enrico Meloni)
 
tps5e_Ch10_2.ppt
tps5e_Ch10_2.ppttps5e_Ch10_2.ppt
tps5e_Ch10_2.ppt
 
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docxForecastingBUS255 GoalsBy the end of this chapter, y.docx
ForecastingBUS255 GoalsBy the end of this chapter, y.docx
 
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...
Annual Results and Impact Evaluation Workshop for RBF - Day Two - Measuring I...
 
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
 
Experimental design data analysis
Experimental design data analysisExperimental design data analysis
Experimental design data analysis
 
Difference-in-Difference Methods
Difference-in-Difference MethodsDifference-in-Difference Methods
Difference-in-Difference Methods
 
Probability distribution Function & Decision Trees in machine learning
Probability distribution Function  & Decision Trees in machine learningProbability distribution Function  & Decision Trees in machine learning
Probability distribution Function & Decision Trees in machine learning
 
Chapter 11 Psrm
Chapter 11 PsrmChapter 11 Psrm
Chapter 11 Psrm
 
Bio statistics
Bio statisticsBio statistics
Bio statistics
 
diff.pdf
diff.pdfdiff.pdf
diff.pdf
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
 
The t Test for Two Related Samples
The t Test for Two Related SamplesThe t Test for Two Related Samples
The t Test for Two Related Samples
 
Stat3 central tendency & dispersion
Stat3 central tendency & dispersionStat3 central tendency & dispersion
Stat3 central tendency & dispersion
 
Repeated Measures t-test
Repeated Measures t-testRepeated Measures t-test
Repeated Measures t-test
 
The t Test for Two Independent Samples
The t Test for Two Independent SamplesThe t Test for Two Independent Samples
The t Test for Two Independent Samples
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Meta analysis with R
Meta analysis with RMeta analysis with R
Meta analysis with R
 

More from BereketRegassa1

Desta Final Paper - PDF.pdfggggggggggggg
Desta Final Paper - PDF.pdfgggggggggggggDesta Final Paper - PDF.pdfggggggggggggg
Desta Final Paper - PDF.pdfgggggggggggggBereketRegassa1
 
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptx
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptxPPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptx
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptxBereketRegassa1
 
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptx
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptxWRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptx
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptxBereketRegassa1
 
PPT.pptxgggggggggggggggggggggggggggggggggggg
PPT.pptxggggggggggggggggggggggggggggggggggggPPT.pptxgggggggggggggggggggggggggggggggggggg
PPT.pptxggggggggggggggggggggggggggggggggggggBereketRegassa1
 
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptx
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptxWRITING_ACTIONggg_RESEARCH_PROPOSAL.pptx
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptxBereketRegassa1
 
PPTfffffffffffffffffffffffffffffffffffffff.pptx
PPTfffffffffffffffffffffffffffffffffffffff.pptxPPTfffffffffffffffffffffffffffffffffffffff.pptx
PPTfffffffffffffffffffffffffffffffffffffff.pptxBereketRegassa1
 
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docx
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docxWealth index PCAnnnnnnnnnnnnnnnnnnn.docx
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docxBereketRegassa1
 
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptx
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptxPPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptx
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptxBereketRegassa1
 
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkjBereketRegassa1
 
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...BereketRegassa1
 

More from BereketRegassa1 (10)

Desta Final Paper - PDF.pdfggggggggggggg
Desta Final Paper - PDF.pdfgggggggggggggDesta Final Paper - PDF.pdfggggggggggggg
Desta Final Paper - PDF.pdfggggggggggggg
 
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptx
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptxPPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptx
PPTkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk.pptx
 
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptx
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptxWRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptx
WRITING_ACTION_gggggggggggggggggggggRESEARCH_PROPOSAL.pptx
 
PPT.pptxgggggggggggggggggggggggggggggggggggg
PPT.pptxggggggggggggggggggggggggggggggggggggPPT.pptxgggggggggggggggggggggggggggggggggggg
PPT.pptxgggggggggggggggggggggggggggggggggggg
 
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptx
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptxWRITING_ACTIONggg_RESEARCH_PROPOSAL.pptx
WRITING_ACTIONggg_RESEARCH_PROPOSAL.pptx
 
PPTfffffffffffffffffffffffffffffffffffffff.pptx
PPTfffffffffffffffffffffffffffffffffffffff.pptxPPTfffffffffffffffffffffffffffffffffffffff.pptx
PPTfffffffffffffffffffffffffffffffffffffff.pptx
 
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docx
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docxWealth index PCAnnnnnnnnnnnnnnnnnnn.docx
Wealth index PCAnnnnnnnnnnnnnnnnnnn.docx
 
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptx
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptxPPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptx
PPT_for_DRC_5_data_presentation_&_test_for_assumptions.pptx
 
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj
#2ECcourse.ppthjjkhkjhkjhjkjhkhhkhkhkhkj
 
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...
Lalu datdat aggggjh vvjkbkjkjhjk kkkkkkjlJdlajdadjaldjaldla n.kc.mz.cna.cxlka...
 

Recently uploaded

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 

Recently uploaded (20)

How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 

#2ECcourse.pptgjdgjgfjgfjhkhkjkkjhkhkhkjhjkj

  • 1. UNIVERSITY CERTIFICATE IN ECONOMETRICS 2017 · Edition 2 Course : Microeconometrics for policy evaluation Part 2 - Policy evaluation/treatment analysis Vincent Vandenberghe
  • 2. OUTLINE 1. Introduction 2. The endogeneity problem 3. Experimental methods 4. Quasi-experimental methods • Short panel analysis (day 1) • Policy evaluation/treatment analysis (day 2)  Difference-in-Difference estimation:  Treatment effects with non-experimental data using (repeated) cross-sectional data  The canonical DiD estimator  Assessing the common trend assumption  Relaxing the common trend assumption: from DiD  Propensity score matching  Matching over a single (propensity) score  Matching algorithms (nearest neighborhood, caliper, Kernel)  Combining DiD and propensity score matching
  • 3. OUTLINE Main Stata commands 1. reg 2. psmatch2 3. teffects 4. diff
  • 4. USEFUL REFERENCES Cameron, A. C. & Trivedi, P. K. (2010). Microeconometrics using Stata. College Station: Stata Press.
  • 5. MATERIAL @ YOUR DISPOSAL MOODLE@UCL: LECME2FC TOPIC 2 Policy_eval ECcourse2.ppt Code…Stata_code #2EC_PSMATCH.do #2EC_Extra.do #2EC_Ex_corr.do #2EC_Ex.do #2EC_DiD.do #2EC_data.do ____________________ (+ corrected version at the end) Data.zip the various data sets @ your disposal via the web: https://perso.uclouvain.be/vincent.vandenberghe/Stata_EC/Stata_EC1.html 5 Policy_evalFolder
  • 6. 4. QUASI-EXPERIMENTAL METHODS: POLICY EVALUATION 4.1. Difference-in-Differences (or two-way fixed effects) Let’s think about a simple evaluation of a policy (treatment) If we have data on a bunch of people right before the policy is enacted and on the same group of people after it is enacted. How can we try to identify the effect Suppose we have two years (the shortest possible panel) of data t=0 and t=1 and that the policy/treatment is enacted in between We could try to identify the effect by simply looking at y before and after the policy. That is we can identify the effect by resorting to first differences 6
  • 7. [Eq 6] yt = β TRt + Z + ut where TRt= 1 if t=1 and 0 if t=0, Z is the unobserved fixed effect caracterizing the treated, potentially correlated with treatment One way of dealing with Z is to resort to first differences [Eq 7] E(y1)-E(y0)= β The problem with this “difference model” is that it attributes any changes in time to the policy Suppose something else happened between t=0 and t=1 other than just the program (eg. an economic recession/boom) We will attribute whatever that is to the program/treatment 7
  • 8. How to solve the problem? Simply adding a time dummy (t) would not help us separate the time effect from the treatment effect (ie. perfect collinearity=> TRt=t) Rather suppose we have two groups: - People who are affected by the policy changes (D=1) - People who are not affected by the policy change (D=0) => the controls 8
  • 9. We can think of using the control to pick up the time changes: [Eq. 8] E(y1|D=0) - E(y0|D=0) Then we can estimate our policy effect as a “difference in (time-driven) differences” (DiD) between the treated and the control group [Eq. 9] [E(y1|D=1) - E(y0|D=1) ]− [E(y1|D=0) - E(y0|D=0) ] 9
  • 10.
  • 11. Algebraically [Eq. 10] yt= α + D*t + lt + δD + ut [E(y1|D=1) - E(y0|D=1) ]− [E(y1|D=0) - E(y0|D=0) ] =[α + + l+ δ – α – δ ]− [α +l -α ] =  So estimating  by OLS in the above equation will deliver the treatment effect as DiD 11 Remember : D=0 if not treated and D=1 if treated (with ZD=1 =α + δ; ZD=0 =α)
  • 12. Key assumption : the control group (D=0) identifies the time path (ie. growth) of outcomes – the trend - that would have happened to the treated (D=1) in the absence of the treatment  control & treated outcome are assumed to be characterized by the same trend (common trend assumption) ex ante  Identification of the impact of treatment relies on the change of trend specific to the treated group  In practice, the common-trend assumption prior to treatment requires a certain element of geographical and political proximity  It can be tested if panels contains several periods of observation prior to treatment 12
  • 13. => #2EC_DiD.do/Case 1 Case 1: Card & Krueger on minimum wages & employment On April 1, 1992 New Jersey's minimum wage increased from $4.25 to $5.05 per hour (vs Pennsylvania where it stayed at $4.25) Good or bad for employment in the fast-food sector? 13
  • 14. 14
  • 15. 15
  • 16.  #2EC_DID.do/Case 2 Case 2: VVDB – Hainaut – Objective 1 As part of EU’s regional policy, Objective 1 aims at helping regions lagging behind (<75% of EU average GDP/head) Treatment/Policy : 1994-1999, Hainaut receives 2.4 billions EURO [5% of the province’s GDP for each of the year ranging from 1994 to 1999] Evidence of impact on income ? A DID analysis using taxable income in each municipality before and after 1994-1999, and the rest of Wallonia as control 16
  • 17. 17
  • 18. If you have several time periods before treatment begins…. - You can test the crucial common trend/parallelism assumption; simply by estimating DiD using two pre-treatment periods 18
  • 19. - You can relax the parallel path assumption, assume parallel growth and estimate “treatment” as differences-in-(difference-in-difference) (i.e. change in growth rate differences instead of level differences over time) 19
  • 22. D=1,Treated without treatment D=0; Control T=3 T=2 (treatment begins) T=1 Observed D=1; Treated with treatment Di(DiD) [Eq. 11] Yt= γ + γ2T2 + γ3T3 + γD D + γD 2D.T2 + γD 3D.T3 Estimators = DiD2/1= γD 2+γD-γD=γD 2 reflecting the « normal » growth rate difference DiD3/2=(γD 3+γD)-(γD 2 +γD)=γD 3- γD 2 ; Di(DiD)= DiD3/2- DiD2/1= (γD 3-γD 2)- γD 2= γD 3- 2γD 2 γ γ2 γ3 γD γD 2 γD 3 γD γD 2γD 2 DiD3/2 #2EC_ex.do/Ex 1
  • 23. 4.2. Propensity score matching methods In non-experimental economic data, we observe whether “individuals” were treated or not, but in the absence of random assignment, we must be concerned with differences between the treated and non-treated One very appealing idea is to match “individuals” with maximal similarity 23
  • 24. With a single measure (e.g. X=education), we can readily compute a measure of distance between a treated unit and each candidate match. With multiple measures defining similarity, how are we to balance similarity along each of those dimensions (e.g.: X=education, wealth, #siblings….)? Propensity score matching (PSM): match treated and untreated observations on the estimated probability of being treated (propensity score). P(X) = Pr (D=1|X) with D=1,0 indicates (non)treatment => Key idea : rather than matching on all values of the variables, individual units can be matched solely on the basis of their propensity to be treated P(X) 24
  • 25. Advantages of PSM - Solves the “dimensionaliy” problem • balances treatment and control groups on a large number of covariates(X) without losing a large number of observations • If treatment & control were balanced one at a time, large numbers of observations would be needed = > #X +1 increases the minimum necessary # of obs. geometrically 25
  • 26. - PSM is non-parametric does not rest on the validiy of a particular functional form like [Eq. 12] y = Xβ + γD + ε where y is the outcome, X are covariates and D is the treatment indicator. OLS estimation of [12] assumes that the effects of treatment γ are additive are constant across individuals. 26
  • 27. PSM limitations - Conditional independence: PSM validity rests on [Eq. 13] (Y1,Y0) ⊥ D|X where Y1,Y0 denote treated/control potential outcomes under treatment [and ⊥ statistical independence]. Controlling for X is ‘as good as random.’ This assumption is also known as selection on observables - Common support: there is sufficient overlap in propensity scores of treated and untreated units to find good matches 27
  • 28. Density 0 1 Propensity score(p(X)) Region of common support Density of scores for treated High probability of participating given X Density of scores for controls => treated units whose p(X) is larger (lower) than the largest (lowest) p in the non-treated group should be excluded
  • 29. 3 29
  • 30. To estimate the propensity score, a logit or probit model is usually employed. Use flexible functional form to allow for possible nonlinearities in the participation model (introduce of higher-order & interaction terms) In choosing a matching algorithm, choose with or without replacement. Without replacement, a given untreated unit can only be matched with one treated unit A criterion for assessing the quality of the match must also be defined 30
  • 31. 31 The p’s are the propensity score delivered by logit/probit model
  • 32. 32 All non-treated j are used in the match… … but their weight K(…) is inversely proportional to the distance between the propensity score p
  • 33. Post matching, it is recommended to test - D ⊥ X|p(X), meaning that after matching, there should be no statistically significant differences between covariate means of the treated and comparison units - The common support condition. This can be done by visual inspection of the densities of propensity scores of treated and non-treated groups  #2EC_PSmatch.do/Case 1 33
  • 34. 34
  • 35. 35
  • 36. 36 0 .2 .4 .6 .8 1 Propensity Score Untreated Treated: On support Treated: Off support
  • 37. 37
  • 39. 4.3. Combining matching & DID DID is a flexible form of causal inference because it can be combined with some other procedures, such as the Kernel Propensity Score (Heckman et al., 1997, 1998) Step 1- compute kernel propensity score matching and retain the weights wij Step 2- run the traditional DID equ with non treated entities weighted by w.j [and treated one by 1] 39 #2EC_Ex.do/Ex 3
  • 40. 40