Optimal orthogonal designs (OOD) do not consider dummy coding so you can just remove ".dummy" from the syntax and it will run. Note that OOD have some limitations and a design with 40 rows does not exist with your design dimensions (Ngene finds a design with 60 rows). It will show up as 0% D-optimality according to the definition of Street and Burgess, but you can still use this design. Note further that orthogonal designs cannot remove dominant alternatives so putting an asterisk (*) behind the alternative names does not do anything.
If you want to have more flexibility and optimise for a design with dummy coding as well as automatically remove dominant alternatives in your design, then you should use an efficient design with priors indicating the sign, for example (I do not know what your attributes mean, so I just guessed the signs for the first two attributes and left the other ones zero):
- Code: Select all
Design
;alts = alt1*,alt2*,alt3*,nobuy
;rows = 40
;eff = (mnl,d)
;block = 4
;model:
U(alt1) = b0
+ b1[-0.00001] * price[200,300,400,500,600]
+ b2.dummy[0.0002|0.0001] * tech[1,2,3] ? 1 = best, 2 = medium, 3 = worst (reference)
+ b3.dummy[0|0|0] * spec[1,2,3,4]
+ b4.dummy[0] * timing[1,2]
+ b5.dummy[0|0|0] * life[1,2,3,4]
/
U(alt2) = b0
+ b1 * price
+ b2 * tech
+ b3 * spec
+ b4 * timing
+ b5 * life
/
U(alt3) = b0
+ b1 * price
+ b2 * tech
+ b3 * spec
+ b4 * timing
+ b5 * life
$
Michiel