Balancing level combinations in an orthogonal design
Posted: Fri Jan 15, 2010 5:41 am
Design
;alts = alt1, alt2
;rows = 19
;orth = sim
;model:
U(alt1) =
b1 +
b2.dummy[0|0|0] * A[0,1,2,3] +
b3.dummy[0|0|0] * B[0,1,2,3]+
b4.dummy[0|0|0] * C[0,1,2,3] +
b5.dummy[0|0|0] * D[0,1,2,3] +
b6.dummy[0|0|0] * E[0,1,2,3] +
b7.dummy[0|0|0] * F[0,1,2,3]
$
Provides the following design:
Choice situation alt1.a alt1.b alt1.c alt1.d alt1.e alt1.f
1 1 3 2 0 3 2
2 2 2 2 2 1 3
3 3 1 3 2 0 1
4 2 0 3 0 2 2
5 0 1 0 0 3 1
6 2 2 1 1 2 1
7 0 1 1 3 1 3
8 1 0 2 3 0 0
9 3 3 0 1 0 2
10 1 2 1 3 3 0
11 0 3 3 2 2 0
12 1 2 1 0 0 3
13 3 1 1 0 1 0
14 1 0 0 2 2 3
15 2 2 0 2 1 0
16 3 0 2 1 3 1
17 2 1 0 3 2 2
18 0 0 3 1 1 2
19 0 3 2 1 0 1
20 3 3 3 3 3 3
Where alt1.a =3, I have bolded it along with alt1.b. Note: the following combinations {a,b} appear {3,0},{3,1},{3,3}. Strangely, {3,2} does not appear in the design. When the syntax does not specify dummying the attributes, the design (in 16 rows) only gives combinations {3,1} and {3,2}.
My understanding of orthogonal designs is that the levels should be balanced, appearing an equal number of times for each combination. I noticed the issue because there are a few conditions that need to be specified - {3,3} is an impossible combination - and I was expecting there to be equal representation of all level combinations.
Being pretty new to all this, perhaps my understanding is wrong, and any clarification you can offer would be most appreciated.
How should I be specifying my syntax?