I'm trying to deal with the package mlogit in R to build up a transportation-mode choice model. I searched similar problems but I've not found anything.
I have a set of 3 alternatives (walk, auto, transit) in a logit model, with alternative specific variables (same parameters for different alternatives) and individual alternative specific variables (ex: 0(if no)/1(if yes) home-destination trip, just for walk mode).
I'd like to have an intercept in only one of the alternatives (auto), but I'm not able to do this. Using reflevel, that refers to only one of the alternatives, I get two intercepts.
ml.data <- mlogit(choice ~ t + cost | dhome, mode, reflevel = "transit")
This is not working as I wish.
Moreover, I'd like to set the alternative specific variables as I said before. Insert them in part 2 of mlogit formula takes me two parameter values, but I'd like to have just one parameter, for the mentioned alternative.
Could anyone help me?