Panel Data V
Panel Data V
ECONOMETRICS
Outline
Dynamic models
Introduction
ECONOMETRICS
Dynamics
Many economic relations are dynamic in nature:
I E.g. state dependence: today’s state yit depends on yesterday’s yi,t −1 .
I Then, one of the advantages of panel data is that they allow the researcher to
better understand the dynamics of adjustment.
Take a model with adjustment costs. Suppose the optimal quantity yit∗ is
yit∗ = xit γ + ṽit ,
but due to adjustment costs (governed by α), the realization is
yit = αyi,t −1 + (1 − α)yit∗ .
Putting the two equations together yields the estimable model:
yit = αyi,t −1 + xit (1 − α)γ + (1 − α)ṽit .
| {z } | {z }
β vit
ECONOMETRICS
The dynamic panel model
vit = ci + uit .
This dynamic panel data model has two sources of persistence over time:
I state dependency (yit is a direct function of yi,t −1 ) and
I individual effects (like in static models).
ECONOMETRICS
Inconsistency of the OLS estimator
ECONOMETRICS
Inconsistency of the within estimator
The FE estimator wipes out the ci by the within transformation:
T
1
ÿi,t −1 = yi,t −1 − ȳi,−1 = yi,t −1 − ∑
T − 1 t =2
yi,t −1 .
and
T
1
T − 1 t∑
üit = uit − ūi = uit − uit .
=2
I Hence, the regressor ÿi,t −1 is a function of yi,1 , . . . , yi,T −1 while the disturbance
üit is a function of ui,2 , . . . , ui,T , so there is obvious correlation between the two
(“regressor endogeneity”).
I This correlation makes the FE estimator biased (“Nickell bias”, see Nickell, 1981).
I This bias does not vanish as the number of individuals increases, so the FE
estimator is inconsistent for N large and T small.
I Only as T gets large the FE estimator becomes consistent.
ECONOMETRICS
Inconsistency of the RE estimator
ECONOMETRICS
Bias correction procedures
Several suggestions to correct for the bias of the popular FE estimator have been
proposed in the literature:
I Kiviet (1995): derives an approximation for the bias of the FE estimator in a
dynamic panel data model with serially uncorrelated disturbances and strictly
exogenous regressors. A bias corrected FE estimator then subtracts a consistent
estimator of this bias from the original FE estimator.
I Everaert and Pozzi (2007): bias correction for the FE estimator based on an
iterative bootstrap procedure.
I Bun and Carree (2006): derive the asymptotic bias of the FE estimator for finite
T and large N in the presence of both time-series and cross-section
heteroskedasticity; again, bias correction procedures.
Instead of such correction procedures we will follow the bulk of the literature and use
instrumental variables approaches to find consistent estimators (AH, AB, BB; others
exist, see textbooks).
ECONOMETRICS
Panel AR(1) model and assumptions
Since yi,t −1 is the problematic regressor, let us start with the AR(1) model:
Discussion:
I Sequential exogeneity replaces strict exogeneity assumptions.
I Dynamic completeness means the dynamics of yit is fully specified.
I A consequence is that uit is white noise, E(uit uis ) = 0 ∀ s 6= t.
ECONOMETRICS
Backward substitution
For further use, rewrite the AR(1) model by recursive backward substitution:
ECONOMETRICS
Moment conditions
Apply the first difference (FD) transformation to get rid of ci :
yit − yi,t −1 = α(yi,t −1 − yi,t −2 ) + uit − ui,t −1 .
I The strict exogeneity assumption fails. We can also argue directly: From the
previous slide we know that the regressor ∆yi,t −1 is a function of ui,t −1 and hence
is correlated with the error ∆uit .
I Hence, POLS is inconsistent.
I Anderson and Hsiao (1981) suggest to use an instrument for ∆yi,t −1 .
I Use either ∆yi,t −2 = yi,t −2 − yi,t −3 or yi,t −2 as instrument.
I These instruments will not be correlated with ∆uit = ui,t − ui,t −1 as long as the
uit is white noise. ECONOMETRICS
Anderson-Hsiao details
Note that assumption AR.1 ensures validity of the Anderson and Hsiao moment
conditions. Specifically, it implies E(yi,t −k uit ) = 0 for k ≥ 1.
∆y = α∆y−1 + ∆u,
E[yi,t −2 ∆uit ] = 0, t = 3, . . . , T .
yi,T −2
E[yi,0 −2 ∆ui ] = 0.
ECONOMETRICS
Sample moment conditions
i =1 yi,−2 ∆yi
0
0 ∆y
y− 2 ∑N ∑Ni =1 ∑t =3 yi,t −2 ∆yi,t
T
α̂AH = 0 ∆y = =
i =1 yi,−2 ∆yi,−1
∑N i =1 ∑t =3 yi,t −2 ∆yi,t −1
∑N
y− 0 T
2 −1
ECONOMETRICS
Consistency
To see that the estimator is consistent substitute the model
By assumption,
N
1 p
N ∑ yi,0 −2 ∆ui → E[yi,0 −2 ∆ui ] = 0
i =1
(a CLT also typically holds). Taken together
p 0
α̂AH → α + = α.
B
ECONOMETRICS
Not all is fine
The instrumental variable (IV) estimation method leads to consistent but not
necessarily efficient estimates of the parameters in the model because
(a) it does not make use of all the available moment conditions and
(b) it does not take into account the differenced structure on the disturbances (∆uit )
which are NOT white noise.
To see (a), note that the stacked moment condition E[yi,0 −2 ∆ui ] = 0 means:
ECONOMETRICS
Model
ECONOMETRICS
Intuition
I Consider period t = 3, the first period we observe the relationship:
In this case, yi1 is a likely valid instrument: correlated with (yi2 − yi1 ), not
correlated with (ui3 − ui2 ) if uit is white noise.
I Consider period t = 4, the second period we observe the relation:
In this case, yi2 and yi1 are valid instruments for (yi3 − yi2 ).
I Consider period t = 5, the third period we observe the relation:
In this case, yi1 , yi2 and yi3 are valid instruments for (yi4 − yi3 ).
I And so on until period T , for which the set of valid instruments is yi1 , . . . , yi,T −2 .
ECONOMETRICS
Assumption and moment conditions
Assumption AR.1 (sequential exogeneity):
L = 1 + 2 + · · · + T − 2 = (T − 2)(T − 1)/2.
This implies that for T ≥ 4, we have overidentifying moment conditions. This is why
Arellano and Bond use GMM estimation. ECONOMETRICS
Instrument matrix
The instrument matrix for individual i thus is
[yi1 ] 0
[ y , y
i1 i2 ]
Wi =
..
.
0 [yi1 , . . . , yi,T −2 ]
and the set of moment conditions is written (differently from PIV/P2SLS) as
E(Wi0 ∆ui ) = 0.
WN
ECONOMETRICS
GMM estimation
Since for T ≥ 4, the conditions E(Wi0 ∆ui ) = 0 are overidentifying, it is not possible to
find an estimator of α that equates the sample equivalent
N
N −1 ∑ Wi0 ∆ûi
i =1
While we can estimate this matrix in a second step based on first-step residuals ∆ûi ,
we need a good first-step choice.
Arellano and Bond suggest to use one that is based on homoskedasticity assumptions. ECONOMETRICS
First step weighting matrix
We make the conditional homoskedasticity assumption
So we need to find the (unconditional) variance matrix Σ∆u of the differenced error
term ∆ui .
Since by assumption uit is white noise, ∆uit is MA(1) with unit coefficient and zero
mean.
In addition, let us assume that second moments are time-invariant (homoskedastic over
time, stationary). ECONOMETRICS
Variance matrix of ∆ui under homoskedasticity ?
Under the white noise and homoskedasticity assumptions, we have:
E[(∆uit )2 ] = E[(uit − ui,t −1 )2 ] = E(uit2 ) + E(ui,t
2 2
−1 ) = 2σu ,
E[∆uit ∆ui,t −k ] = 0 ∀k ≥ 2.
Hence,
2 −1 0 ... 0 0
−1 2 −1 ... 0 0
0
0 −1 2 ... 0 0
Σ∆u = E ∆ui ∆ui = σu2 = σu2 G
.. .. .. .. .. ..
. . . . . .
... −1
0 0 0 2
0 0 0 ... −1 2
Since σu2 is a scalar that does not change the relative weighting, we may use
ECONOMETRICS
This leads to... ?
ECONOMETRICS
Two-step GMM estimator ?
The homoskedasticity assumptions are often deemed too restrictive. Therefore,
Arellano and Bond (1991) suggest to use a nonparametric (robust) estimator of the
optimal weighting matrix in a second step.