Top Banner
Part 18: Ordered Outcomes [1 /88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business
88

Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [1/88]

Econometric Analysis of Panel Data

William Greene

Department of Economics

Stern School of Business

Page 2: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [2/88]

Econometric Analysis of Panel Data

18. Ordered Outcomes and Interval Censoring

Page 3: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [3/88]

Ordered Discrete Outcomes

E.g.: Taste test, credit rating, course grade, preference scale

Underlying random preferences: Existence of an underlying continuous preference scale Mapping to observed choices

Strength of preferences is reflected in the discrete outcome

Censoring and discrete measurement The nature of ordered data

Page 4: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [4/88]

Ordered Preferences at IMDB.com

Page 5: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [5/88]

Health Satisfaction (HSAT)Self administered survey: Health Care Satisfaction? (0 – 10)

Continuous Preference Scale

Page 6: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [6/88]

Modeling Ordered Choices Random Utility (allowing a panel data setting)

Uit = + ’xit + it

= ait + it

Observe outcome j if utility is in region j Probability of outcome = probability of cell

Pr[Yit=j] = F(j – ait) - F(j-1 – ait)

Page 7: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [7/88]

Ordered Probability Model

1

1 2

2 3

J-1 J

j-1

y* , we assume contains a constant term

y 0 if y* 0

y = 1 if 0 < y*

y = 2 if < y*

y = 3 if < y*

...

y = J if < y*

In general: y = j if < y*

βx x

j

-1 o J j-1 j,

, j = 0,1,...,J

, 0, , j = 1,...,J

Page 8: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [8/88]

Combined Outcomes for Health Satisfaction

Page 9: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [9/88]

Ordered Probabilities

j-1 j

j-1 j

j j 1

j j 1

j j 1

Prob[y=j]=Prob[ y* ]

= Prob[ ]

= Prob[ ] Prob[ ]

= Prob[ ] Prob[ ]

= F[ ] F[ ]

where F[ ] i

βx

βx βx

βx βx

βx βx

s the CDF of .

Page 10: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [10/88]

Page 11: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [11/88]

Coefficients

j 1 j kk

What are the coefficients in the ordered probit model?

There is no conditional mean function.

Prob[y=j| ] [f( ) f( )]

x

Magnitude depends on the scale factor and the coeff

xβ'x β'x

icient.

Sign depends on the densities at the two points!

What does it mean that a coefficient is "significant?"

Page 12: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [12/88]

Partial Effects in the Ordered Choice ModelAssume the βk is positive.

Assume that xk increases.

β’x increases. μj- β’x shifts to the left for all 5 cells.

Prob[y=0] decreases

Prob[y=1] decreases – the mass shifted out is larger than the mass shifted in.

Prob[y=3] increases – same reason in reverse.

Prob[y=4] must increase.

When βk > 0, increase in xk decreases Prob[y=0] and increases Prob[y=J]. Intermediate cells are ambiguous, but there is only one sign change in the marginal effects from 0 to 1 to … to J

Page 13: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [13/88]

Partial Effects of 8 Years of Education

Page 14: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [14/88]

An Ordered Probability Model for Health Satisfaction

+---------------------------------------------+| Ordered Probability Model || Dependent variable HSAT || Number of observations 27326 || Underlying probabilities based on Normal || Cell frequencies for outcomes || Y Count Freq Y Count Freq Y Count Freq || 0 447 .016 1 255 .009 2 642 .023 || 3 1173 .042 4 1390 .050 5 4233 .154 || 6 2530 .092 7 4231 .154 8 6172 .225 || 9 3061 .112 10 3192 .116 |+---------------------------------------------++---------+--------------+----------------+--------+---------+----------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|+---------+--------------+----------------+--------+---------+----------+ Index function for probability Constant 2.61335825 .04658496 56.099 .0000 FEMALE -.05840486 .01259442 -4.637 .0000 .47877479 EDUC .03390552 .00284332 11.925 .0000 11.3206310 AGE -.01997327 .00059487 -33.576 .0000 43.5256898 HHNINC .25914964 .03631951 7.135 .0000 .35208362 HHKIDS .06314906 .01350176 4.677 .0000 .40273000 Threshold parameters for index Mu(1) .19352076 .01002714 19.300 .0000 Mu(2) .49955053 .01087525 45.935 .0000 Mu(3) .83593441 .00990420 84.402 .0000 Mu(4) 1.10524187 .00908506 121.655 .0000 Mu(5) 1.66256620 .00801113 207.532 .0000 Mu(6) 1.92729096 .00774122 248.965 .0000 Mu(7) 2.33879408 .00777041 300.987 .0000 Mu(8) 2.99432165 .00851090 351.822 .0000 Mu(9) 3.45366015 .01017554 339.408 .0000

Page 15: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [15/88]

Ordered Probability Partial Effects+----------------------------------------------------+| Marginal effects for ordered probability model || M.E.s for dummy variables are Pr[y|x=1]-Pr[y|x=0] || Names for dummy variables are marked by *. |+----------------------------------------------------++---------+--------------+----------------+--------+---------+----------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|+---------+--------------+----------------+--------+---------+----------+ These are the effects on Prob[Y=00] at means. *FEMALE .00200414 .00043473 4.610 .0000 .47877479 EDUC -.00115962 .986135D-04 -11.759 .0000 11.3206310 AGE .00068311 .224205D-04 30.468 .0000 43.5256898 HHNINC -.00886328 .00124869 -7.098 .0000 .35208362 *HHKIDS -.00213193 .00045119 -4.725 .0000 .40273000 These are the effects on Prob[Y=01] at means. *FEMALE .00101533 .00021973 4.621 .0000 .47877479 EDUC -.00058810 .496973D-04 -11.834 .0000 11.3206310 AGE .00034644 .108937D-04 31.802 .0000 43.5256898 HHNINC -.00449505 .00063180 -7.115 .0000 .35208362 *HHKIDS -.00108460 .00022994 -4.717 .0000 .40273000 ... repeated for all 11 outcomes These are the effects on Prob[Y=10] at means. *FEMALE -.01082419 .00233746 -4.631 .0000 .47877479 EDUC .00629289 .00053706 11.717 .0000 11.3206310 AGE -.00370705 .00012547 -29.545 .0000 43.5256898 HHNINC .04809836 .00678434 7.090 .0000 .35208362 *HHKIDS .01181070 .00255177 4.628 .0000 .40273000

Page 16: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [16/88]

Ordered Probit Marginal Effects

Page 17: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [17/88]

Analysis of Model Implications

Partial Effects Fit Measures Predicted Probabilities

Averaged: They match sample proportions. By observation Segments of the sample Related to particular variables

Page 18: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [18/88]

Predictions from the Model Related to Age

Page 19: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [19/88]

Fit Measures There is no single “dependent variable” to

explain. There is no sum of squares or other

measure of “variation” to explain. Predictions of the model relate to a set of

J+1 probabilities, not a single variable. How to explain fit?

Based on the underlying regression Based on the likelihood function Based on prediction of the outcome variable

Page 20: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [20/88]

Log Likelihood Based Fit Measures

Page 21: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [21/88]

Page 22: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [22/88]

A Somewhat Better Fit

Page 23: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [23/88]

Different Normalizations

NLOGIT Y = 0,1,…,J, U* = α + β’x + ε One overall constant term, α J-1 “cutpoints;” μ-1 = -∞, μ0 = 0, μ1,… μJ-1, μJ = + ∞

Stata Y = 1,…,J+1, U* = β’x + ε No overall constant, α=0 J “cutpoints;” μ0 = -∞, μ1,… μJ, μJ+1 = + ∞

Page 24: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [24/88]

α̂

ˆjμ

Page 25: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [25/88]

ˆ α

ˆˆ jμ α

Page 26: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [26/88]

Interval Censored Data

Page 27: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [27/88]

Interval Censored Data

it it it

0it it

0 1it it

1 2it it

J 1 J 1it it

J 1it it

j

y *

y 0 if y * a

y 1 if a < y * a

y 2 if a < y * a

...

y J 1 if a < y * a

y J if y * a

a are known censoring thresholds

x

Page 28: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [28/88]

Income Data

Page 29: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [29/88]

Interval Censored Income Data

0 - .15 .15-.25 .25-.30 .30-.35 .35-.40 .40+ 0 1 2 3 4 5How do these differ from the health satisfaction

data?

Page 30: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [30/88]

Interval Censored Data

it it it

00 it

it it it

1 00 1 it it

it it it

j j 1j 1 j it it

it it it

y * x

a xy 0 if y * a ;Prob[y 0]

a x a xy 1 if a < y * a ;Prob[y 1]

a x a xy j if a < y * a ;Prob[y 1]

Page 31: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [31/88]

Interval Censored Data Model+---------------------------------------------+| Limited Dependent Variable Model - CENSORED || Dependent variable INCNTRVL || Iterations completed 10 || Akaike IC=15285.458 Bayes IC=15317.663 || Finite sample corrected AIC =15285.471 || Censoring Thresholds for the 6 cells: || Lower Upper Lower Upper || 1 ******* .15 2 .15 .25 || 3 .25 .30 4 .30 .35 || 5 .35 .40 6 .40 ******* |+---------------------------------------------++---------+--------------+----------------+--------+---------+----------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|+---------+--------------+----------------+--------+---------+----------+ Primary Index Equation for Model Constant .09855610 .01405518 7.012 .0000 AGE -.00117933 .00016720 -7.053 .0000 46.7491906 EDUC .01728507 .00092143 18.759 .0000 10.9669624 MARRIED .09317316 .00441004 21.128 .0000 .75458666 Sigma .11819820 .00169166 69.871 .0000

OLS Standard error of e = .1558463 Constant .07968461 .01698076 4.693 .0000 AGE -.00105530 .00020911 -5.047 .0000 46.7491906 EDUC .02096821 .00108429 19.338 .0000 10.9669624 MARRIED .09198074 .00540896 17.005 .0000 .75458666

Page 32: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [32/88]

The Interval Censored Data Model

What are the marginal effects?

How do you predict the dependent variable?

Does the model fit the “data?”

Page 33: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [33/88]

Ordered Choice Model Extensions

Page 34: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [34/88]

Generalizing the Ordered Probit with Heterogeneous Thresholds

i

-1 0 j j-1 J

ij j

Index =

Threshold parameters

Standard model : μ = - , μ = 0, μ >μ > 0, μ = +

Preference scale and thresholds are homogeneous

A generalized model (Pudney and Shields, JAE, 2000)

μ = α +

β x

j i

ik i

ij i j ik ik

Note the identification problem. If z is also in x (same variable)

then μ - = α + γz -βz +... No longer clear if the variable

is in or (or both)

γ z

β x

x z

Page 35: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [35/88]

Generalized Ordered Probit-1

it it it

it it i

Pudney, S. and M. Shields, "Gender, Race Pay and Promotion in

the British Nursing Profession," J . Applied Ec'trix, 15/4, July 2000.

Ordered Probit Kernel

y * x

y 0 if y * 0; Prob[y

t it

it it 1 it 1 it it

it 1 it 2 it 2 it 1 it

it it J 1 it J 1 it

0] [-x ]

y 1 if 0 < y * ; Prob[y 1] = [ -x ]- [-x ]

y 2 if < y * Prob[y 2] = [ -x ]- [ -x ]

...

y J if y * Prob[y J] 1- [ -x ]

ij i j

it i j it j i j 1 it j 1

Heterogeneous Thresholds and Latent Regression

z

Prob[y j] = [z -x ( )]- [z -x ( )]

Problems:

(1) Coefficients on variables in both Z and X are unid

j j 1

entified

(2) How do you make sure that is positive?

Y=Grade (rank)

Z=Sex, Race

X=Experience, Education, Training, History, Marital Status, Age

Page 36: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [36/88]

Generalized Ordered Probit-2

it it it

it it it it

it it 1 it 1 it it

it 1 it 2 it 2 it 1 it

it it

y * x

y 0 if y * 0; Prob[y 0] [-x ]

y 1 if 0 < y * ; Prob[y 1] = [ -x ]- [-x ]

y 2 if < y * Prob[y 2] = [ -x ]- [ -x ]

...

y J if y *

J 1 it J 1 it

ij j i

Prob[y J] 1- [ -x ]

exp( z )

Page 37: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [37/88]

A G.O.P Model

+---------+--------------+----------------+--------+---------+----------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|+---------+--------------+----------------+--------+---------+----------+ Index function for probability Constant 1.73737318 .13231824 13.130 .0000 AGE -.01458121 .00141601 -10.297 .0000 46.7491906 LOGINC .17724352 .03275857 5.411 .0000 -1.23143358 EDUC .03897560 .00780436 4.994 .0000 10.9669624 MARRIED .09391821 .03761091 2.497 .0125 .75458666 Estimates of t(j) in mu(j)=exp[t(j)+d*z] Theta(1) -1.28275309 .06080268 -21.097 .0000 Theta(2) -.26918032 .03193086 -8.430 .0000 Theta(3) .36377472 .02109406 17.245 .0000 Theta(4) .85818206 .01656304 51.813 .0000 Threshold covariates mu(j)=exp[t(j)+d*z] FEMALE .00987976 .01802816 .548 .5837

How do we interpret the result for FEMALE?

Page 38: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [38/88]

Hierarchical Ordered Probit

i

-1 0 j j-1 J

Index =

Threshold parameters

Standard model : μ = - , μ = 0, μ >μ > 0, μ = +

Preference scale and thresholds are homogeneous

A generalized model (Harris and Zhao (2000), NLOGIT (2007))

β x

]

],

