I am a PhD student at the University of Queensland, currently conducting a choice study on mode selection concerning micro-mobility. I also apply SurveyEngine as part of my survey design.
Here is my current script of Ngene design:
- Code: Select all
design
;alts = pmm, ptsmm, car
;rows = 48
;block = 8
;eff = (mnl, d)
;alg = mfederov
;bdraws = sobol(200)
;cond:
if(ptsmm.SMMTT=2, ptsmm.IVTT_2=0 and ptsmm.RC_2=0 and ptsmm.SMMTC=0),
if(ptsmm.SMMTT=4, ptsmm.IVTT_2=1 and ptsmm.RC_2=1 and ptsmm.SMMTC=1),
if(ptsmm.SMMTT=6, ptsmm.IVTT_2=2 and ptsmm.RC_2=2 and ptsmm.SMMTC=2),
if(ptsmm.SMMTT=8, ptsmm.IVTT_2=3 and ptsmm.RC_2=3 and ptsmm.SMMTC=3),
if(ptsmm.CL_2=0, ptsmm.IVTT_2=[0,1]),
if(ptsmm.CL_2=1, ptsmm.IVTT_2=[1,2]),
if(ptsmm.CL_2=2, ptsmm.IVTT_2=[2,3]),
if(car.CL_3=0, car.IVTT_3=[0,1]),
if(car.CL_3=2, car.IVTT_3=[1,2])
;require:
ptsmm.CL_2<= car.CL_3,
pmm.BW <= ptsmm.BW
;model:
U(pmm) = b1.dummy[(n,0,0.2)|(n,0,0.2)|(n,0,0.2)|(n,0,0.2)] * W[0,1,2,3,4]
+ b2.dummy[-0.02|-0.01] * IVTT[0,1,2]
+ b3.dummy[-0.02|-0.01] * RC[0,1,2]
+ b4.dummy[-0.04|-0.03|-0.02|-0.01] * BW[0,1,2,3,4]
+ asc1[0]
/
U(ptsmm) = b1 * W
+ b5.dummy[0.03|0.02|0.01] * IVTT_2[0,1,2,3]
+ b6[-0.01] * SMMTT[2,4,6,8]
+ b7[-0.01] * WT[2,5,8]
+ b8[-0.01] * AT_2[1,3,5]
+ b9.dummy[0.03|0.02|0.01] * RC_2[0,1,2,3]
+ b10.dummy[0.03|0.02|0.01] * SMMTC[0,1,2,3]
+ b11.dummy[0.02|0.01] * CL_2[0,1,2]
+ b4 * BW
+ asc2[0]
/
U(car) = b1 * W
+ b12.dummy[-0.02|-0.01] * IVTT_3[0,1,2]
+ b13.dummy[-0.02|-0.01] * AT_3[0,1,2]
+ b14.dummy[-0.02|-0.01] * RC_3[0,1,2]
+ b15.dummy[-0.02|-0.01] * PC_3[0,1,2]
+ b16.dummy[0.02|0.01] * CL_3[0,1,2]
$
I have several inquiries regarding my experimental design:
1.I aim to implement constraints in my design, represented as cond: and require: in Ngene. However, cond: cannot be used alongside mfederov, and require: necessitates specifying the algorithm employed. Is there a method to incorporate both cond: and require: simultaneously? I reviewed the manual but couldn't find an example.
2. Certain attribute values in my study are computed based on participants' responses or predefined values. For instance, IVTT (Travel time), RC (Running cost), and SMMTC (Travel cost) vary around a base value, with a variance of ±25%, based on reported travel distance. Additionally, AT (Access time) and PC (Parking cost) are determined using predefined logic on the basis of their responses. Despite being numerical, should these attributes still be treated as dummy coding, similar to my current script?
3. I'm contemplating including two sum attributes for total travel time and cost in my survey to provide participants with a clear understanding. These values will be computed based on related attribute values in the design. Should I proceed with designing the experiment as usual and then insert specific columns with all 0 for these two attributes?
4. Do you have any further suggestions or recommendations regarding my script?
I greatly appreciate your insights and feedback and eagerly await your response.
Best regards,
Yikang