47
4. Binary Choice –Panel Data

4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Embed Size (px)

Citation preview

Page 1: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

4. Binary Choice –Panel Data

Page 2: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Panel Data Models

Page 3: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Unbalanced Panels

GSOEPGroup Sizes

Most theoretical results are for balanced panels.

Most real world panels are unbalanced.

Often the gaps are caused by attrition.

The major question is whether the gaps are ‘missing completely at random.’ If not, the observation mechanism is endogenous, and at least some methods will produce questionable results.

Researchers rarely have any reason to treat the data as nonrandomly sampled. (This is good news.)

Page 4: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Unbalanced Panels and Attrition ‘Bias’• Test for ‘attrition bias.’ (Verbeek and Nijman, Testing for Selectivity

Bias in Panel Data Models, International Economic Review, 1992, 33, 681-703.• Variable addition test using covariates of presence in the panel• Nonconstructive – what to do next?

• Do something about attrition bias. (Wooldridge, Inverse Probability Weighted M-Estimators for Sample Stratification and Attrition, Portuguese Economic Journal, 2002, 1: 117-139)• Stringent assumptions about the process• Model based on probability of being present in each wave of the panel

• We return to these in discussion of applications of ordered choice models

Page 5: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed and Random Effects• Model: Feature of interest yit

• Probability distribution or conditional mean• Observable covariates xit, zi

• Individual specific heterogeneity, ui

• Probability or mean, f(xit,zi,ui)

• Random effects: E[ui|xi1,…,xiT,zi] = 0

• Fixed effects: E[ui|xi1,…,xiT,zi] = g(Xi,zi).

• The difference relates to how ui relates to the observable covariates.

Page 6: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed and Random Effects in Regression

• yit = ai + b’xit + eit

• Random effects: Two step FGLS. First step is OLS• Fixed effects: OLS based on group mean differences

• How do we proceed for a binary choice model?• yit* = ai + b’xit + eit

• yit = 1 if yit* > 0, 0 otherwise.

• Neither ols nor two step FGLS works (even approximately) if the model is nonlinear.• Models are fit by maximum likelihood, not OLS or GLS• New complications arise that are absent in the linear case.

Page 7: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed vs. Random Effects Linear Models• Fixed Effects

• Robust to both cases• Use OLS• Convenient

• Random Effects• Inconsistent in FE case:

effects correlated with X• Use FGLS: No necessary

distributional assumption• Smaller number of

parameters• Inconvenient to compute

Nonlinear Models• Fixed Effects

• Usually inconsistent because of ‘IP’ problem

• Fit by full ML• Complicated

• Random Effects• Inconsistent in FE case :

effects correlated with X• Use full ML: Distributional

assumption• Smaller number of

parameters• Always inconvenient to

compute

Page 8: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Binary Choice Model

• Model is Prob(yit = 1|xit) (zi is embedded in xit)

• In the presence of heterogeneity,

Prob(yit = 1|xit,ui) = F(xit,ui)

Page 9: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Panel Data Binary Choice Models

Random utility model for binary choice

Uit = + ’xit + it + Person i specific effect

Fixed effects using “dummy” variables

Uit = i + ’xit + it

Random effects using omitted heterogeneity

Uit = + ’xit + it + ui

Same outcome mechanism: yit = 1[Uit > 0]

Page 10: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Ignoring Unobserved Heterogeneity(Random Effects)

it

it

it

it it

x

x β

x β

x β x δ

i it

it i it

it it i it

2it it u

Assuming strict exogeneity; Cov( ,u ) 0

y *= u

Prob[y 1| x ] Prob[u - ]

Using the same model format:

Prob[y 1| x ] F / 1+ F( )

This is the 'population averaged model.'

Page 11: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Ignoring Heterogeneity in the RE Model

Ignoring heterogeneity, we estimate not .

Partial effects are f( ) not f( )

is underestimated, but f( ) is overestimated.

Which way does it go? Maybe ignoring u is ok?

Not if we want

it it

it

δ β

δ x δ β x β

β x β

to compute probabilities or do

statistical inference about Estimated standard

errors will be too small.

β.

Page 12: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Ignoring Heterogeneity (Broadly)

• Presence will generally make parameter estimates look smaller than they would otherwise.

• Ignoring heterogeneity will definitely distort standard errors.

• Partial effects based on the parametric model may not be affected very much.

• Is the pooled estimator ‘robust?’ Less so than in the linear model case.

Page 13: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Effect of Clustering

• yit must be correlated with yis across periods• Pooled estimator ignores correlation• Broadly, yit = E[yit|xit] + wit,

• E[yit|xit] = Prob(yit = 1|xit)• wit is correlated across periods

• Ignoring the correlation across periods generally leads to underestimating standard errors.

Page 14: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

‘Cluster’ Corrected Covariance Matrix

1

the number if clusters

number of observations in cluster c

= negative inverse of second derivatives matrix

= derivative of log density for observation

c

ic

C

n

H

g

Page 15: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Cluster Correction: Doctor----------------------------------------------------------------------Binomial Probit ModelDependent variable DOCTORLog likelihood function -17457.21899--------+-------------------------------------------------------------Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] Mean of X--------+------------------------------------------------------------- | Conventional Standard ErrorsConstant| -.25597*** .05481 -4.670 .0000 AGE| .01469*** .00071 20.686 .0000 43.5257 EDUC| -.01523*** .00355 -4.289 .0000 11.3206 HHNINC| -.10914** .04569 -2.389 .0169 .35208 FEMALE| .35209*** .01598 22.027 .0000 .47877--------+------------------------------------------------------------- | Corrected Standard ErrorsConstant| -.25597*** .07744 -3.305 .0009 AGE| .01469*** .00098 15.065 .0000 43.5257 EDUC| -.01523*** .00504 -3.023 .0025 11.3206 HHNINC| -.10914* .05645 -1.933 .0532 .35208 FEMALE| .35209*** .02290 15.372 .0000 .47877--------+-------------------------------------------------------------

