Mixed Multinomial Logit with heterogeneity in means and variances
Posted: 06 Jun 2020, 13:32
I am rather new to choice modeling and Apollo. Trying to run a mixed multinomial logit model with heterogeneity in means and variances on a large sample of vehicle crash data. I can estimate the model with NLogit, but it runs very slowly (I gave up after it ran for 48 hours on a fast AWS cluster). Apollo's multi-threading capability could make this task more practical, given that we need to compare results from dozens of specifications. However, I cannot find reference to mean/variance heterogeneity in the random parameters model in the Apollo documentation.
Is it possible to run such a model in Apollo? If so, can someone please boost me up the learning curve?
For those familiar with NLogit, the following code is a reduced form of what we want to achieve in Apollo:
RPLOGIT;
LHS=DAMAGE;
CHOICES = C1, C2, C3;
MODEL:
U(C1)= C1*ONE + C1*X1 + C1*X2 /
U(C2) = C2*X3 + C2*X4 + C2*X5 +C2*X6 /
U(C3)= C3*ONE + C3*X7 + C3*X8 + C3*X9 + C3*X10 + C3*X11 ;
PTS=1000; HALTON;
RPL = X2, X5;
HFR = X2, X5, X6;
FCN = X12(N|#11!111), X13(N|#11!010), X14(N|#11!010) $
The LHS "choices" (C1, C2, C3) are levels of damage to vehicles and the independent variables (X1-X14) are mostly 0/1 dummies describing the crash and contributing factors (e.g. head on collision, driver age, type of vehicle, speeding). Hence, the independent variables are not choice-specific.
A paper that estimates a similar model is Seraneeprakarn, P., Huang, S., Shankar, V., Mannering, F., Venkataraman, N., Milton, J., 2017. Occupant injury severities in hybrid-vehicle involved crashes: A random parameters approach with heterogeneity in means and variances. Analytic Methods in Accident Research 15, 41-55. Available from
https://www.dropbox.com/s/am3v78i8q4tpy ... e.pdf?dl=0
Thank you.
Is it possible to run such a model in Apollo? If so, can someone please boost me up the learning curve?
For those familiar with NLogit, the following code is a reduced form of what we want to achieve in Apollo:
RPLOGIT;
LHS=DAMAGE;
CHOICES = C1, C2, C3;
MODEL:
U(C1)= C1*ONE + C1*X1 + C1*X2 /
U(C2) = C2*X3 + C2*X4 + C2*X5 +C2*X6 /
U(C3)= C3*ONE + C3*X7 + C3*X8 + C3*X9 + C3*X10 + C3*X11 ;
PTS=1000; HALTON;
RPL = X2, X5;
HFR = X2, X5, X6;
FCN = X12(N|#11!111), X13(N|#11!010), X14(N|#11!010) $
The LHS "choices" (C1, C2, C3) are levels of damage to vehicles and the independent variables (X1-X14) are mostly 0/1 dummies describing the crash and contributing factors (e.g. head on collision, driver age, type of vehicle, speeding). Hence, the independent variables are not choice-specific.
A paper that estimates a similar model is Seraneeprakarn, P., Huang, S., Shankar, V., Mannering, F., Venkataraman, N., Milton, J., 2017. Occupant injury severities in hybrid-vehicle involved crashes: A random parameters approach with heterogeneity in means and variances. Analytic Methods in Accident Research 15, 41-55. Available from
https://www.dropbox.com/s/am3v78i8q4tpy ... e.pdf?dl=0
Thank you.