Hi NGENE team,
I have generated a Bayesian Efficient design in which one of the attributes has got pivoted levels. As you can see in my sample code below, 'Parking' attribute has 3 levels of 25,50,75 for alternative A, but I would like the same attribute for alternative B to be pivoted on whatever value that shows up for alternative A. For example, if parking attribute for alternative A is 50, then alternative B get the value of 25 (50% less). For the current code, NGENE just takes the first level of the reference alternative (e.g. only 25) and not the rest of the levels (50 and 75). Could you please help me solve this problem?
Design
? This will generate an efficient design for self-driving vehicle project, A = manual, B = self-driving
;alts =A, B
;rows =12
;eff=(mnl,d,mean)
;cond:
if(B.purchase= A.purchase and B.operate= A.operate , B.incentiveA <> 0 or B.incentiveB <> 0 )
;model:
U(A)= b1 + b2[(u,-0.000195,0)] * purchase[30000,40000,50000] + b3 [(u,0,0.009)] * operate[600,700,800] + b4[(u,0.439,0.5)] * parking .ref[25,50,75]/
U(B)= b2 * purchase + b3 * operate + b4 * parking .piv[-50%, 0% -20%] + b5.dummy[(u,0,1)] * incentiveA[0,1] + b6.dummy[(u,0,1)] * incentiveB[0,1]$