12. Random Parameters Logit Models. Random Parameters Model Allow model parameters as well as constants to be random Allow multiple observations with.

Slides:



Advertisements
Similar presentations
Discrete Choice Modeling William Greene Stern School of Business New York University.
Advertisements

3. Binary Choice – Inference. Hypothesis Testing in Binary Choice Models.
Discrete Choice Modeling William Greene Stern School of Business New York University.
[Part 1] 1/15 Discrete Choice Modeling Econometric Methodology Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Error Component models Ric Scarpa Prepared for the Choice Modelling Workshop 1st and 2nd of May Brisbane Powerhouse, New Farm Brisbane.
Discrete Choice Models William Greene Stern School of Business New York University.
Part 12: Random Parameters [ 1/46] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Modeling Heterogeneity in Discrete Choice: Recent Developments and Contrasts with Bayesian Estimation William Greene Department of Economics Stern School.
Part 23: Simulation Based Estimation 23-1/26 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
15. Stated Preference Experiments. Panel Data Repeated Choice Situations Typically RP/SP constructions (experimental) Accommodating “panel data” Multinomial.
Discrete Choice Modeling William Greene Stern School of Business New York University.
10. Multinomial Choice. A Microeconomics Platform Consumers Maximize Utility (!!!) Fundamental Choice Problem: Maximize U(x 1,x 2,…) subject to prices.
Discrete Choice Modeling William Greene Stern School of Business New York University.
[Part 15] 1/24 Discrete Choice Modeling Aggregate Share Data - BLP Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Microeconometric Modeling
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2013 William Greene Department of Economics Stern School.
Econometric Analysis of Panel Data
[Part 9] 1/79 Discrete Choice Modeling Modeling Heterogeneity Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
1/54: Topic 5.1 – Modeling Stated Preference Data Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA.
Discrete Choice Modeling William Greene Stern School of Business New York University Lab Sessions.
Part 24: Stated Choice [1/117] Econometric Analysis of Panel Data William Greene Department of Economics Stern School of Business.
Discrete Choice Modeling
Discrete Choice Modeling William Greene Stern School of Business New York University.
14. Scaling and Heteroscedasticity. Using Degenerate Branches to Reveal Scaling Travel Fly Rail Air CarTrain Bus LIMB BRANCH TWIG DriveGrndPblc.
Microeconometric Modeling
1/30: Topic 4.1 – Nested Logit and Multinomial Probit Models Microeconometric Modeling William Greene Stern School of Business New York University New.
[Part 7] 1/96 Discrete Choice Modeling Multinomial Choice Models Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1/68: Topic 4.2 – Latent Class Models Microeconometric Modeling William Greene Stern School of Business New York University New York NY USA William Greene.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Discrete Choice Modeling William Greene Stern School of Business New York University.
11. Nested Logit Models. Extended Formulation of the MNL Groups of similar alternatives Compound Utility: U(Alt)=U(Alt|Branch)+U(branch) Behavioral implications.
[Part 15] 1/24 Discrete Choice Modeling Aggregate Share Data - BLP Discrete Choice Modeling William Greene Stern School of Business New York University.
[Part 8] 1/26 Discrete Choice Modeling Nested Logit Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1/30: Topic 4.1 – Nested Logit and Multinomial Probit Models Microeconometric Modeling William Greene Stern School of Business New York University New.
[Part 2] 1/86 Discrete Choice Modeling Binary Choice Models Discrete Choice Modeling William Greene Stern School of Business New York University 0Introduction.
Discrete Choice Modeling William Greene Stern School of Business New York University.
1/122: Topic 3.3 – Discrete Choice; The Multinomial Logit Model Microeconometric Modeling William Greene Stern School of Business New York University New.
Discrete Choice Modeling William Greene Stern School of Business New York University.
Microeconometric Modeling
William Greene Stern School of Business New York University
Linear Mixed Models in JMP Pro
Discrete Choice Modeling
William Greene Stern School of Business New York University
Econometric Analysis of Panel Data
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
Discrete Choice Modeling
Microeconometric Modeling
Econometrics Chengyuan Yin School of Mathematics.
Microeconometric Modeling
Microeconometric Modeling
Econometric Analysis of Panel Data
William Greene Stern School of Business New York University
Microeconometric Modeling
William Greene Stern School of Business New York University
Microeconometric Modeling
Multivariate Methods Berlin Chen
Multivariate Methods Berlin Chen, 2005 References:
Microeconometric Modeling
Econometric Analysis of Panel Data
Empirical Methods for Microeconomic Applications University of Lugano, Switzerland May 27-31, 2019 William Greene Department of Economics Stern School.
William Greene Stern School of Business New York University
Microeconometric Modeling
Presentation transcript:

