Best professor,
Below is the code I use for my choice experiment. I have a few questions:
1) I want to include a variable for BIKE and PE, called "access_BIKE_WAT" and this variable should have a fixed value of 3. How to code this? The variable is only for this alternative of BIKE. PE also should have a similar variable "access_PE_WAT.
2) For a few variables I have defined a zero prior, since it cannot be found in literature. I see that when including priors and also having more widen attribute levels, this has influence on the S-estimate, the nr of respondents. Do you have to meet the nr of respondents (S-estimate) indicated in NGENE to have statistically significant estimates?
3) Not for every alternative I have costs, but every alternative do have travel times. How are trade-offs usually being made in such situations, by the analist?
4) In the code below I have the D-efficient design defined. I wonder when you can add the "alg = mfederov" command? When I added this and I saw that the evaluation is much faster and the d-error gets much lower compared to when this command is not defined.
5) Is the code fine?
design
;alts = PE, BTM, BIKE, WALKING
;rows = 12
;eff = (mnl, d)
;model:
? PE = Private e-scooter, BTM = Bus, Tram, metro, BIKE = Bicycle, WALKING = walking
? for WALKING, the asc is removed, because this is the reference alternative
U (PE) = asc1[0]
+ a1[(n,-0.03,0.15)] * access_PE_TT[4,8,12] ? TT = travel time
+ a2[(n,-0.09,0.15)] * egress_PE_TT[4,8,12]
+ a3[0].dummy[0|0]* com_PE[1,2,0] ? com = comfort in train, 1 = stored 0 = holding
/
U(BTM)= asc2[0]
+ b1[-0.11] * access_BTM_WKT[2,4,6]
+ b2[-0.084] * access_BTM_TT[3,6,9]
+ b3[-0.073] * access_BTM_WAT[3,6,9]
+ b4[-0.207] * access_BTM_TC[1, 2, 3] ? TC = travel cost
/
U(BIKE)= asc3[0]
+ c1[-0.095] * access_BIKE_TT[4,8,12]
+ c2[-0.069] * access_BIKE_PST[1,3,5]
+ c3[-0.073] * access_BIKE_WAT[3]
/
U(WALKING)= d1[-0.095] * access_W_TT[11,15,19]
$