ij j j i

ij j i j j-1 j

μ = exp[α +

An internally consistent restricted modification

μ = exp[α + α α + exp(θ )

γ z

γ z

Page 39: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [39/88]

Ordered Choice Model

Page 40: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [40/88]

HOPit Model

Page 41: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [41/88]

Differential Item Functioning

Page 42: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [42/88]

Page 43: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [43/88]

A Vignette Random Effects Model

Page 44: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [44/88]

Vignettes

Page 45: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [45/88]

Page 46: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [46/88]

Page 47: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [47/88]

Page 48: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [48/88]

A Sample Selection Model

Page 49: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [49/88]

Zero Inflated Ordered Probit

it it it it it

it it

it it

p * =z u , p = 1[p * 0] (PROBIT Model)

Nonparticipants (p 0) always report y 0.

Participants (p 1) report y 0,1,2,...J (Ordered)

Behavioral Regime (Latent Class) = "Participation"

Consum

it it it

it it it it

it it 1 it 1 it it

it 1 it 2 it 2 it

y * x

y 0 if y * 0; Prob[y 0] [-x ]

y 1 if 0 < y * ; Prob[y 1] = [ -x ]- [-x ]

y 2 if < y * Prob[y 2] = [ -x ]-

er Behavior (Ordered Outcome)

1 it

it it J 1 it J 1 it

it it it it it

it it it

[ -x ]

...

y J if y * Prob[y J] 1- [ -x ]

Prob[y =0] =Prob[p =0]+Prob[p =1]Prob[y =0|p =1]

Prob[y =j>0]= Prob[p =1]Prob[y =j |p

Implied Probabilities

it=1]

Page 50: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [50/88]

Teenage Smoking

Harris, M. and Zhao, Z., "Modelling Tobacco Consumption with a Zero

Inflated Ordered Probit Model," (Monash University - under review,

Journal of Econometrics, 2005)

"How often do you currently smoke cigarettes, pipes or other tobacco

products in the last 12 months?"

0 = Not at all (76%)

1 = Less frequently than weekly (4%)

2 = Daily, less than 20/day (13.8%)

3 = Daily, more than 20/day (6.2%)

Splitting Equation: Young & Female, Log(Age), Male, married, Working,

Unemployed, English speaking, ...

Smoking Equation: Prices of alcohol, marijuana, tobacco, Age, Sex,

Married, English speaking, ...

Page 51: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [51/88]

A Bivariate Latent Class Correlated Generalised Ordered

Probit Model with an Application to Modelling Observed Obesity Levels

William GreeneStern School of Business, New York University

With Mark Harris, Bruce Hollingsworth, Pushkar Maitra Monash University

Stern Economics Working Paper 08-18.

http://w4.stern.nyu.edu/emplibrary/ObesityLCGOPpaperReSTAT.pdf

Forthcoming, Economics Letters, 2014

Page 52: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [52/88]

Obesity

The International Obesity Taskforce (http://www.iotf.org) calls obesity one of the most important medical and public health problems of our time.

Defined as a condition of excess body fat; associated with a large number of debilitating and life-threatening disorders

Health experts argue that given an individual’s height, their weight should lie within a certain range Most common measure = Body Mass Index (BMI): Weight (Kg)/height(Meters)2

WHO guidelines: BMI < 18.5 are underweight 18.5 < BMI < 25 are normal 25 < BMI < 30 are overweight BMI > 30 are obese

Around 300 million people worldwide are obese, a figure likely to rise

Page 53: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [53/88]

Models for BMI

Simple Regression Approach Based on Actual BMI:BMI* = ′x + , ~ N[0,2]

No accommodation of heterogeneity Rigid measurement by the guidelinesInterval Censored Regression Approach

WT = 0 if BMI* < 25 Normal 1 if 25 < BMI* < 30

Overweight 2 if BMI* > 30 Obese

Inadequate accommodation of heterogeneityInflexible reliance on WHO classification

Page 54: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [54/88]

An Ordered Probit Approach

A Latent Regression Model for “True BMI”BMI* = ′x + , ~ N[0,σ2], σ2 = 1

“True BMI” = a proxy for weight is unobserved

Observation Mechanism for Weight TypeWT = 0 if BMI* < 0 Normal

1 if 0 < BMI* < Overweight

2 if BMI* > Obese

Page 55: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [55/88]

A Basic Ordered Probit Model

Prob( 0 | ) Prob( * 0)

Prob( 0)

( )

Prob( 1| ) Prob(0 * )

Prob( ) Prob( 0)

i i

i i

i

i i

i i i i

WT BMI

WT BMI

x

x

x

x

x x

( ) ( )

Prob( 2 | ) Prob( * )

Prob( )

1 Prob( )

1 ( )

i i

i i

i i

i i

i

WT BMI

x x

x

x

x

x

Page 56: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [56/88]

Latent Class Modeling

Irrespective of observed weight category, individuals can be thought of being in one of several ‘types’ or ‘classes. e.g. an obese individual may be so due to genetic reasons or due to lifestyle factors

These distinct sets of individuals likely to have differing reactions to various policy tools and/or characteristics

The observer does not know from the data which class an individual is in.

Suggests use of a latent class approach Growing use in explaining health outcomes (Deb and

Trivedi, 2002, and Bago d’Uva, 2005)

Page 57: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [57/88]

A Latent Class Model

For modeling purposes, class membership is distributed with a discrete distribution,

 Prob(individual i is a member of class = c) = ic = c

 Prob(WTi = j | xi) = Σc Prob(WTi = j | xi,class = c)Prob(class = c).

Page 58: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [58/88]

Probabilities in the Latent Class Model

, 1,Prob( = | )

There are two classes labeled c = 0 and c = 1.

i i c j c c i j c c icWT j

x x x

1, ,

Prob( = | ) i i

c j c c i j c c i cci

WT j

xx x

x

Page 59: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [59/88]

Class Assignment

1

1

Probit Model for Class Membership

Prob(Class = 1 | )

( )

Prob(Class = 0 | ) 1-

1 ( )

i i i

i

i i i

i

w

w

w

w

( )

Prob(Class = | ) [(2 1) ]i

i i ic c

w

w w

Class membership may relate to demographics such as age and sex.

Page 60: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [60/88]

Generalized Ordered Probit – Latent Classes and Variable Thresholds

,

,

,

Basic Ordered Choice Model

Prob( 0 | , ) ( )

Prob( 1| , ) ( ) ( )

Prob( 2 | , ) 1 ( )

Heterogeneity in Threshold Parameter

exp(

i c i

i i c c i c i

i i c c i

i c c

WT class c

WT class c

WT class c

x x

x x x

x x

)c iz

Page 61: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [61/88]

Data

US National Health Interview Survey (2005); conducted by the National Centre for Health Statistics

Information on self-reported height and weight levels, BMI levels

Demographic information Remove those underweight Split sample (30,000+) by gender

Page 62: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [62/88]

Model Components

x: determines observed weight levels within classes For observed weight levels we use lifestyle factors such as

marital status and exercise levels z: determines latent classes For latent class determination we use genetic proxies such

as age, gender and ethnicity: the things we can’t change

w: determines position of boundary parameters within classes

For the boundary parameters we have: weight-training intensity and age (BMI inappropriate for the aged?) pregnancy (small numbers and length of term unknown)

Page 63: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [63/88]

Correlation Between Classes and Regression

Outcome Model (BMI*|class = c) = c′x + c, c ~ N[0,1] WT|class=c = 0 if BMI*|class = c < 0

1 if 0 < BMI*|class = c < c

2 if BMI*|class = c > c.

Threshold|class = c: c = exp(c + γc′r)  Class Assignment

c* = ′w + u, u ~ N[0,1]. c = 0 if c* < 0 1 if c* > 0.  Endogenous Class Assignment (c,u) ~ N2[(0,0),(1,c,1)]

Page 64: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [64/88]

Panel Data Models

Page 65: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [65/88]

Fixed Effects in Ordered Probit FEM is feasible, but still has the IP problem:

The model does not allow time invariant variables. (True for all FE models.)

+---------------------------------------------+| FIXED EFFECTS OrdPrb Model for HSAT || Probability model based on Normal || Unbalanced panel has 7293 individuals. || Bypassed 1626 groups with inestimable a(i). || Ordered probit (normal) model || LHS variable = values 0,1,...,10 |+---------------------------------------------++--------+--------------+----------------+--------+--------+----------+|Variable| Coefficient | Standard Error |b/St.Er.|P[|Z|>z]| Mean of X|+--------+--------------+----------------+--------+--------+----------+---------+Index function for probability AGE | -.07112929 .00272163 -26.135 .0000 43.9209856 HHNINC | .30440707 .06911872 4.404 .0000 .35112607 HHKIDS | -.05314566 .02759325 -1.926 .0541 .40921377 MU(1) | .32488357 .02036536 15.953 .0000 MU(2) | .84482743 .02736195 30.876 .0000 MU(3) | 1.39401405 .03002759 46.424 .0000 MU(4) | 1.82295281 .03102039 58.766 .0000 MU(5) | 2.69905015 .03228035 83.613 .0000 MU(6) | 3.12710938 .03273985 95.514 .0000 MU(7) | 3.79215121 .03344945 113.370 .0000 MU(8) | 4.84337386 .03489854 138.784 .0000 MU(9) | 5.57234230 .03629839 153.515 .0000

Page 66: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [66/88]

Incidental Parameters Problem

Table 9.1 Monte Carlo Analysis of the Bias of the MLE in Fixed Effects Discrete Choice Models (Means of empirical sampling distributions, N = 1,000 individuals, R = 200 replications)

Page 67: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [67/88]

Solution to IP in Ordered Choice Model

i,t i,ti,t i,t i,t d ,i i,t i d 1,i i,j,t i

i,j,t i,

Fixed effects with individual specific thresholds

Prob[y d | ] [ ] [ ]

This can be transformed into J-1 binary choice models:

Prob[y k | x

ordered logit

x x x

i,tt i,t i d ,i i,t i] [ ] [ ]

(The individual specific thresholds part is meaningless.)

The resulting model is a fixed effects logit model.

(1) Use the "Chamberlain" fixed effects estimator to est

x x

i,t

imate .

(2) This provides multiple estimators of If y k, then it is

also k-1. E.g., suppose J=5. If Y=3, then Y is greater than or

equal to 0, 1, 2 and 3.

(3) How to reconcile the multiple est

imates of Use MDE after

estimating them.

Page 68: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [68/88]

Two Studies

Ferrer-i-Carbonell, A. and Frijters, P., “How Important is Methodogy for the Estimates of the Determinants of Happiness?” Working paper, University of Amsterdam, 2004.

Das, M. and van Soest, A., “A Panel Data Model for Subjective Information in Household Income Growth,” Journal of Economic Behavior and Organization, 40, 1999, 409-426.

Page 69: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [69/88]

Omitted Heterogeneity in the Ordered Probability Model

it it i it

it 1 it 2

it it i it j it i it j 1

j it j 1 it

2 2u u

y * x u

y j if < y *

Prob[y j] Prob[x u ]-Prob[x u ]

-x -x = -

1 1

Ignoring the heterogeneity produces esti

j it j 1 itit

2 2 2it u u u

mates of the

scaled coefficients and threshold parameters.

Marginal Effects are

-x -xProb[y j]= -

x 1 1 1

Does the scaling erase the bias due to ign

oring the heterogeneity?

Page 70: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [70/88]

Random Effects Ordered Probit

+---------------------------------------------+| Random Effects Ordered Probability Model || Log likelihood function -7350.039 || Number of parameters 10 || Akaike IC=14720.078 Bayes IC=14784.488 || Log likelihood function -7570.099 || Number of parameters 9 || Akaike IC=15158.197 Bayes IC=15216.166 || Chi squared 440.1194 || Degrees of freedom 1 || Prob[ChiSqd > value] = .0000000 || Underlying probabilities based on Normal || Unbalanced panel has 2721 individuals. |+---------------------------------------------+

Log Likelihood function rises by 220.

AIC falls by a lot.

Page 71: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [71/88]

Random Effects Ordered Probit+---------+--------------+----------------+--------+---------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] |+---------+--------------+----------------+--------+---------+ Index function for probability Constant 2.30977026 .19358195 11.932 .0000 AGE -.01871746 .00209003 -8.956 .0000 LOGINC .18063717 .04447407 4.062 .0000 EDUC .05189883 .01138694 4.558 .0000 MARRIED .16934087 .05625235 3.010 .0026 Threshold parameters for index model Mu(01) .37231012 .02099440 17.734 .0000 Mu(02) 1.02152648 .02996734 34.088 .0000 Mu(03) 1.90942649 .03834274 49.799 .0000 Mu(04) 3.13364227 .05394482 58.090 .0000 Std. Deviation of random effect Sigma .86357820 .03459713 24.961 .0000+---------+--------------+----------------+--------+--------+ Index function for probability Constant 1.73092403 .13201381 13.112 .0000 AGE -.01459464 .00141680 -10.301 .0000 LOGINC .17731072 .03283610 5.400 .0000 EDUC .03956549 .00760040 5.206 .0000 MARRIED .09513703 .03850569 2.471 .0135 Threshold parameters for index Mu(1) .27875355 .01454454 19.166 .0000 Mu(2) .76803748 .01708019 44.967 .0000 Mu(3) 1.44624995 .01794090 80.612 .0000 Mu(4) 2.37085047 .02336295 101.479 .0000

Page 72: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [72/88]

RE Ordered Probit Fits Worse+---------------------------------------------------------------------------+| Cross tabulation of predictions. Row is actual, column is predicted. || Model = Probit . Prediction is number of the most probable cell. |+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+| Actual|Row Sum| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+| 0| 447| 0| 0| 0| 163| 284| 0|| 1| 255| 0| 0| 0| 77| 178| 0|| 2| 642| 0| 0| 0| 177| 465| 0|| 3| 1173| 0| 0| 0| 255| 918| 0|| 4| 1390| 0| 0| 0| 285| 1105| 0|| 5| 726| 0| 0| 0| 88| 638| 0| Random Effects Model+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+|Col Sum| 4633| 0| 0| 0| 1045| 3588| 0| 0| 0| 0| 0|+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+| 0| 447| 1| 0| 0| 135| 311| 0|| 1| 255| 0| 0| 0| 66| 189| 0|| 2| 642| 2| 0| 0| 141| 499| 0|| 3| 1173| 1| 0| 0| 212| 960| 0|| 4| 1390| 1| 0| 0| 217| 1172| 0|| 5| 726| 1| 0| 0| 68| 657| 0| Pooled Model+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+|Col Sum| 4633| 6| 0| 0| 839| 3788| 0| 0| 0| 0| 0|+-------+-------+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+

Page 73: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [73/88]+---------------------------------------------+| Random Coefficients OrdProbs Model || Log likelihood function -7399.789 || Number of parameters 14 || Akaike IC=14827.577 Bayes IC=14917.751 || LHS variable = values 0,1,..., 5 || Simulation based on 10 Halton draws |+---------------------------------------------++---------+--------------+----------------+--------+---------+----------+|Variable | Coefficient | Standard Error |b/St.Er.|P[|Z|>z] | Mean of X|+---------+--------------+----------------+--------+---------+----------+ Means for random parameters Constant 2.20558990 .09383245 23.506 .0000 AGE -.01777008 .00100651 -17.655 .0000 46.7491906 LOGINC .22137632 .02324751 9.523 .0000 -1.23143358 EDUC .04993003 .00533564 9.358 .0000 10.9669624 MARRIED .15204526 .02732037 5.565 .0000 .75458666 Scale parameters for dists. of random parameters Constant .73499851 .01269198 57.910 .0000 AGE .00450991 .00023099 19.524 .0000 LOGINC .18122682 .00982249 18.450 .0000 EDUC .00242171 .00098524 2.458 .0140 MARRIED .17686840 .01274872 13.873 .0000 Threshold parameters for probabilities MU(1) .35236133 .01417318 24.861 .0000 MU(2) .96740071 .01930160 50.120 .0000 MU(3) 1.81667039 .02269549 80.045 .0000 MU(4) 2.99534033 .02813426 106.466 .0000

Page 74: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [74/88]

A Dynamic Ordered Probit Model

Page 75: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [75/88]

Model for Self Assessed Health British Household Panel Survey (BHPS)

Waves 1-8, 1991-1998 Self assessed health on 0,1,2,3,4 scale Sociological and demographic covariates Dynamics – inertia in reporting of top scale

Dynamic ordered probit model Balanced panel – analyze dynamics Unbalanced panel – examine attrition

Page 76: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [76/88]

Data

Page 77: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [77/88]

Variable of Interest

Page 78: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [78/88]

Dynamic Ordered Probit Model

*, 1

, 1

, 1

Latent Regression - Random Utility

h = + + +

= relevant covariates and control variables

= 0/1 indicators of reported health status in previous period

H ( ) =

it it i t i it

it

i t

i t j

x H

x

H

*1

1[Individual i reported h in previous period], j=0,...,4

Ordered Choice Observation Mechanism

h = j if < h , j = 0,1,2,3,4

Ordered Probit Model - ~ N[0,1]

Random Effects with

it

it j it j

it

j

20 1 ,1 2

Mundlak Correction and Initial Conditions

= + + u , u ~ N[0, ]i i i i i H x

It would not be appropriate to include hi,t-1 itself in the model as this is a label, not a measure

Page 79: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [79/88]

Dynamics

Page 80: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [80/88]

Estimated Partial Effects by Model

Page 81: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [81/88]

Partial Effect for a Category

These are 4 dummy variables for state in the previous period. Using first differences, the 0.234 estimated for SAHEX means transition from EXCELLENT in the previous period to GOOD in the previous period, where GOOD is the omitted category. Likewise for the other 3 previous state variables. The margin from ‘POOR’ to ‘GOOD’ was not interesting in the paper. The better margin would have been from EXCELLENT to POOR, which would have (EX,POOR) change from (1,0) to (0,1).

Page 82: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [82/88]

Nested Random Effects Winkelmann, R., “Subjective Well Being and the

Family: Results from an Ordered Probit Model with Multiple Random Effects,” IZA Discussion Paper 1016, Bonn, 2004.

GSOEP, T=14 years 21,168 person-years 7,485 family-years 1,309 families Y=subjective well being (0 to 10) Age, Sex, Employment status, health, log income,

family size, time trend

Page 83: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [83/88]

Nested RE Ordered Probit

y*(i,t)=xi,t’β + aj (family) + ui,j (individual in family) + vi,j,t (unique factor)

Ordered probit formulation. Model is estimated by nested simulation

over uij in aj.

Page 84: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [84/88]

Log Likelihood for Nested Effects-1

i, j,t

j ij

i,j,t i,j,t j i, j d i,j,t j i,j d 1

Ordered Probit Model, based on normality

v is the disturbance in the model.

Conditioned on a and u the probability of the outcome is

Prob[y d | x ,a ,u ] [ a u ] [ x xi, j,t j i,j

i,j,t i,j,t j i, j

T

i,j i,j j i,j i,j,t i, j,t j i,jt 1

a u ]

f(d , ,a ,u )

For the individual observed T times, the joint probability is

Prob[ | ,a ,u ] f(d , ,a ,u )

The unco

x

y d X x

i, j

T

i,j i,j j i,j,t i,j,t j i, j i,j i, jt 1u

nditional probability for the individual is, then

Prob[ | ,a ] f(d , ,a ,u )h(u )du

y d X x

Page 85: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [85/88]

Log Likelihood for Nested Effects-2

T

i,j i,j i, j j i, j i,j,t i,j,t j i, jt 1

i,j i,j i, j j

For the individual observed T times, the joint probability is

Prob[ | ,a ,u ] f(d , ,a ,u )

The unconditional probability for the individual is, then

Prob[ | ,a ]

y d X x

y d Xi, j

j

T

i,j,t i,j,t j i,j i,j i,jt 1u

j

i,1 i,1 i,2 i,2 i,1 1 i,2 2

N

i,j,tj 1

f(d , ,a ,u )h(u )du

For the family with N members, the conditional probability is

Prob[ , ,... | ,a , ,a ,...]

f(d ,

x

y d y d X X

xi, j

j

j i, j

T

i,j,t j i,j i,j i,jt 1u

i,1 i,1 i,2 i,2 i,1 i,2

N T

i,j,t i,j,t j i,j i,j i,j j jj 1 t 1a u

,a ,u )h(u )du

The unconditional probability is

Prob[ , ,... | , ,...]

f(d , ,a ,u )h(u )du h(a )da

y d y d X X

x

Page 86: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [86/88]

Log Likelihood for Nested Effects-3

j

j

i,1 i,1 i,2 i,2 i,1 i,2

N

i,j,t i,j,t j i,j i,j i,jj 1 t 1a

For the individual observed T times, the joint probability is

The unconditional probability is

Prob[ , ,... | , ,...]

f(d , ,a ,u )h(u )du

y d y d X X

xi, j

j

j i, j

T

j ju

N

i,1 i,1 i,2 i,2 i,1 i,2i=1

N TN

i,j,t i,j,t j i,j i,j i,j j ji=1 j 1 t 1a u

h(a )da

The log likelihood is

logL= logProb[ , ,... | , ,...]

= log f(d , ,a ,u )h(u )du h(a )da

y d y d X X

x

Page 87: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [87/88]

Log Likelihood for Nested Effects-4

j

j i, j

i,j u i,j j a j

i,j j

N

i,1 i,1 i,2 i,2 i,1 i,2i=1

N

i=1

N

j 1v w

Transform normal variables to standardized form: u w ; a v

w and v are standard normal variables now.

logL= logProb[ , ,... | , ,...]

= log

y d y d X X

i, j,t

i, j,t

d i,j,t a j u i,jT

i,j i,j j jt 1d 1 i,j,t a j u i,j u a

[ v w ] 1 1h(w )dw h(v )dv

[ v w ]

Winkelmann evaluated this with nested Hermite quadratures. This is

somewha

x

x

t more complicated than necessary.

Page 88: Part 18: Ordered Outcomes [1/88] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.

Part 18: Ordered Outcomes [88/88]

Log Likelihood for Nested Effects-5

i, j,tj

j i, ji, j,t

d i,j,t a j u i,jN TN

i,j i,j j ji=1 j 1 t 1v wd 1 i,j,t a j u i,j u a

N

i=1

Integration is a summing operation that may be commuted;

[ v w ] 1 1 log h(w )dw h(v )dv

[ v w ]

1log

x

x

i, j,tj

j i, ji, j,t

d i,j,t a j u i,jN T

i,j j i,j jj 1 t 1v wd 1 i,j,t a j u i,ju a

N

i=1 mu a

[ v w ]1h(w )h(v )dw dv

[ v w ]

The integration may be replaced by summation of simulated draws:

1 1 1log

M

x

x

i, j,tj

i, j,t

d i,j,t a j,m u i,j,m,rN TM R

1 r 1 j 1 t 1d 1 i,j,t a j,m u i,j,m,r

[ v w ]1

[ v w ]R

Many draws - a lot of time - but not particularly complicated. Programming is

quite simple.

x

x