Dear Michiel
I'm currently finalising my clinician DCE. Alternatives are drug treatment v no drug treatment, containing 8 attributes, of 2-3 levels each.
I want to set 2 of the attributes (patient age and presence of comorbidities) as part of a patient profile so they need to be the same across both alternatives.
Here's my attempt at the syntax but I'm guessing there's a neater way to do this?
Design
;alts=drug,nodrug
;rows=72
;eff=(mnl,s)
;block=6
;cond:
if(drug.agea=50, nodrug.ageb=50),
if(drug.agea=66, nodrug.ageb=66),
if(drug.agea=81, nodrug.ageb=81),
if(drug.comora=0, nodrug.comorb=0),
if(drug.comora=1, nodrug.comorb=1),
if(drug.rega=4, drug.costa=[750,1500]),
if(drug.recura=50, nodrug.recurb=[56,62])
;model:
U(drug)= age[-0.02]*agea[50,66,81]+comor[-0.7]*comora[0,1]+reg[-0.3]*rega[3,4]+recur[-0.1]*recura[36,42,50]+mild[-0.04]*milda[1,12,37]+perm[-0.15]*perma[1,10,14]+fatal[-0.75]*fatala[0,1,3]+cost[-0.0001]*costa[750,1500,6000] /
U(nodrug)=ascb[-0.3]+age[-0.02]*ageb[50,66,81]+comor[-0.7]*comorb[0,1]+reg[-0.3]*regb[0]+recur[-0.1]*recurb[50,56,62]+mild[-0.04]*mildb[0]+perm[-0.15]*permb[0]+fatal[-0.75]*fatalb[0]+cost[-0.0001]*costb[0]
$
However, this generates a very inefficient design:
D error 141754.197771
A error 7.35169149261073E+29
B estimate 40.963078
S estimate 4.61062274588219E+31
Prior age comor reg recur mild perm fatal cost
Fixed prior value -0.02 -0.7 -0.3 -0.1 -0.04 -0.15 -0.75 -0.0001
Sp estimates 4.38743896994142E+30 4.61062274588219E+31 28.145845 1.583803 1.93559 0.848004 1.138169 20.650235
Sp t-ratios 0 0 0.369444 1.557419 1.4088 2.128419 1.837185 0.431314
Thank you for your assistance.
Kind regards
Ann