I am trying to develop mixed logit model for my data, my data is in the format shown in the image. I am getting errors while running the model like data format, alt name cannot be same as columns etc. in packages like xlogit in python and mlogit, apollo in R

My question is does one need to convert their data into the format shown even if RP data is available and only one specific choice out of few is for each individual.

If the data size is a bit large how does one convert this data to the formal using code.

Also, what happens in the case all my variable are categorical and there is no varing variables across each individual

More Shahiq Wani's questions See All
Similar questions and discussions