Hi,
I'm using mlogit to model a McFadden type multinomial logit model for choice of mode of travel. I have two different questions.
1- How can I define a nested multinomial logit model with mlogit or any other module?
2- I'm interested to understand how the model deals with the choice sets. in order to make mlogit to work, I need to add a row for each possible option. However in this case I'm trying to model mode choice for different trip purposes for activity based decision schemes. This will for instant mean that if you leave your home toward work using your bicycle, your choice set for next trip, say work to gym can not include private car as it won't be available. I can in that case either let the variables for the private car dedicates option remain empty or somehow define a dummy, informing the model that the car option will not be available.
wHat I wonder is if I do so (leave the non-available option row empty, whether mlogit or any other module will consider the specific person or will it like in the case of regression modelling, exclude the person totally?
Related Posts with mlogit discrete choice and non-available options
Matrix raised to a certain powerHi all, I am new to mata and have a question related to matrix manipulation in MATA. I have: A = (…
How to get fiited value of trade with ppmlhdfe?Hello, I have a model like this: ppmlhdfe v.d. v.i., absorb (orig_year dest_year) cluster (origin d…
Separating string variables with asterisk into two wordsHi, I have variable x1. I am trying to create x2 and x3 as given in the dataex. I used Code: split…
Create an identification variable for a panel dataset based on opening and closing values across yearsHi all, I am trying to identify factories across different years of a survey by matching their open…
simplify generate codes with loops always possible?I am using the following codes. would it be possible for me to simplify these and make them shorter.…
Subscribe to:
Post Comments (Atom)
0 Response to mlogit discrete choice and non-available options
Post a Comment