Page 16: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Modeling a Binary Outcome

• Did firm i produce a product or process innovation in year t ? yit : 1=Yes/0=No

• Observed N=1270 firms for T=5 years, 1984-1988• Observed covariates: xit = Industry, competitive pressures,

size, productivity, etc.• How to model?

• Binary outcome• Correlation across time• A “Panel Probit Model”

Convenient Estimators for the Panel Probit Model, I. Bertshcek and M. Lechner, Journal of Econometrics, 1998

Page 17: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Application: Innovation

Page 18: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world
Page 19: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world
Page 20: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

A Random Effects Model

i

i

it i

i

1 2 ,1

u + , u ~ [0, ], ~ [0,1]

T = observations on individual i

For each period, y 1[U 0] (given u )

Joint probability for T observations is

Prob( , ,...) F( )

For

U

i

it i it u it

it

T

i i it it i

i

t

t N N

y y y u

x

x

i u

1 , u1

1

convenience, write u = , ~ [0,1]

log | ,... log F( )

It is not possible to maximize log | ,... because of

the unobserved random effects.

i

i i

TN

N it it ii i t

N

v v N

L v v y v

L v v

x

Page 21: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

A Computable Log Likelihood

1 1

u

log log F( , )

Maximize this function

The unobserved heterogeneity is ave

with respect to , ,

ra

.

How to compute the integral?

(1) Analytically? No, no formu

ged out

iTN

it it u i i ii tL y v f v dv

x

la exists.

(2) Approximately, using Gauss-Hermite quadrature

(3) Approximately using Monte Carlo simulation

Page 22: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Quadrature – Butler and Moffitt

iT

it it u it 1

N

ii 1

N

ii 1

i

2

Th

F(y , v )

g(v)

v

1 -vexp

22

log

is method is used in most commerical software sin

L log dv

= log dv

