Nonlinear Panel Data
Nonlinear Panel Data
Nonlinear Panel Data
Whitney Newey
Fall 2007
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Species the conditional mean of Yi given Xi, i, and . Likelihood species conditional pdf f (y|x, , ) of Yi given Xi, i and parameter vector .
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Example: Normal linear model: For eT a T 1 vector of 10s, Yi|(Xi, i) N (Xi + ieT , 2IT ). This is distributional version of a linear model.
Binary choice model: Yit {0, 1}; e.g. labor force participation.
0 Yit, (t = 1, ..., T ) independent, Prob(Yit = 1|Xi, i) = G(Xit + i). 0 Count data: Yi1, ..., YiT indep, Yit|Xi, i Poisson with mean exp(Xit + i).
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Concentrate out i: For a xed each xed eect is given by i() = max ln f (Yi|Xi, , i).
By the usual extremum estimator, as n grows for xed T the estimator has plim T = arg max E[ln f (Yi|Xi, , i())].
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
would get consistency. Like measurement error in nonlinear model. Example: Binary logit, Yit {0, 1}, G(u) = eu/(1 + eu). Known that the xed eects estimator F E satises
p F E 2 0
Bias in estimates of marginal eects less severe. In binary choice, marginal eect is
Z
i=1
Hahn and Newey (2004) show quite small biases for probit.
Return to this below.
Discuss now how can get consistent estimators.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
i=1
f (Yi|Xi, Si, )
Consistent and asymptotically normal, and asymptotically ecient when the distribution of i conditional on Xi is unrestricted. Problem is Si only exists in a few cases, including Gaussian linear model, logit binary choice, oisson model for count data, and proportional hazards model. In most other models there is no such Si, so conditional MLE has limited usefulness.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Identication Issue:
may not be identied in the semiparametric model where the conditional pdf of Yi given Xi, i is specied as f (y|x, , ) and the conditional pdf of i given Xi is unspecied. Chamberlain (1992): T = 2; Pr(Yit = 1|Xi, i) = G(0dit + x0 0 + i), it 0(u) > 0 everywhere, other regularity conditions. If X is di1 = 0, di2 = 1, G i bounded then 0 is not identied if G(u) is not logistic. Also can show that 0 is not identied for T = 2, Pr(Yit = 1|Xi, i) = ( 0Xit+ i), Xit {0, 1}. See following graph.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
f (Yi|Xi, , )g(|Xi, )d
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
q
i 2 + 2 t 0 , = et + . q = xi t t 2 + 2 t
This is a marginal likelihood for Yit. Joint likelihood is very complicated. Yi1, ..., YiT not independent conditional on Xi. This is generally true in models where integrate out i.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare
(http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Estimation: Do q marginal likelihood (probit) to get 1, ..., T . Normalize 1 = 1 and let t = 1/ 2 + 2 , (t = 1, ..., T ), where we normalize 1 = 1. Repara t meterize so that = ( 0, 0, 2, ..., T )0 and for = ( 0 , ..., 0 )0 let 1 T
h(, ) =
1 1 e1 . .
.
T T eT
We can then do minimum distance, using = ( 0 , ..., 0 )0 mentioned above. 1 T = arg min h( , )0W h( , ).
h( , ) is linear in so easy to do. Ecient two-step estimator. For V an estimator of the joint asymptotic variance of , let = arg min h( , )0V 1h( , ). Then let D = diag(I, 2I, ..., T I) where I is an identity matrix with the same dimension as . Then DV D is estimator of the variance of n( 0), so optimal minimum distance is
0 DV D 1 h( , ). = arg min h( , )
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Marginal Eects Marginal eect for change in X is, for F () the CDF of , t(X ) t(X), (X) =
Z
By iterated expectations, holding X xed, t(X) = E[1(X 0 0 + i + it > 0)] = E[E[1(X 0 0 + i + it > 0)|Xi]] = E[( t(X 0 0 + x0 0))] i This object can be estimated by t(X) =
n X
(t(X 0 + x0 ))/n i
i=1
Would be interesting to compare this estimator with xed eects marginal eect in the empirical example.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
B 1 + O( 2 ). T T
As a way to think about how bad xed eects bias can be, consider n/T .
1/2 1/2 b b = (nT ) + (nT )1/2(T 0) (nT ) 0 T B 1/2 b = (nT ) + (nT )1/2 + O((nT )1/2/T 2) T T d N B1/2, .
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
For example, if B itself has (nT )1/2 (B B) asymptotically normal then holds. Plugging in as before we get,
1/2 1/2 b b = (nT ) (nT ) 1 0 T +(nT )1/2(T 0 B/T ) 1/2 1/2(B B )/T b = (nT ) T + (nT ) +O((nT )1/2/T 2)
N (0, ) .
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
e b T (T 1)
T X
t=1
b (t)/T.
= 0 + O
p T T (T 1) T 1 = 0 +
1 . 2 T
1 1 1 D+O T T 1 T2
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
T 1 T 1 1 = + + /T 0 2 T T Is not consistent for xed T. Iterating analytical correction is = + /T, T = . T 1 Can also show that this is jackknife. Here is consistent for xed T .
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
i=1
0 + /n. x i
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Table Three: Properties Estimator of 0 Mean Med. MLE 1.18 1.17 Jackknife .953 .950 Analytic 1.05 1.05 Analytic-M 1.05 1.05
of T = 8. , SD p; .05 p; .10 .151 .267 .370 .119 .056 .102 .134 .062 .135 .132 .060 .126
Table Five: Properties Estimator of 0 Mean Med. MLE 1.42 1.41 Jackknife .752 .743 Analytic 1.12 1.11 Analytic-M 1.21 1.20
of T = 4 , SD p; .05 p; .10 .397 .269 .373 .262 .100 .177 .306 .055 .101 .335 .102 .172
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Table Four: Properties of Estimator of /0 Mean Med. MLE 1.02 1.02 Jackknife 1.00 .992 Analytic 1.02 1.02 Analytic-M 1.02 1.02
, T = 8. SD p;.05 p;.10 .131 .078 .140 .130 .086 .159 .133 .090 .153 .131 .087 .154
Table Six: Properties of Estimator of /0 Mean Med. MLE 1.00 1.00 Jackknife 1.06 1.05 Analytic .996 .994 Analytic-M 1.05 1.05
, T = 4. SD p; .05 p; .10 .257 .103 .168 .307 .159 .224 .265 .113 .178 .266 .117 .185
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
0 =
[(0 + ) ()]F0(d)
Then is identied.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
= is identied.
Proof: Consider X { 0 , 1 }. Then there is t(X) such that xt(X) = 1 and / s(X) such that xs(X) = 1. Then we have E[yi,t(X) yi,s(X)|Xi = X] = E[yi,t(X) yi,s(X)|Xi = X, i]|Xi = X] =
X Z
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
X { 0 , 1 } /
x Cannot identify [(0 + ) ()]F0(d| ) for x { 0 , 1 }. is over identied for T > 2. Simple estimator:
/ Let n = #{i : Xi { 0 , 1 }}.
= 1 n
X { 0 , 1 } {i|Xi=X} /
yi,t(X) yi,s(X) .
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].
Bounds for 0.
Let D = 1 ( > 0) . Let P = P ( 0 ) + P ( 1 ) (1 P ) (1 D)P 0 (1 P ) + DP Tight bounds use the form (0 + ) ().
Bounds shrink to a point exponentially fast at T grows.
There are 2T possible X so P ( 0 )+P ( 1 ) will shrink like C2T for some constant
C. This fast shrinkage rate might be conjectured fom the bias corrections. In smooth models (all derivative existing) one can form a bias correction that approaches the truth at T J for any integer J.
Cite as: Whitney Newey, course materials for 14.385 Nonlinear Econometric Analysis, Fall 2007. MIT OpenCourseWare (http://ocw.mit.edu), Massachusetts Institute of Technology. Downloaded on [DD Month YYYY].