For choice models you always need to specify at least 2 alternatives. However, the second alternative can be an opt-out alternative, which has no attributes and has zero utility. In Ngene, you can simply omit the utility function of the opt-out alternative as in the syntax below.
Note that there does not exist an orthogonal array of 100 rows if all your attributes have four levels, there only exists an orthogonal array with 112 rows. It is not possible to block this orthogonal array in 10 orthogonal blocks but you can consider blocking it in 7 or 14 near-orthogonal blocks.
The code below generates the orthogonal array of 112 rows without blocking.
- Code: Select all
Design
;alts = alt1, none
;rows = 112
;orth = sim
;model:
U(alt1) = b1 * A[0,1,2,3] + b2 * B[0,1,2,3] + b3 * C[0,1,2,3] + b4 * D[0,1,2,3] +b5 * E[0,1,2,3] + b6 * F[0,1,2,3] + b7 * G[0,1,2,3]
$
The code below creates an orthogonal array with 112 rows with a near-orthogonal blocking column, where each block contains 14 choice tasks. You can also choose ;block = 7, but 112 needs to be divisible by the number of blocks so you cannot just choose any number.
- Code: Select all
Design
;alts = alt1, none
;rows = 112
;block = 14
;orth = seq2
;model:
U(alt1) = b1 * A[0,1,2,3] + b2 * B[0,1,2,3] + b3 * C[0,1,2,3] + b4 * D[0,1,2,3] +b5 * E[0,1,2,3] + b6 * F[0,1,2,3] + b7 * G[0,1,2,3]
$
IMPORTANT: I strongly suggest that you use the recently released Ngene version 1.3 to generate this design. Ngene 1.3 has important improvements in generating orthogonal arrays and version 1.2.x may not be able to generate these designs.
Michiel