(make a change of variable to w = v/

ce

2

198

=

2

x

N

ii 1

N H

i 1 h

2

h

h

h

h 1

1 l

g( 2 )

The

og dw

The inte

values of

exp -

(w

gral can be computed using Her

eights) and (nodes) are f

mite quadr

ound in pu

ature.

1 log

blished

tables suc

g( 2w)

h as

w

A

w z

zw

bramovitz and Stegun (or on the web). H is by

choice. Higher H produces greater accuracy (but takes longer).

Page 23: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

32 point weights: Use same weight for + and -

nodes: Use + and -

Page 24: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Quadrature Log Likelihood

iT

it it

N H

h ht 1HQ i 1 h 1

After all the substitutions and taking out the irrelevant constant

1/ , the function to be maximized i

F(y , z )

s:

logL log

w

x

u

Not simple, but feasible. Programmed in many

packa

2

ges.

9 Point Hermite QuadratureWeights

Nodes

Page 25: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Simulation

iT

it it u it 1

i

N

ii 1

N

ii 1

N

i 1

i

i

i

i

2

logL log dv

= log dv

T ]

The expected value of the functi

his equals log

F(y , v )

g(v )

on of v can be approxim

v

-v1

ated

e

b

xp22

y dr

g(

aw

v )[

E

ing

x

iTN R

S it it u iri 1 r 1 t 1

ir

ir

R random draws v from the population N[0,

1logL log F(y , v )

RSame a

1] and

averaging the R fun

s quadrature: weights = 1

ctions of v . We maxi

/R, nodes = random d

miz

s

e

raw

x

.

Page 26: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Random Effects Model: Quadrature

----------------------------------------------------------------------Random Effects Binary Probit ModelDependent variable DOCTORLog likelihood function -16290.72192 Random EffectsRestricted log likelihood -17701.08500 PooledChi squared [ 1 d.f.] 2820.72616Significance level .00000McFadden Pseudo R-squared .0796766Estimation based on N = 27326, K = 5Unbalanced panel has 7293 individuals--------+-------------------------------------------------------------Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] Mean of X--------+-------------------------------------------------------------Constant| -.11819 .09280 -1.273 .2028 AGE| .02232*** .00123 18.145 .0000 43.5257 EDUC| -.03307*** .00627 -5.276 .0000 11.3206 INCOME| .00660 .06587 .100 .9202 .35208 Rho| .44990*** .01020 44.101 .0000--------+------------------------------------------------------------- |Pooled Estimates using the Butler and Moffitt methodConstant| .02159 .05307 .407 .6842 AGE| .01532*** .00071 21.695 .0000 43.5257 EDUC| -.02793*** .00348 -8.023 .0000 11.3206 INCOME| -.10204** .04544 -2.246 .0247 .35208--------+-------------------------------------------------------------

Page 27: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Random Effects Model: Simulation----------------------------------------------------------------------Random Coefficients Probit ModelDependent variable DOCTOR (Quadrature Based)

Log likelihood function -16296.68110 (-16290.72192) Restricted log likelihood -17701.08500Chi squared [ 1 d.f.] 2808.80780Simulation based on 50 Halton draws--------+-------------------------------------------------Variable| Coefficient Standard Error b/St.Er. P[|Z|>z]--------+------------------------------------------------- |Nonrandom parameters AGE| .02226*** .00081 27.365 .0000 ( .02232) EDUC| -.03285*** .00391 -8.407 .0000 (-.03307) HHNINC| .00673 .05105 .132 .8952 ( .00660) |Means for random parametersConstant| -.11873** .05950 -1.995 .0460 (-.11819) |Scale parameters for dists. of random parametersConstant| .90453*** .01128 80.180 .0000--------+-------------------------------------------------------------

Using quadrature, a = -.11819. Implied from these estimates is.904542/(1+.904532) = .449998 compared to .44990 using quadrature.

Page 28: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed Effects Models

• Uit = i + ’xit + it

