Labelled DCE_cond_
Posted: Thu May 23, 2019 2:39 am
Dear Ngene Team,
thank you for accepting my enrollment request. I am designing my first DCE, but I have problems with coding. Briefly, my labelled CE includes two alternatives, five attributes and their levels as follow:
price = (775, 875, 975, 1075)
mkt = (274, 312, 350, 388)
damage = (0=no damage, 1= low damage, 2=high damage)
fung =(0=not required, 1= required)
ev= (0=low, 1=medium, 2=high)
I have designed the model as:
Design
;alts = A, B
;rows = 60
;block = 6
;eff = (mnl, d)
;cond:
if (A.damage=2, A.fung=1 and A.ev=2), if (B.damage=1, B.fung=1 and B.ev=1), if (B.damage=0, B.fung=0 and B.ev=0)
;model:
U(A) = a0 [0.0001]
+ b1[-0.0001]* price [775, 875, 975, 1075]
+ b2[0.0001] * mkt [274, 312, 350, 388]
+ a1[-0.0001]* damage [0,1, 2]
+ a2[-0.0001]* fung [0, 1]
+ a3[-0.0001]* ev [1, 2, 3]/
U(B) = c0 [0.0001]
+ b1*price
+ b2*mkt
+ c1*damage
+ c2*fung
+ c3*ev
$
I am aware that there are several problems:
-) the 'cond' is not correct. As shown in the design, I need to constraint different attributes of the same alternatives, but this formula could work only on attribute leves. How can I manage it? Should I insert it as a 'require'?
-) I cannot run a pilot survey before, so I choose as prior '0.0001' and put a sign in accordance to the kind of alternative, that might be correct;
-) I have concerns also about the last three attributes (damage, fung, ev). It should be better if I specfiy them for the two alternatives? The 'price' and 'mkt' attributes must be generic.
Sorry for the long message, and thank you in advance.
Best Regards,
LF
thank you for accepting my enrollment request. I am designing my first DCE, but I have problems with coding. Briefly, my labelled CE includes two alternatives, five attributes and their levels as follow:
price = (775, 875, 975, 1075)
mkt = (274, 312, 350, 388)
damage = (0=no damage, 1= low damage, 2=high damage)
fung =(0=not required, 1= required)
ev= (0=low, 1=medium, 2=high)
I have designed the model as:
Design
;alts = A, B
;rows = 60
;block = 6
;eff = (mnl, d)
;cond:
if (A.damage=2, A.fung=1 and A.ev=2), if (B.damage=1, B.fung=1 and B.ev=1), if (B.damage=0, B.fung=0 and B.ev=0)
;model:
U(A) = a0 [0.0001]
+ b1[-0.0001]* price [775, 875, 975, 1075]
+ b2[0.0001] * mkt [274, 312, 350, 388]
+ a1[-0.0001]* damage [0,1, 2]
+ a2[-0.0001]* fung [0, 1]
+ a3[-0.0001]* ev [1, 2, 3]/
U(B) = c0 [0.0001]
+ b1*price
+ b2*mkt
+ c1*damage
+ c2*fung
+ c3*ev
$
I am aware that there are several problems:
-) the 'cond' is not correct. As shown in the design, I need to constraint different attributes of the same alternatives, but this formula could work only on attribute leves. How can I manage it? Should I insert it as a 'require'?
-) I cannot run a pilot survey before, so I choose as prior '0.0001' and put a sign in accordance to the kind of alternative, that might be correct;
-) I have concerns also about the last three attributes (damage, fung, ev). It should be better if I specfiy them for the two alternatives? The 'price' and 'mkt' attributes must be generic.
Sorry for the long message, and thank you in advance.
Best Regards,
LF