24 August 2022 0 607 Report

I have a crash data set, where each row represents a crash event with multiple attributes (e.g. driver age, driver intoxicated or not, curved road or not, number of vehicles). There are several examples of the application of the mixed logit model in online sources. One such example can be found here; https://cran.r-project.org/web/packages/mlogit/vignettes/c5.mxl.html#:~:text=A mixed logit model or,of the population into account. However, some of the variables of the data set in the aforementioned example is not making sense to me. And, I am unable to customize my data set for the application of the mixed logit model. I have given a screenshot of my data set. Also, currently, i can work only in the R studio. Thanks in advance.

Similar questions and discussions