I am a new in using the Stata software and dealing with a mode choice experiment having three different alternatives of transport modes with three different attributes of cost, frequency, and time in order to select the most suitable mode based on the given variables. I use the following function in the command:
asclogit Chosen Cost Freq Time, case(Observation) alternatives(Alternative)
and I get a note that is saying: variable Freq has 152 cases that are not alternative-specific: there is no within-case variability
It will be highly appreciated if can someone helps with this issue.
Hamad
Related Posts with mode choice experiment
Fixed effects model - comparing the coefficients of two different regressionsDear All, I used a fixed effect regression model through the following equations to evaluate the im…
Command "do" does not work although working directory is specifiedDear Statalist Users, I am trying to run multiple do files in a row by using the command "do" (file…
Dividing variables across time periodsHi Statalister, I have a problem in which I cannot solve, I tried a number of things and I have tri…
Dummy variable based on 3 continuous year panel dataHi, I want to generate dummy2=1 if dummy1 is continuous (equal 1) for the 3 next years period. Any…
Margins at() following cmxtmixlogit / cmclogit?Hi all, long time reader first time poster here. I am using StataSE 16.1 on MacOS 11.2.3. I'm analyz…
Subscribe to:
Post Comments (Atom)
0 Response to mode choice experiment
Post a Comment