Professional Documents
Culture Documents
Clase Panel
Clase Panel
1 T
yi = yit 1 T
xi = xit 1 T
T t =1 T t =1
ui =
T t =1
uit
The average relationship is given by:
If we subtract the average relationship from the one in the last slide, we obtain:
yi = i + xi + ui
and this simplifies to:
i=1,......,N; t=1,.....,T.
The Fixed Effects (FE) model above can be estimated using OLS in
three different ways.
(i) transforming the data into deviations from the group mean
The key assumption of the model is that the random effects are independent of
the explanatory variables – a very strong assumption!
The Hausman test
We can try and formally test which of these two models is more appropriate
in a given application.
The correlation between the lagged dependent variable and the error term
renders the estimate for biased.
For small T the bias is always negative if > 0 (i.e., ‘Nickell Bias’).
The solution to the problem requires use of the Instrumental Variable (IV)
estimation procedure.
The Dynamic model
Their point of departure is to note that the Anderson and Hsiao (1981)
consistency condition can be re-expressed in its theoretical counterpart as:
Assume we have a panel where N is the number of groups, and the data start in
2002 and terminate in 2008, so Ti = 7.
We need to both first difference the data, which loses one year of data………..
Instrumented Variables
L.yi,2008 L.yi,2007 L.yi,2006 L.yi,2005 L.yi,2004
Instruments
yi,2006 X X X X
yi,2005 X X X
yi,2004 X X
yi,2003 X
yi,2002
Error Processes
ui,2008 ui,2007 ui,2006 ui,2005 ui,2004
Instruments
yi,2006 X X X X
yi,2005 X X X
yi,2004 X X
yi,2003 X
yi,2002
1. E(ui,2008, yi,2006) = 0
Substitute:
2. E(ui,2008, yi,2005) = 0
3. E(ui,2008, yi,2004) = 0 ui,t = yi,t – yi,t-1
4. E(ui,2008, yi,2003) = 0
for the 15 moment conditions to
5. E(ui,2008, yi,2002) = 0
implement the GMM procedure
. . .
. . .
15. E(ui,2004, yi,2002) = 0
1. Interpret the summary statistics for the variables b, cburg, sburg, a
panel dataset is this?
2. Estimate the regression model [1] using both the LSDV and the
procedures:
12
lbi,t = i + 1cburgi,t-1 + 2sburgi,t-1 + 3uri,t +
j= 3
jyrji,t + ui,t
Why was a fixed effects estimator used in this case? Compare the re
variables other than the time dummies. What do you conclude? Interp
deterrence and unemployment rate variables using the estimates
procedure. Why do you think lagged values for the two deterrence va
Variable Name Variable Description
b The number of burglaries per 1,000 of the police force area’s resident
population.
lb The natural logarithm of burglaries per 1,000 of the police force area’s
resident population.
cburg The percentage of recorded burglary offences solved by the police in the
police force area.
sburg The average sentence length for burglary in the police force area measured
in months.
ur The male unemployment rate expressed in percentages for the police force
area.
yr1 – yr12 A set of 12 time dummies, one for each year of the data.
pfa The identifier variable for the police force area in England & Wales.
→ ↓
F(13,41) = 90.36
corr(u_i, Xb) = 0.2953 Prob > F = 0.0000
We allow for a correlation between
(Std. Err. adjusted for 42 clusters in pfa)
Robust
the fixed effects and the X variables.
lb Coef. Std. Err. t P>|t| [95% Conf. Interval]
→ cburg
L1. -.0047736 .0022086 -2.16 0.037 -.009234 -.0003131
We cluster the standard errors by the
→ sburg
L1. -.019928 .0075107 -2.65 0.011 -.0350962 -.0047599 42 police force areas.
ur
yr3 ← .0167436
.0717116
.0064247
.0134229
2.61
5.34
0.013
0.000
.0037688
.0446036
.0297185
.0988197
yr4 .0651284 .0153172 4.25 0.000 .0341946 .0960621
yr5 .2065616 .0172722 11.96 0.000 .1716798 .2414434
yr6
yr7
.1939467
.293213
.0199732
.0274745
9.71
10.67
0.000
0.000
.15361
.237727
.2342835
.348699
In general, the number of clusters
yr8
yr9
.2632099
.2483722
.0273049
.0433381
9.64
5.73
0.000
0.000
.2080665
.1608491
.3183532
.3358953 should exceed 40 for the standard
yr10 .3142834 .0544869 5.77 0.000 .2042448 .424322
yr11
yr12
.5457865
.6843745
.0533539
.0372679
10.23
18.36
0.000
0.000
.4380361
.6091105
.6535368
.7596386
errors to have good properties.
_cons 2.535844 .1230531 20.61 0.000 2.287334 2.784355
sigma_u .35220166
sigma_e .09962376
rho .92591754 (fraction of variance due to u_i)
Interpretation of ‘Within Regression’ Estimates
The null hypothesis is that the random effects are orthogonal to the explanatory
variables.
The random effects and the fixed effects estimates are both consistent under
the null.
The variance of the fixed effects estimates is inefficient under the null, while
the variance of the random effects is efficient under the null.
. hausman fixed
Coefficients
The Hausman test in this case does
(b) (B) (b-B) sqrt(diag(V_b-V_B))
fixed . Difference S.E.
not satisfy its asymptotic
L.cburg -.0047736 -.0045043 -.0002693 . properties.
L.sburg -.019928 -.0218408 .0019128 .
ur .0167436 .0254982 -.0087546 .0015092
yr3 .0717116 .0560364 .0156752 .
yr4 .0651284 .0504259 .0147025 .
yr5
yr6
.2065616
.1939467
.2116114
.1990816
-.0050498
-.0051349
.
. …………….and is thus not
yr7 .293213 .3000393 -.0068263 .
yr8 .2632099 .2839471 -.0207372 . interpretable!
yr9 .2483722 .2922326 -.0438605 .0056538
yr10 .3142834 .3773769 -.0630934 .0096494
yr11 .5457865 .6120788 -.0662924 .0102828
yr12 .6843745 .7216838 -.0373093 .0035821
b = consistent under Ho and Ha; obtained from xtreg Given this finding, the best
B = inconsistent under Ha, efficient under Ho; obtained from xtreg
approach is to stick to the fixed
Test: Ho: difference in coefficients not systematic
effects estimator in this case.
chi2(13) = (b-B)'[(V_b-V_B)^(-1)](b-B)
= 24.26
Prob>chi2 = ↙0.0288
(V_b-V_B is not positive definite)
Estimate the dynamic fixed effects model:
Clear-up Rate:
−
The long-run effects are larger
than the short-run effects (in
Sentence Length:
− absolute terms) given < 1.
Male Unemployment Rate:
−
Table 1: Habit Persistence Model – Fixed Effects
Variable Estimates Implied ‘Long-
run’ Effects
lbi,t-1 0.5707*** n/a This estimate is
(0.1480) subject to bias if fixed
cburgi,t-1 -0.0029*** -0.0067** effects model is
(0.0011) (0.0075) estimated by OLS……
sburgi,t-1 -0.0151* -0.0351***
but the other
(0.0077) (0.0717)
estimates in this
uri,t 0.0104*** 0.0241**
regression model are
(0.0038) (0.0091)
also subject to bias!
Year Dummies Yes
PFA Fixed Effects Yes
N 462
The estimate for is subject to the ‘Nickell bias’ and is
downward biased.
This has implications for the magnitude of the habit
persistence effect itself and the implied long-run effects.
These long-run effects are also biased downwards!
Using the Anderson-Hsiao procedure, estimate:
or
E[( ui,t − ui,t −1)(lbi,t −2 − lbi,t −3)] = 0 [1]
F(1,41) = 207.06
corr(u_i, Xb) = 0.9050 Prob > F = 0.0000
Robust
lb Coef. Std. Err. t P>|t| [95% Conf. Interval]
sigma_u .07845605
to the ‘Nickell Bias’,
sigma_e
rho
.13305379
.25799235 (fraction of variance due to u_i)
so we should use
GMM
In GMM, the quadratic objective function (or minimand) is:
↙ This is the variance-covariance matrix of
~
~
~
dg (β)
~
↖
Propuesta de temas de investigación I
Título
1. Efecto causal de las Instituciones y el capital humano en el desarrollo económico: una
aproximación de modelos de datos de panel dinámico.
2. Evaluación de los determinantes de la delincuencia a nivel distritos en Lima Metropolitana: un
enfoque de datos de panel.
3. Impacto del acceso a la tecnología sobre el crecimiento económico: una evaluación regional para
el caso peruano.
4. Impacto del capital humano sobre el crecimiento económico: un análisis regional para el caso
peruano.
5. Efecto causal de la desigualdad sobre el crecimiento económico: evidencia para el caso peruano
a nivel regional.
6. Determinantes de la inclusión financiera en América Latina y el Caribe: una aproximación de
datos de panel.
7. Determinantes de la inclusión financiera en las mujeres de América Latina y el Caribe: un
enfoque de datos de panel.
8. Determinantes de la tasa de desempleo en América Latina y el Caribe: un análisis de datos de
panel dinámico.
Propuesta de temas de investigación II
Título
9. Inclusión financiera e informalidad: evidencia empírica internacional.
10. Diversificación de las exportaciones y crecimiento económico: un enfoque de panel
dinámico.
11. Infraestructura y crecimiento económico: un enfoque de modelos panel dinámico no
lineal.
12. Complejidad económica y crecimiento económico: evidencia empírica internacional.
13. ¿Se cumple la maldición de los recursos naturales?
14. Recursos naturales, instituciones y crecimiento económico: evidencia empírica
internacional
15. Volatilidad económica y crecimiento económico: un enfoque de panel dinámico
16. Convergencia condicional: una aproximación de modelos panel Cointegrado
Metodología
Modelos de datos de panel, estimadores de Arellano&Bond, Blundell&Bond, System GMM.
← ↖
↘
}←
Aplicaciones I