12. Random Parameters Logit Models

Random Parameters Model Allow model parameters as well as constants to be random Allow multiple observations with persistent effects Allow a hierarchical structure for parameters – not completely random U itj =  1 ’x i1tj +  2i ’x i2tj +  z it +  ijt Random parameters in multinomial logit model  1 = nonrandom (fixed) parameters  2i = random parameters that may vary across individuals and across time Maintain I.I.D. assumption for  ijt (given  )

Continuous Random Variation in Preference Weights

The Random Parameters Logit Model Multiple choice situations: Independent conditioned on the individual specific parameters

Modeling Variations Parameter specification “Nonrandom” – variance = 0 Correlation across parameters – random parts correlated Fixed mean – not to be estimated. Free variance Fixed range – mean estimated, triangular from 0 to 2  Hierarchical structure -  ik =  k +  k ’h i Stochastic specification Normal, uniform, triangular (tent) distributions Strictly positive – lognormal parameters (e.g., on income) Autoregressive: v(i,t,k) = u(i,t,k) + r(k)v(i,t-1,k) [this picks up time effects in multiple choice situations, e.g., fatigue.]

Estimating the Model Denote by  1 all “fixed” parameters Denote by  2i all random and hierarchical parameters

Estimating the RPL Model Estimation:  1  2it =  2 + Δh i + Γv i,t Uncorrelated: Γ is diagonal Autocorrelated: v i,t = Rv i,t-1 + u i,t (1) Estimate “structural parameters” (2) Estimate individual specific utility parameters (3) Estimate elasticities, etc.

Model Extensions AR(1): w i,k,t = ρ k w i,k,t-1 + v i,k,t Dynamic effects in the model Restricting sign – lognormal distribution: Restricting Range and Sign: Using triangular distribution and range = 0 to 2 . Heteroscedasticity and heterogeneity

Application: Shoe Brand Choice S imulated Data: Stated Choice, 400 respondents, 8 choice situations, 3,200 observations 3 choice/attributes + NONE Fashion = High / Low Quality = High / Low Price = 25/50/75,100 coded 1,2,3,4 H eterogeneity: Sex (Male=1), Age (<25, 25-39, 40+) U nderlying data generated by a 3 class latent class process (100, 200, 100 in classes)

Stated Choice Experiment: Unlabeled Alternatives, One Observation t=1 t=2 t=3 t=4 t=5 t=6 t=7 t=8

Error Components Logit Modeling Alternative approach to building cross choice correlation Common ‘effects.’ W i is a ‘random individual effect.’

Implied Covariance Matrix Nested Logit Formulation

Error Components Logit Model Correlation = { / [ ]} 1/2 = Error Components (Random Effects) model Dependent variable CHOICE Log likelihood function Estimation based on N = 3200, K = 5 Response data are given as ind. choices Replications for simulated probs. = 50 Halton sequences used for simulations ECM model with panel has 400 groups Fixed number of obsrvs./group= 8 Number of obs.= 3200, skipped 0 obs Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] |Nonrandom parameters in utility functions FASH| *** QUAL| *** PRICE| *** ASC4| SigmaE01|.09585*** Random Effects Logit Model Appearance of Latent Random Effects in Utilities Alternative E | BRAND1 | * | | BRAND2 | * | | BRAND3 | * | | NONE | |

Extended MNL Model Utility Functions

Extending the Basic MNL Model Random Utility

Error Components Logit Model Error Components

Random Parameters Model

Heterogeneous (in the Means) Random Parameters Model

Heterogeneity in Both Means and Variances

