AE 2023 Lecture10
AE 2023 Lecture10
Data Analysis
Applied Econometrics
Dr. Le Anh Tuan
1
Endogenous problems
2
Typical Cases Of Endogeneity
3
Omitted variables
4
Selection bias
► You would like to investigate the effect of pre—test on the English
test performance.
► In your class, you have 40 students, you will pick up 20 students
for taking the pre-test. After the test, you will compare the effect
between pre-test takers (treated group) and non-pre-test takers
(control group).
► Selection sample bias occurs when your sample is not random.
► Choose treated group as students with high English GPA.
► Choose treated group as students with IELTS score >7.0.
5
Selection bias
► Very similar to omitted variable bias
6
Reverse Causality
► Example:
► Investment and Productivity
► Sales and Advertisement
► CSR and Firm Performance
7
Measurement error
8
How to deal with endogeneity?
Solving endogenous problems
► Selection bias
► Inclusion of control variables, Difference-in-Differences
Analysis.
► Reverse Causality
► Instrumental variable approach
► Measurement error
► Robustness checks
Panel Data Analysis
► Panel data (also known as
longitudinal or cross-
sectional time-series
data) is a dataset in which
the behavior of entities
are observed across time.
► Popular models:
► First-differenced estimator
► Fixed Effects Model
► Random Effects Model
► Instrumental Variable Regression
First-differenced estimator
► Consider an model,:
∆"#$ = &' ∆(#$ + *#$
23
Random effects model
► Under the random effects assumptions explanatory variables are
exogenous so that pooled OLS provides consistent estimates
Quasi-
demeaned
data
24
Random effects model
with
26
Random effects or fixed effects?
27
Instrumental variable regression
28
IV regression
29
IV regression – Stages
!
► Second stage: Regress Dependent variable on ".
30
IV regression – Stages
► Step 1:
31
IV regression – Stages
► Step 2:
Same
results
33
More on policy analysis and program evaluation
Difference-in-Differences Analysis
Difference-in-Differences Analysis
► DiD is a quasi-experimental technique used to understand the
effect of a sharp change in the economic environment or
government policy.
► 4./': a dummy variable that equals 1 for time period after the
policy change, 0 otherwise.
!"#$"#%&' ()*'+&,')&
= ./ + .1 &#'%&'2 + .3 $"+& + .4 &#'%&'2 ∗ $"+& + !")&#"6+ + 7
Difference 8; 8; +8: 8:
Difference Difference
Difference-in-Differences
Difference-in-Differences Analysis
!"#$"#%&' ()*'+&,')& = ./ + .1 &#'%&'2 + .3 $"+& + .4 &#'%&'2 ∗ $"+& + 6
Difference-in-Differences Analysis
"#$%#$&'(! )*+(,'-(*'
= 0.123 + 0.083'$(&'(6 + 0.047%#,' + 0.019'$(&'(6 ∗ %#,' + 0.007 ,);(
(0.078) (0.040) (0.011) (0.007) (0.009)
+0.071 "&,ℎ + 0.122$#( + 0.009"=_+#?&')?)'@
(0.102) (0.019) (0.001)