Dear Ngene users,
I am working on a design for a DCE with three alternatives (two plus one status quo ), 4 attributes, with 3, 4, 4 and 8 levels. The attribute level of one of the attributes (i.e. PDRR_SR) only appears in the SQ options. This will result in perfect correlation with the SQ alternative
Here is my syntax
design
;alts= alt1*,alt2*,SQ
;rows=48
;block=6
;eff = (mnl,d,mean)
;alg=mfederov(candidates = 5000)
;require:
alt1.EO > 0,
alt2.EO > 0,
alt1.PDRR_SR>0,
alt2.PDRR_SR>0,
alt1.cost > 0,
alt2.cost > 0,
alt1.cost <> alt2.cost,
SQ.WLHQ = 0,
SQ.PDRR_SR = 0,
SQ.EO = 0,
SQ.cost = 0
;model:
U(alt1) =b1.effects[(n,0,0)|(n,0,0)]*WLHQ[2,1,0]
+b2.effects[(n,0,0)|(n,0,0)|(n,0,0)]*PDRR_SR[3,2,1,0]
+b3[(n,0,0)]*EO[0,150,300,400]
+b4[(n,-0.0001,0)]*cost[0,20,30,40,50,60,70,80]/
U(alt2) =b1*WLHQ
+b2*PDRR_SR
+b3*EO
+b4*cost/
U(SQ) = b1*WLHQ
+b2*PDRR_SR
+b3*EO
+b4*cost$
The paper by Cooper et.al used a hybrid coding approach to solve the problem of correlation between the base variable and SQ alternatives. Cooper, B., Rose, J.M. and Crase, L. (2012) Does anybody like water restrictions? Some observations in Australian urban communities, Australian Journal of Agricultural and Resource Economics, 56(1), 61-51.
How to code a hybrid approach using Ngene? Any suggestions, please
Thank you
Bassie