Random Parms/Error Comps. Logit Model Dependent variable CHOICE Log likelihood function ( for MNL) Restricted log likelihood (Chi squared = 278.5) Chi squared [ 12 d.f.] Significance level McFadden Pseudo R-squared Estimation based on N = 3200, K = 12 Information Criteria: Normalization=1/N Normalized Unnormalized AIC Fin.Smpl.AIC Bayes IC Hannan Quinn R2=1-LogL/LogL* Log-L fncn R-sqrd R2Adj No coefficients Constants only At start values Response data are given as ind. choices Replications for simulated probs. = 50 Halton sequences used for simulations RPL model with panel has 400 groups Fixed number of obsrvs./group= 8 Hessian is not PD. Using BHHH estimator Number of obs.= 3200, skipped 0 obs

Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] |Random parameters in utility functions FASH|.62768*** PRICE| *** |Nonrandom parameters in utility functions QUAL| *** ASC4| |Heterogeneity in mean, Parameter:Variable FASH:AGE| *** FAS0:AGE|.71872*** PRIC:AGE| *** PRI0:AGE| *** |Distns. of RPs. Std.Devs or limits of triangular NsFASH|.88760*** NsPRICE| |Heterogeneity in standard deviations |(cF1, cF2, cP1, cP2 omitted...) |Standard deviations of latent random effects SigmaE01| SigmaE02|.51260** Note: ***, **, * = Significance at 1%, 5%, 10% level Random Effects Logit Model Appearance of Latent Random Effects in Utilities Alternative E01 E | BRAND1 | * | | | BRAND2 | * | | | BRAND3 | * | | | NONE | | * | Heterogeneity in Means. Delta: 2 rows, 2 cols. AGE25 AGE39 FASH PRICE Estimated RP/ECL Model

Estimated Elasticities | Elasticity averaged over observations.| | Attribute is PRICE in choice BRAND1 | | Effects on probabilities of all choices in model: | | * = Direct Elasticity effect of the attribute. | | Mean St.Dev | | * Choice=BRAND | | Choice=BRAND | | Choice=BRAND | | Choice=NONE | | Attribute is PRICE in choice BRAND2 | | Choice=BRAND | | * Choice=BRAND | | Choice=BRAND | | Choice=NONE | | Attribute is PRICE in choice BRAND3 | | Choice=BRAND | | Choice=BRAND | | * Choice=BRAND | | Choice=NONE | | Effects on probabilities | | * = Direct effect te. | | Mean St.Dev | | PRICE in choice BRAND1 | | * BRAND | | BRAND | | BRAND | | NONE | | PRICE in choice BRAND2 | | BRAND | | * BRAND | | BRAND | | NONE | | PRICE in choice BRAND3 | | BRAND | | BRAND | | * BRAND | | NONE | Multinomial Logit

Estimating Individual Distributions Form posterior estimates of E[  i |data i ] Use the same methodology to estimate E[  i 2 |data i ] and Var[  i |data i ] Plot individual “confidence intervals” (assuming near normality) Sample from the distribution and plot kernel density estimates

What is the ‘Individual Estimate?’ Point estimate of mean, variance and range of random variable  i | data i. Value is NOT an estimate of  i ; it is an estimate of E[  i | data i ] This would be the best estimate of the actual realization  i |data i An interval estimate would account for the sampling ‘variation’ in the estimator of Ω. Bayesian counterpart to the preceding: Posterior mean and variance. Same kind of plot could be done.

Individual E[  i |data i ] Estimates* The random parameters model is uncovering the latent class feature of the data. *The intervals could be made wider to account for the sampling variability of the underlying (classical) parameter estimators.

WTP Application (Value of Time Saved) Estimating Willingness to Pay for Increments to an Attribute in a Discrete Choice Model Random

Extending the RP Model to WTP U se the model to estimate conditional distributions for any function of parameters W illingness to pay = -  i,time /  i,cost U se simulation method

Sumulation of WTP from  i

Extension: Generalized Mixed Logit Model

Extension: Estimation in Willingness to Pay Space Both parameters in the WTP calculation are random.

Appendix: Classical Estimation Platform - The Likelihood Expected value over all possible realizations of  i (according to the estimated asymptotic distribution). I.e., over all possible samples.

Simulation Based Estimation Choice probability = P[data |  (  1,  2,Δ,Γ,R,h i,v i,t )] Need to integrate out the unobserved random term E{P[data |  (  1,  2,Δ,Γ,R,h i,v i,t )]} = P[…|v i,t ]f(v i,t )dv i,t Integration is done by simulation Draw values of v and compute  then probabilities Average many draws Maximize the sum of the logs of the averages (See Train[Cambridge, 2003] on simulation methods.)

Maximum Simulated Likelihood T rue log likelihood S imulated log likelihood