Econometrics I 16
Econometrics I 16
Econometrics I 16
Econometrics I
Professor William Greene
Stern School of Business
Department of Economics
16-2/135
Econometrics I
Part 16 Panel Data
16-3/135
www.oft.gov.uk/shared_oft/reports/Evaluating-OFTs-work/oft1416.pdf
16-4/135
16-5/135
16-6/135
Longitudinal data
16-7/135
16-8/135
16-9/135
16-10/135
BHPS Has
Evolved
16-11/135
16-12/135
16-13/135
16-14/135
16-15/135
16-16/135
16-17/135
16-18/135
These data were analyzed in Cornwell, C. and Rupert, P., "Efficient Estimation
with Panel Data: An Empirical Comparison of Instrumental Variable
Estimators," Journal of Applied Econometrics, 3, 1988, pp. 149-155. See
Baltagi, page 122 for further analysis. The data were downloaded from the
website for Baltagi's text.
16-19/135
16-20/135
16-21/135
16-22/135
An Unbalanced Panel:
RWMs GSOEP Data on Health Care
16-23/135
N = 7,293 Households
yit =xit + ci + it
xi1
x
i2
Xi
M
xiT i
Ti rows, K columns
Linear specification:
Fixed Effects: E[ci | Xi ] = g(Xi). Cov[xit,ci] 0
16-24/135
Convenient Notation
yit = i + xit + it
Individual specific constant terms.
16-25/135
yit = xit + it + ui
Compound (composed) disturbance
Part 16: Panel Data
Estimating
16-26/135
16-27/135
=X
i +c i + i , note c i (ci , ci ,...,ci )
y =X+c +, Ni=1Ti observations in the sample
16-28/135
=
+ (1/N)Ni=1
X Xi i
(1/N)Ni=1
X c i
-1
-1
N Ti
1 N
plim b= + plim
N Xi=1X i i i=1xNc
16-29/135
if the covariance x
of
(left
out variable for
i
mula)
16-30/135
Cluster Estimator
16-31/135
Ti
Ti
vit vis xit xis ( X'X) 1
= ( X'X)1 Ni=1 t=1
s=1
it
16-32/135
+---------+--------------+----------------+--------+---------+
|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] |
+---------+--------------+----------------+--------+---------+
Constant
5.40159723
.04838934
111.628
.0000
EXP
.04084968
.00218534
18.693
.0000
EXPSQ
-.00068788
.480428D-04
-14.318
.0000
OCC
-.13830480
.01480107
-9.344
.0000
SMSA
.14856267
.01206772
12.311
.0000
MS
.06798358
.02074599
3.277
.0010
FEM
-.40020215
.02526118
-15.843
.0000
UNION
.09409925
.01253203
7.509
.0000
ED
.05812166
.00260039
22.351
.0000
Robust
Constant
5.40159723
.10156038
53.186
.0000
EXP
.04084968
.00432272
9.450
.0000
EXPSQ
-.00068788
.983981D-04
-6.991
.0000
OCC
-.13830480
.02772631
-4.988
.0000
SMSA
.14856267
.02423668
6.130
.0000
MS
.06798358
.04382220
1.551
.1208
FEM
-.40020215
.04961926
-8.065
.0000
UNION
.09409925
.02422669
3.884
.0001
ED
.05812166
.00555697
10.459
.0000
16-33/135
16-34/135
Bootstrap sample is N
groups of size Ti drawn
with replacement.
16-35/135
16-36/135
it
it ) + wit
= (x
Note: Time invariant variables become zero
Time trend becomes the constant term
16-37/135
Var
22 2
0
0
i,3 i,2 2 22 2
M
0 2 O 2
M
2
2
0
L
i,Ti i,Ti 1
16-38/135
16-39/135
QOL Study
16-40/135
16-41/135
16-42/135
(Hb
Hb
)
j8 j
i1
i0
k 1k (xik,1 xik,0 ) i1 i0
16-43/135
j
j
K
= 15
(Hb
Hb
)
j 8 j
i1
i0
k1k (xik,1 xik,0 ) QOLi0 + ui
16-44/135
Difference in Differences
With two periods,
i1) + ui
yit = yi2 -yi1 = 0 + (xi2 -x
Consider a "treatment, Di ," that takes place between
time 1 and time 2 for some of the individuals
+ 1Di + ui
yi= 0 + (x
i)
Di = the "treatment dummy"
16-45/135
1 y| treatment - y| control
= "difference in differences" estimator.
0 Average change in yi for the "treated"
Part 16: Panel Data
Difference-in-Differences Model
With two periods and strict exogeneity of D and T,
16-46/135
16-47/135
Difference in Differences
yit = 0 1Dit 2 Tt 3Dit Tt xit it , t 1,2
yit = 2 3Di 2 (xit ) it
= 2 3Di 2 (xit ) ui
yit | D 1 yit | D 0
3 (xit | D 1) (xit | D 0)
If the same individual is observed in both states,
the second term is zero. If the effect is estimated by
averaging individuals with D = 1 and different individuals
with D=0, then part of the 'effect' is explained by change
in the covariates, not the treatment.
Part 16: Panel Data
16-48/135
Difference in Differences
i individual, T = 0 for no immigration, T=1 for migration
(Yi | T) Yi,T 1 if unemployed, 0 if employed.
c = city, t = period.
Unemployment rate in city c at time t is E[Yi,0 | c,t] with no migration
Unemploym ent rate in city c at time t is E[Yi,1 | c,t] with migration
Assume E[Yi,0 | c,t] t c
E[Yi,1 | c,t] t c
E[Yi,0 | c,t]
the effect of the immigration on the unemployment rate.
16-49/135
16-50/135
E[Yi|M,79] = 79 + M
E[Yi|M,81] = 81 + M +
E[Yi|L,79] = 79 + L
E[Yi|M,79] = 81 + L
16-51/135
http://dera.ioe.ac.uk/14610/1/oft1416.pdf
16-52/135
16-53/135
Treatment Schools:
Treatment is an
intervention by the
Office of Fair Trading
Control Schools were
not involved in the
conspiracy
Treatment is not
voluntary
16-54/135
16-55/135
16-56/135
Treatment (Intervention)
Effect = 1 +
2 if SS school
16-57/135
In order to test robustness two versions of the fixed effects model were run. The first is
Ordinary Least Squares, and the second is heteroscedasticity and auto-correlation robust
(HAC) standard errors in order to check for heteroscedasticity and autocorrelation.
16-58/135
16-59/135
16-60/135
16-61/135
16-62/135
0
0 0
O M
0 d
N
0
16-63/135
16-64/135
Ti
t=1
N
i=1
(zit z.)
Ti
t=1
T z.i z
N
i=1 i
WHO Data
16-65/135
16-66/135
Analysis of Variance
16-67/135
Analysis of Variance
+--------------------------------------------------------------------------+
| Analysis of Variance for
LGASPCAR
|
| Stratification Variable
_STRATUM
|
| Observations weighted by
ONE
|
| Total Sample Size
342
|
| Number of Groups
18
|
| Number of groups with no data
0
|
| Overall Sample Mean
4.2962420
|
| Sample Standard Deviation
.5489071
|
| Total Sample Variance
.3012990
|
|
|
| Source of Variation
Variation
Deg.Fr.
Mean Square |
| Between Groups
85.68228007
17
5.04013 |
| Within Groups
17.06068428
324
.05266 |
| Total
102.74296435
341
.30130 |
| Residual S.D.
.22946990
|
| R-squared
.83394791
MSB/MSW
21.96425 |
| F ratio
95.71734806
P value
.00000 |
+--------------------------------------------------------------------------+
16-68/135
16-69/135
b XX X D
Xy
D y
a
D
X
D
D
=[XMDX]1 XMDy
2
0 MD
0
MD
(The dummy variables are orthogonal)
N
0
MD
0
i i )1 d = I Ti (1/Ti )dd
MDi I Ti di (dd
i
0
i Di Xi ,
XMD X = Ni=1XM
i Di yi ,
XMD y = Ni=1XM
16-70/135
y
XM
i Di Xi
XM
i
i
D
k,l
i k
i
t=1
(xit,k -xi.,k )(xit,l -xi.,l )
Ti
16-71/135
a = (DD)-1D(y Xb)
Ti
a=(1/T
)
i
i
t=1 (yit -xitb)=ei
16-72/135
T
)plim[(1
/
T
)
X
M
X
]
i=1 i
i=1 i
i=1 i D i
Asy.Var[b] =
which is the usual estimator for OLS
Ti
Ni=1 t=1
(yit -ai -xitb)2
N
i=1 i
T - N - K
16-73/135
16-74/135
LSDV Results
Note huge changes in
the coefficients. SMSA
and MS change signs.
Significance changes
completely!
Pooled OLS
16-75/135
16-76/135
y = X+(D+)
= X+ w
Regression of y on X is inconsistent because X is
correlated with w. The data in group mean deviations is
Z = MDX = X - D(DD)-1DX
The inconsistent OLS estimator is b = (XX)-1 Xy (omits D)
The IV estimator bLSDV =(ZX)-1 Zy=(XMDX)-1 XMDy.
=[(XMD )(MDX)]-1 (XMD )(MDy)
This is OLS using data in mean deviations, i.e., LSDV.
16-77/135
LSDV As Usual
16-78/135
i 1
i 1
Ti
t 1
it
Ti
t 1
it
yi
R2 = 0.90542
R2 = 0.65142
The coefficient estimates and standard errors are the same. The calculation of the R 2 is
different. In the areg procedure, you are estimating coefficients for each of your covariates
plus each dummy variable for your groups. In the xtreg, fe procedure the R2 reported is
obtained by only fitting a mean deviated model where the effects of the groups (all of the
dummy variables) are assumed to be fixed quantities. So, all of the effects for the groups are
simply subtracted out of the model and no attempt is made to quantify their overall effect on
the fit of the model.
Since the SSE is the same, the R 2=1SSE/SST is very different. The difference is real in
that we are making different assumptions with the two approaches. In the xtreg, fe approach,
the effects of the groups are fixed and unestimated quantities are subtracted out of the
model before the fit is performed. In the areg approach, the group effects are estimated and
affect the total sum of squares of the model under consideration.
16-79/135
.345
.207
.138
.069
.000
0
AI
K
ernel dens ity es tim a te for
AI
Frequenc y
De n s ity
.276
Mean = 4.819,
Standard deviation =
1.054.
16-80/135
.856
1.688
2.520
3 .351
4.1 83
5.015
5.847
6.678
AI
16-81/135
16-82/135
16-83/135
16-84/135
16-85/135
Introduction
[T]he FE model does not allow the estimation of
time invariant variables. A second drawback of
the FE model results from its inefficiency in
estimating the effect of variables that have very
little within variance.
This article discusses a remedy to the related
problems of estimating time invariant and rarely
changing variables in FE models with unit effects
16-86/135
16-87/135
The Model
yit = i +
x
+
k
kit
k=1
z
+
m
mi
it
m=1
16-88/135
i = yi - K bFE
xki
k=1 k
16-89/135
Step 2
Regress ai on zi and compute residuals
ai =zm=1 +mh
M
im
16-90/135
Step 3
Regress yit on a constant, X, Z and h using
ordinary least squares to estimate , , , .
yit = +
x kit +
k=1 k
z + h i + it
m=1 m mi
16-91/135
16-92/135
Step 3!
--------+--------------------------------------------------------|
Standard
Prob.
Mean
LWAGE| Coefficient
Error
z
z>|Z|
of X
--------+--------------------------------------------------------Constant|
2.88090***
.03282
87.78 .0000
EXP|
.09663***
.00061
157.53 .0000
19.8538
WKS|
.00114***
.00044
2.58 .0098
46.8115
OCC|
-.02496***
.00601
-4.16 .0000
.51116
IND|
.02042***
.00479
4.26 .0000
.39544
SOUTH|
-.00091
.00510
-.18 .8590
.29028
SMSA|
-.04581***
.00506
-9.06 .0000
.65378
UNION|
.03411***
.00521
6.55 .0000
.36399
FEM|
-.09963***
.00767
-13.00 .0000
.11261
ED|
.14616***
.00122
120.19 .0000
12.8454
HI|
1.00000***
.00670
149.26 .0000 -.103D-13
--------+---------------------------------------------------------
16-93/135
16-94/135
16-95/135
x kit +
k=1 k
z + it
m=1 m mi
http://davegiles.blogspot.com/2012/06/fixed-effects-vector-decomposition.html
16-96/135
16-97/135
=X
i +c i + i , note c i (ci , ci ,...,ci )
y =X+c +, Ni=1Ti observations in the sample
c=(c1 , c2 ,...cN), Ni=1Ti by 1 vector
16-98/135
E[ci |Xi] = 0
E[it|Xi,ci]=0
Notation
16-99/135
y1
y
2
M
yN
X
1
X
M
X
N
= X++u
T1 observations
1i u1 1
i u
T2 observations
22
2
M
M
M
i
TN observations
N uN N
Ni=1 Ti observations
= X+w
I n all that follows, except where explicitly noted, X, Xi
and xit contain a constant term as the first element.
To avoid notational clutter, in those cases, xit etc. will
simply denote the counterpart without the constant term.
Use of the symbol K for the number of variables will thus
be context specific but will usually include the constant term.
2 +u2
Var[i+uii ]
2
u
u2
...
2
2
...u
u +
...
...
u2
2
u
u2
2
...
2
2
+
u
2
u
yi=X
i + i +ui
i for Ti observations
16-100/135
Notation
16-101/135
Var[i+uii ]
2 u2
u2
L
2
2 u2 L
u
u2
u2
u2
u2
O
M
K 2 u2
= 2I Ti u2ii Ti Ti
= 2I Ti u2ii
= i
0
1 0 L
0
(Note these differ only
L
0
2
Var[w | X]
M M O
M in the dimension Ti )
0 0 K
Convergence of Moments
16-102/135
XiXi
XX
N
f
a weighted sum of individual moment matrices
i1 i
N
i1 T
Ti
i iX i
X
XX
N
f
a weighted sum of individual moment matrices
i1 i
N
i1T
Ti
= 2Ni1ffi
XiXi
u2Ni1 ixixi
Ti
Xi Xi
is the
Ti
Random Effects
Fixed Effects
16-103/135
Consistent
Unbiased
Inefficient
16-104/135
X X
XX
Ni1T i Ni1 Ti
0 Q-1 Q * Q-1
0 as N
1
Var[b | X] N
i1Ti
XX
N
i1T i
16-105/135
XX XX
X
X
N
N
N
i1 i
i1 i
i1 Ti
In the spirit of the White estimator, use
1
Var[b | X] N
i1 Ti
iw
iXi
Xi w
Ti
XX
N
i= yi - Xib, fi N
i1fi
, w
N
Ti
i1Ti
i1Ti
Hypothesis tests are then based on Wald statistics.
THI S I S THE 'CLUSTER' ESTI MATOR
Part 16: Panel Data
16-106/135
16-107/135
+---------+--------------+----------------+--------+---------+
|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] |
+---------+--------------+----------------+--------+---------+
Constant
5.40159723
.04838934
111.628
.0000
EXP
.04084968
.00218534
18.693
.0000
EXPSQ
-.00068788
.480428D-04
-14.318
.0000
OCC
-.13830480
.01480107
-9.344
.0000
SMSA
.14856267
.01206772
12.311
.0000
MS
.06798358
.02074599
3.277
.0010
FEM
-.40020215
.02526118
-15.843
.0000
UNION
.09409925
.01253203
7.509
.0000
ED
.05812166
.00260039
22.351
.0000
Robust Cluster___________________________________________
Constant
5.40159723
.10156038
53.186
.0000
EXP
.04084968
.00432272
9.450
.0000
EXPSQ
-.00068788
.983981D-04
-6.991
.0000
OCC
-.13830480
.02772631
-4.988
.0000
SMSA
.14856267
.02423668
6.130
.0000
MS
.06798358
.04382220
1.551
.1208
FEM
-.40020215
.04961926
-8.065
.0000
UNION
.09409925
.02422669
3.884
.0001
ED
.05812166
.00555697
10.459
.0000
16-108/135
=[X-1X]1[X-1y]
1
-1
i 2 I Ti 2
ii
2
Tiu
16-109/135
2 Tiu2
T -1-K
N
i1 i
estimates 2 U2
T -N-K
N
i1 i
estimates 2
16-110/135
N Ti (y - a - x b)2
it
i1 t1 it
i1Ti -1-K
N Ti (y - a - x b )2
i1 t 1
it
i
it
i1Ti -N-K
estimates U2
2
i1 t1 (yit ai xitbLSDV )
From the robust LSDV estimator:
Ni1 Ti
Ni1 Ti
16-111/135
2
u
0
N
i1 Ti
2
u
(N
K)
SSE(group
means)
u Max 0,
A
(N
A)T
2
where A = K or if
u is negative,
16-112/135
2
2
MEANS
From the group means regression: / T u
N K 1
it w
is
Ni1 tTi 11 sTi t1w
2
2
(Wooldridge) Based on E[wit wis | Xi ] u if t s,
u
Ni1Ti K N
There are many others. Generally if the original, standard choices fail,
these will also.
x does not contain a constant term in the
preceding.
16-113/135
16-114/135
u
2 were
Both estimators are positive. We stop here. If
u
negative, we would use estimators without DF corrections.
16-115/135
Application
---------------------------------------------------------------------Random Effects Model: v(i,t)
= e(i,t) + u(i)
Estimates: Var[e]
=
.023119
Var[u]
=
.102531
Corr[v(i,t),v(i,s)] =
.816006
Lagrange Multiplier Test vs. Model (3) =3713.07
( 1 degrees of freedom, prob. value = .000000)
(High values of LM favor FEM/REM over CR model)
Fixed vs. Random Effects (Hausman)
=
.00 (Cannot be computed)
( 8 degrees of freedom, prob. value = 1.000000)
(High (low) values of H favor F.E.(R.E.) model)
Sum of Squares
1411.241136
R-squared
-.591198
+---------+--------------+----------------+--------+---------+----------+
|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|
+---------+--------------+----------------+--------+---------+----------+
EXP
.08819204
.00224823
39.227
.0000
19.8537815
EXPSQ
-.00076604
.496074D-04
-15.442
.0000
514.405042
OCC
-.04243576
.01298466
-3.268
.0011
.51116447
SMSA
-.03404260
.01620508
-2.101
.0357
.65378151
MS
-.06708159
.01794516
-3.738
.0002
.81440576
FEM
-.34346104
.04536453
-7.571
.0000
.11260504
UNION
.05752770
.01350031
4.261
.0000
.36398559
ED
.11028379
.00510008
21.624
.0000
12.8453782
Constant
4.01913257
.07724830
52.029
.0000
16-116/135
16-117/135
u2
0
2
H0 : u2 0
General
2
Ni1(Ti ei )2
( T )
LM =
1
N
N
T
2
2i1Ti (Ti 1) i1 t1eit
Balanced Panel
N
2
i1 i
i i ]
NT [(Te ) ee
LM
i i
2(T-1)
Ni1ee
N
i1
2
i
[1]
Application: Cornwell-Rupert
16-118/135
16-119/135
Random Effects
E[ci|Xi] = 0
Fixed Effects
E[ci|Xi] 0
FGLS
(Random
Effects)
LSDV
(Fixed Effects)
Consistent and
Efficient
Inconsistent
Consistent
Inefficient
Consistent
Possibly Efficient
16-120/135
16-121/135
1
N
Est.Var[FE ]
i1Xi I ii X i
Ti
i
N
]
Est.Var[
X
I
ii
RE
i1 i
Ti
X i
-1
2
Ti
u
, 0 i = 2
1
2
Ti
u
2
2
] Est.Var[
]
As long as
and
u are consistent, as N , Est.Var[
FE
RE
Hausman Test
16-122/135
+--------------------------------------------------+
| Random Effects Model: v(i,t) = e(i,t) + u(i)
|
| Estimates: Var[e]
=
.235368D-01 |
|
Var[u]
=
.110254D+00 |
|
Corr[v(i,t),v(i,s)] =
.824078
|
| Lagrange Multiplier Test vs. Model (3) = 3797.07 |
| ( 1 df, prob value = .000000)
|
| (High values of LM favor FEM/REM over CR model.) |
| Fixed vs. Random Effects (Hausman)
= 2632.34 |
| ( 4 df, prob value = .000000)
|
| (High (low) values of H favor FEM (REM).)
|
+--------------------------------------------------+
Fixed Effects
16-123/135
+----------------------------------------------------+
| Panel:Groups
Empty
0,
Valid data
595 |
|
Smallest
7,
Largest
7 |
|
Average group size
7.00 |
| There are 2 vars. with no within group variation. |
| ED
FEM
|
| Look for huge standard errors and fixed parameters.|
| F.E. results are based on a generalized inverse.
|
| They will be highly erratic. (Problematic model.) |
| Unable to compute std.errors for dummy var. coeffs.|
+----------------------------------------------------+
+--------+--------------+----------------+--------+--------+----------+
|Variable| Coefficient | Standard Error |b/St.Er.|P[|Z|>z]| Mean of X|
+--------+--------------+----------------+--------+--------+----------+
|WKS
|
.00083
.00060003
1.381
.1672
46.811525|
|OCC
|
-.02157
.01379216
-1.564
.1178
.5111645|
|IND
|
.01888
.01545450
1.221
.2219
.3954382|
|SOUTH
|
.00039
.03429053
.011
.9909
.2902761|
|SMSA
|
-.04451**
.01939659
-2.295
.0217
.6537815|
|UNION
|
.03274**
.01493217
2.192
.0283
.3639856|
|EXP
|
.11327***
.00247221
45.819
.0000
19.853782|
|EXPSQ
|
-.00042***
.546283D-04
-7.664
.0000
514.40504|
|ED
|
.000
......(Fixed Parameter).......
|
|FEM
|
.000
......(Fixed Parameter).......
|
+--------+------------------------------------------------------------+
Random Effects
16-124/135
+--------------------------------------------------+
| Random Effects Model: v(i,t) = e(i,t) + u(i)
|
| Estimates: Var[e]
=
.235368D-01 |
|
Var[u]
=
.110254D+00 |
|
Corr[v(i,t),v(i,s)] =
.824078
|
| Lagrange Multiplier Test vs. Model (3) = 3797.07 |
| ( 1 df, prob value = .000000)
|
| (High values of LM favor FEM/REM over CR model.) |
+--------------------------------------------------+
+--------+--------------+----------------+--------+--------+----------+
|Variable| Coefficient | Standard Error |b/St.Er.|P[|Z|>z]| Mean of X|
+--------+--------------+----------------+--------+--------+----------+
|WKS
|
.00094
.00059308
1.586
.1128
46.811525|
|OCC
|
-.04367***
.01299206
-3.361
.0008
.5111645|
|IND
|
.00271
.01373256
.197
.8434
.3954382|
|SOUTH
|
-.00664
.02246416
-.295
.7677
.2902761|
|SMSA
|
-.03117*
.01615455
-1.930
.0536
.6537815|
|UNION
|
.05802***
.01349982
4.298
.0000
.3639856|
|EXP
|
.08744***
.00224705
38.913
.0000
19.853782|
|EXPSQ
|
-.00076***
.495876D-04
-15.411
.0000
514.40504|
|ED
|
.10724***
.00511463
20.967
.0000
12.845378|
|FEM
|
-.24786***
.04283536
-5.786
.0000
.1126050|
|Constant|
3.97756***
.08178139
48.637
.0000
|
+--------+------------------------------------------------------------+
16-125/135
has
1 rows and
1 columns.
1
+-------------1| 2523.64910
--> calc;list;ctb(.95,8)$
+------------------------------------+
| Listed Calculator Results
|
+------------------------------------+
Result =
15.507313
16-126/135
16-127/135
Variable Addition
A Fixed Effects Model
yit i xit it
LSDV estimator - Deviations from group means:
To estimate , regress (y it yi ) on (xit xi )
Algebraic equivalent: OLS regress y it on (xit , xi )
Mundlak interpretation: i xi u i
Model becomes y it xi u i xit it
= xi xit it u i
a random effects model with the group means.
Estimate by FGLS.
Part 16: Panel Data
16-128/135
16-129/135
+--------+--------------+----------------+--------+--------+----------+
|Variable| Coefficient | Standard Error |b/St.Er.|P[|Z|>z]| Mean of X|
+--------+--------------+----------------+--------+--------+----------+
|WKS
|
.00083
.00060070
1.380
.1677
46.811525|
|OCC
|
-.02157
.01380769
-1.562
.1182
.5111645|
|IND
|
.01888
.01547189
1.220
.2224
.3954382|
|SOUTH
|
.00039
.03432914
.011
.9909
.2902761|
|SMSA
|
-.04451**
.01941842
-2.292
.0219
.6537815|
|UNION
|
.03274**
.01494898
2.190
.0285
.3639856|
|EXP
|
.11327***
.00247500
45.768
.0000
19.853782|
|EXPSQ
|
-.00042***
.546898D-04
-7.655
.0000
514.40504|
|ED
|
.05199***
.00552893
9.404
.0000
12.845378|
|FEM
|
-.41306***
.03732204
-11.067
.0000
.1126050|
|WKSB
|
.00863**
.00363907
2.371
.0177
46.811525|
|OCCB
|
-.14656***
.03640885
-4.025
.0001
.5111645|
|INDB
|
.04142
.02976363
1.392
.1640
.3954382|
|SOUTHB |
-.05551
.04297816
-1.292
.1965
.2902761|
|SMSAB
|
.21607***
.03213205
6.724
.0000
.6537815|
|UNIONB |
.08152**
.03266438
2.496
.0126
.3639856|
|EXPB
|
-.08005***
.00533603
-15.002
.0000
19.853782|
|EXPSQB |
-.00017
.00011763
-1.416
.1567
514.40504|
|Constant|
5.19036***
.20147201
25.762
.0000
|
+--------+------------------------------------------------------------+
16-130/135
has
1 rows and
1 columns.
1
+-------------1| 3004.38076
16-131/135
16-132/135
16-133/135
Mundlaks Estimator
16-134/135
i ui , E[ci | x i1 ,x i1 ,...x iT ]= x
i
Write ci = x
i
Assume ci contains all time invariant information
yi=X
i +cii+ i , Ti observations in group i
=X
i +ix i+ i + uii
Looks like random effects.
Var[i + uii]=i +2uii
This is the model we used for the Wu test.
Part 16: Panel Data
16-135/135
=X
i +ix i+ i + uii
Chamberlain/ Wooldridge
i1 1 x i22 ... x
iT T ui
ci = x
yi=X
i ix i11 ix i1 2 ... ix iT T i u+
i i
TxK E5F
TxK E5F
TxK
E5F
TxK etc.
E5F
16-136/135
16-137/135
16-138/135
x2 it
i
z1
i
z2
it ui
16-139/135
16-140/135
estimates 1 and 2.
(3) With fixed T, residual variance in (2) estimates u2 2 / T
With unbalanced panel, it estimates u2 2 (1/T) or something
resembling this. (1) provided an estimate of 2 so use the two
to obtain estimates of u2 and 2 . For each group, compute
2
2
2
i 1
/ (
Ti
u)
(4) Transform
W*
i = [xit1 , xit2 ,zi1 ,zi2 ] - i[x i1 , xi2 ,zi1 ,zi2 ]
and
x1i
16-141/135
16-142/135
16-143/135
it
yit x1
x2 it
i
z1
i
z2
it ui
x1i
Let vit it ui
Let zit [( x1it - x1i )',( x2it - x2i )',z1i , x1']
Then E[zit vit ] 0
We formulate this for the Ti observations in group i.
Part 16: Panel Data
x2 it
i
z1
i
z2
it ui
Parameters : = [, 1
, 2
, 1
, 2']
The data
yi,2
yi,1 x1i2 x2i2 z1i z2 i
y
y
x1
x2
z1
z2
i3
i3
i
i,3
i,2
i
yi
, Xi
, Ti -1 rows
yi,T i
yi,T-1 x1iTi x2iTi z1i z2 i
1 K1
K2
L1 L2 columns
16-144/135
16-145/135
16-146/135
16-147/135
E[ci | Xi ] g( Xi )
No correlation across individuals
OLS and GLS are both inconsistent.
16-148/135
16-149/135
16-150/135
Application: Maquiladora
http://www.dallasfed.org/news/research/2005/05us-mexico_felix.pdf
16-151/135
16-152/135
Maquiladora
16-153/135
Estimates