I'm interested to develop a mixed logit model for crash injury severity. My response variable is "injury severity" that is categorical with 3 levels (i.e. minor injury, serious injury, fatality). There are various explanatory variables but I would list few of them. Land use (urban, rural), lighting (day, evening, night), vehicle type (passenger car, light truck, heavy truck), speed limit, driver age, and vehicle age are the explanatory variables. "Land use", "lighting" and "vehicle type" are also categorical. There are more than 2000 observations.
I would be really grateful if I may be provided with the code for mixed logit model in STATA and how te create a dataset for a mixed logit severity model
Thank you.
Related Posts with Mixed logit models
R-squared rockets when adding a categorical vairable in the Random Effect modelDear readers of Statalist, I have an unbalanced panel data of companies in a country and their corr…
Macro expansion in a while loopI'm having a little trouble with macro expansion inside a while loop. As a toy example, the followin…
contrast doesn't workHello everybody, I tried to use contrast in order to see if I should use some categorical variables…
convert excels files to .dta filesHello, I need to convert some excel files to .dta files. I used the following command: xls2dta, sa…
Time and country random effectsHello everyone! I am working with panel data consisting of 9 countries over the period of 2000-2017…
Subscribe to:
Post Comments (Atom)
0 Response to Mixed logit models
Post a Comment