• For the linear model, i and (easily) estimated separately using least squares

• For most nonlinear models, it is not possible to condition out the fixed effects. (Mean deviations does not work.)

• Even when it is possible to estimate without i, in order to compute partial effects, predictions, or anything else interesting, some kind of estimate of i is still needed.

Page 29: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed Effects Models• Estimate with dummy variable coefficients

Uit = i + ’xit + it

• Can be done by “brute force” even for 10,000s of individuals

• F(.) = appropriate probability for the observed outcome• Compute and i for i=1,…,N (may be large)

1 1log log ( , )iN T

it i iti tL F y

x

Page 30: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Unconditional Estimation

• Maximize the whole log likelihood

• Difficult! Many (thousands) of parameters.

• Feasible – NLOGIT (2001) (‘Brute force’)(One approach is just to create the thousands of dummy variables – Stata, SAS. (Bad things happen if N is large).)

Page 31: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed Effects Health ModelGroups in which yit always = 0 or always = 1. Cannot compute αi.

Page 32: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Conditional Estimation

• Principle: f(yi1,yi2,… | some statistic) is free of the fixed effects for some models.

• Maximize the conditional log likelihood, given the statistic.

• Can estimate β without having to estimate αi.• Only feasible for the logit model. (Poisson

and a few other continuous variable models. No other discrete choice models.)

Page 33: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Binary Logit Conditional Probabiities

i

i

1 1 2 2

1 1

1

T

S1 1

All

Prob( 1| ) .1

Prob , , ,

exp exp

exp exp

i it

i it

i i

i i

i i

t i

i

t i

it it

i i i i iT iT

T T

it it it itt t

T T

it it it i

T

itt

td St t

ey

e

Y y Y y Y y

y

d d

y

y

x

xx

x x

x x

β

β

i

t i

different

iT

it t=1 i

ways that

can equal S

Denominator is summed over all the different combinations of T valuesof y that sum to the same sum as the observed . If S is this sum,

there are

it

it

d

yT

i

terms. May be a huge number. An algorithm by KrailoS

and Pike makes it simple.

Page 34: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Example: Two Period Binary Logit

i it

i it

i

i

i i i

t it i

it it

T

it itTt 1

i1 i1 i2 i2 iT iT it Tt 1

it itd St 1

2

i1 i2 itt 1

i1 i

eProb(y 1| ) .

1 e

exp y

Prob Y y , Y y , , Y y y ,data .

exp d

Prob Y 0, Y 0 y 0,data 1.

Prob Y 1, Y

x β

x β

x

x

x

2

2 itt 12

i1 i2 itt 12

i1 i2 itt 1

exp( )0 y 1,data

exp( ) exp( )exp( )

Prob Y 0, Y 1 y 1,data exp( ) exp( )

Prob Y 1, Y 1 y 2,data 1.

i1

i1 i2

i2

i1 i2

x βx β x β

x βx β x β

Page 35: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Example: Three Period Binary Logit

Page 36: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Estimating Partial Effects

“The fixed effects logit estimator of immediately gives us the effect of each element of xi on the log-odds ratio… Unfortunately, we cannot estimate the partial effects… unless we plug in a value for αi. Because the distribution of αi is unrestricted – in particular, E[αi] is not necessarily zero – it is hard to know what to plug in for αi. In addition, we cannot estimate average partial effects, as doing so would require finding E[Λ(xit + αi)], a task that apparently requires specifying a distribution for αi.”

(Wooldridge, 2010)

Page 37: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Binary Logit Estimation• Estimate by maximizing conditional logL• Estimate i by using the ‘known’ in the FOC for the unconditional

logL

• Solve for the N constants, one at a time treating as known.• No solution when yit sums to 0 or Ti, E.g., Ti0 = tPit.

• “Works” if E[i|Σiyit] = E[i].

• Use the average of the estimates of i for E[i]. Works if the cases of Σiyit = 0 or Σiyit = T occur completely at random.

