Discrete Choice Models William Greene Stern School of Business New York University.

Slides:



Advertisements
Similar presentations
Discrete Choice Modeling William Greene Stern School of Business IFS at UCL February 11-13, 2004
Advertisements

Discrete Choice Modeling William Greene Stern School of Business New York University.
3. Binary Choice – Inference. Hypothesis Testing in Binary Choice Models.
Discrete Choice Modeling William Greene Stern School of Business New York University.
12. Random Parameters Logit Models. Random Parameters Model Allow model parameters as well as constants to be random Allow multiple observations with.
Part 24: Bayesian Estimation 24-1/35 Econometrics I Professor William Greene Stern School of Business Department of Economics.
Error Component models Ric Scarpa Prepared for the Choice Modelling Workshop 1st and 2nd of May Brisbane Powerhouse, New Farm Brisbane.
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.
Discrete Choice Models 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 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
Discrete Choice Modeling
William Greene Stern School of Business New York University
Econometric Analysis of Panel Data
Discrete Choice Modeling
Microeconometric Modeling
Microeconometric Modeling
Microeconometric Modeling
William Greene Stern School of Business New York University
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
Microeconometric Modeling
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:

Discrete Choice Models William Greene Stern School of Business New York University

Part 14 Mixed 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 +  i ’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

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 -  i =  +  (k)’z 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 in the model Denote by  2i,t all random and hierarchical parameters in the model

Estimating the RPL Model Estimation:  1  2it =  2 + Δz 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.

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,v i,t )]  Need to integrate out the unobserved random term  E{P[data | ( 1, 2,Δ,Γ,R,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

Customers’ Choice of Energy Supplier  California, Stated Preference Survey  361 customers presented with 8-12 choice situations each  Supplier attributes: Fixed price: cents per kWh Length of contract Local utility Well-known company Time-of-day rates (11¢ in day, 5¢ at night) Seasonal rates (10¢ in summer, 8¢ in winter, 6¢ in spring/fall)

Population Distributions  Normal for: Contract length Local utility Well-known company  Log-normal for: Time-of-day rates Seasonal rates  Price coefficient held fixed

Estimated Model Estimate Std error Estimate Std error Price Contract mean std dev std dev Local mean std dev std dev Known mean std dev std dev TOD mean* std dev* std dev* Seasonal mean* std dev* std dev* *Parameters of underlying normal.

Distribution of Brand Value Brand value of local utility Standard deviation 10% dislike local utility 02.5¢ =2.0¢

0-0.24¢ 2.5 ¢ Contract Length Mean: -.24 Standard Deviation:.55 Local Utility Mean: 2.5 Standard Deviation: 2.0 Well known company Mean 1.8 Standard Deviation: % 10 % 5% 1.8 ¢ 0 0

Time of Day Rates (Customers do not like.) Time-of-day Rates Seasonal Rates

Expected Preferences of Each Customer Customer likes long-term contract, local utility, and non- fixed rates. Local utility can retain and make profit from this customer by offering a long-term contract with time-of-day or seasonal rates.

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

Estimating Individual Parameters  Model estimates = structural parameters, α, β, ρ, Δ, Σ, Γ  Objective, a model of individual specific parameters, β i  Can individual specific parameters be estimated? Not quite – β i is a single realization of a random process; one random draw. We estimate E[β i | all information about i] (This is also true of Bayesian treatments, despite claims to the contrary.)

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

Posterior Estimation of  i Estimate by simulation

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, Age (<25, 25-39, 40+)  U nderlying data generated by a 3 class latent class process (100, 200, 100 in classes)  T hanks to (Latent Gold)

Error Components Logit Modeling  Alternative approach to building cross choice correlation  Common “effects”

Implied Covariance Matrix

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 | |

Extending the 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| |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

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.

What is the ‘Individual Estimate?’  P oint estimate of mean, variance and range of random variable  i | data i.  V alue is NOT an estimate of  i ; it is an estimate of E[  i | data i ]  T his would be the best estimate of the actual realization  i |data i  A n interval estimate would account for the sampling ‘variation’ in the estimator of Ω.  B ayesian counterpart to the preceding: Posterior mean and variance. Same kind of plot could be done.

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

Stated Choice Experiment: Travel Mode by Sydney Commuters

Would You Use a New Mode?

Value of Travel Time Saved

Caveats About Simulation  Using MSL Number of draws Intelligent vs. random draws  Estimating WTP Ratios of normally distributed estimates Excessive range  Constraining the ranges of parameters Lognormal vs. Normal or something else Distributions of parameters (uniform, triangular, etc.

Generalized Mixed Logit Model

Generalized Multinomial Choice Model

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

Estimated Model for WTP Variable| Coefficient Standard Error b/St.Er. P[|Z|>z] |Random parameters in utility functions QUAL| *** renormalized PRICE| (Fixed Parameter) renormalized |Nonrandom parameters in utility functions FASH| *** not rescaled ASC4|.84364*** not rescaled |Heterogeneity in mean, Parameter:Variable QUAL:AGE| interaction terms QUA0:AGE| PRIC:AGE| PRI0:AGE| |Diagonal values in Cholesky matrix, L. NsQUAL|.13234*** correlated parameters CsPRICE| (Fixed Parameter) but coefficient is fixed |Below diagonal values in L matrix. V = L*Lt PRIC:QUA| (Fixed Parameter) |Heteroscedasticity in GMX scale factor sdMALE| heteroscedasticity |Variance parameter tau in GMX scale parameter TauScale| *** overall scaling, tau |Weighting parameter gamma in GMX model GammaMXL| (Fixed Parameter) |Coefficient on PRICE in WTP space form Beta0WTP| *** new price coefficient S_b0_WTP| standard deviation | Sample Mean Sample Std.Dev. Sigma(i)| overall scaling |Standard deviations of parameter distributions sdQUAL|.13234*** sdPRICE| (Fixed Parameter)