• Use this average to compute predictions and partial effects.

1

ˆexp( )ˆ( ) 0, ˆ1 exp( )

iT i itit it itt

i it

y P P

x

x

Page 38: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Logit Constant Terms

ii

i

i

ˆT i it

i ˆt 1i i i i

Step 1. Estimate with Chamberlain's conditional estimator

Step 2. Treating as if it were known, estimate from the

first order condition

c1 e e 1y

T T 1 c1 e e

it

it

x β

x β

β

β

i iT T itt 1 t 1

t i i it

i i i i

it

i

i

c1T c

Estimate 1/ exp( ) log

ˆc exp( ) is treated as known data.

Solve one equation in one unknown for each .

Note there is no solution if y = 0 or 1.

Iterating bac

itx β

k and forth does not maximize logL.

Page 39: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed Effects Logit Health Model: Conditional vs. Unconditional

Page 40: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Advantages and Disadvantages

of the FE Model• Advantages

• Allows correlation of effect and regressors• Fairly straightforward to estimate• Simple to interpret

• Disadvantages• Model may not contain time invariant variables• Not necessarily simple to estimate if very large

samples• The incidental parameters problem: Small T bias

Page 41: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Incidental Parameters Problems: Conventional Wisdom

• General: The unconditional MLE is biased in samples with fixed T except in special cases such as linear or Poisson regression (even when the FEM is the right model). The conditional estimator (that bypasses

estimation of αi) is consistent.

• Specific: Upward bias (experience with probit and logit) in estimators of . Exactly 100% when T = 2. Declines as T increases.

Page 42: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

A Monte Carlo Study of the FE Estimator: Probit vs. Logit

Estimates of Coefficients and Marginal Effects at the Implied Data Means

Results are scaled so the desired quantity being estimated (, , marginal effects) all equal 1.0 in the population.

Page 43: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Bias Correction Estimators• Motivation: Undo the incidental parameters bias in the

fixed effects probit model:• (1) Maximize a penalized log likelihood function, or• (2) Directly correct the estimator of β

• Advantages• For (1) estimates αi so enables partial effects• Estimator is consistent under some circumstances• (Possibly) corrects in dynamic models

• Disadvantage• No time invariant variables in the model• Practical implementation• Extension to other models? (Ordered probit model (maybe) –

see JBES 2009)

Page 44: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

A Mundlak Correction for the FE Model“Correlated Random Effects”

*it i

it it

i

y ,i = 1,...,N; t = 1,...,T

y 1 if y > 0, 0 otherwise.

(Projection, not necessarily conditional mean)

w

i it it

i iu

Fixed Effects Model :

x

Mundlak (Wooldridge, Heckman, Chamberlain), ...

x

u 1 2

*it

here u is normally distributed with mean zero and standard

deviation and is uncorrelated with or ( , ,..., )

y ,i = 1,...,N; t = 1,..

i i i iT

i it it iu

x x x x

Reduced form random effects model

x x i

it it

.,T

y 1 if y > 0, 0 otherwise.

Page 45: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Mundlak Correction

Page 46: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

A Variable Addition Test for FE vs. RE

The Wald statistic of 45.27922 and the likelihood ratio statistic of 40.280 are both far larger than the critical chi squared with 5 degrees of freedom, 11.07. This suggests that for these data, the fixed effects model is the preferred framework.

Page 47: 4. Binary Choice –Panel Data. Panel Data Models Unbalanced Panels GSOEP Group Sizes Most theoretical results are for balanced panels. Most real world

Fixed Effects Models Summary

• Incidental parameters problem if T < 10 (roughly)• Inconvenience of computation• Appealing specification• Alternative semiparametric estimators?

• Theory not well developed for T > 2• Not informative for anything but slopes (e.g.,

predictions and marginal effects)• Ignoring the heterogeneity definitely produces an

inconsistent estimator (even with cluster correction!)• Mundlak correction is a useful common approach.

(Many recent applications)