Brady Brady Hello all,
The approach Beatrice mentions is the approach that I originally tried. This design is balanced in the sense that each treatment appears in the same number of blocks, but a BIBD also requires that each pair of treatments occur in the same number of blocks.
Due to the randomization inherent in the algorithm creating the custom designs, there is nothing actually preventing the 13-level categorical approach from creating a BIBD, but the likelihood of this happening appears much lower than with the continuous approach. I (and a couple of others who have been looking into this) have yet to get a BIBD with the categorical approach (whether I added a blocking factor, or simply clicked the radio button to group runs into blocks), but have created a BIBD (for this example) each time using the continuous approach.
Below, I have shown 3 representative x`*x matrices for comparison purposes. (For the categorical examples, you first have to split the design table to form a 13x13 matrix.)
Along the main diagonals, all entries are 4. This means that each of the 13 factors appears in 4 blocks--no matter which method was used.
The off-diagonal entries tally the number of blocks in which a given pair of factors appears. Notice that in the first two examples, there are 0s, 1s and 2s off the main diagonal. This means that some treatment pairs appeared in zero blocks, some in one block, and some in two blocks. The design is a BIBD only when all of the off-diagonal entries are the same. So, only in the 3rd case do we have a BIBD.
Example 1: x`*x matrix from a custom design with 52 runs of a 13-level categorical factor with a 4 run per-block blocking factor:
[4 1 2 1 1 2 0 1 0 0 2 1 1,
1. 4 1 1 0 0 2 2 1 1 1 2 0,
1. 1 4 0 0 1 1 2 0 1 1 1 2,
1. 1 0 4 3 1 2 0 1 1 0 1 1,
1. 0 0 3 4 2 2 0 1 1 1 0 1,
1. 0 1 1 2 4 0 1 1 1 1 1 1,
0 2 1 2 2 0 4 1 1 1 1 1 0,
1. 2 2 0 0 1 1 4 2 1 1 0 1,
0 1 0 1 1 1 1 2 4 2 1 1 1,
0 1 1 1 1 1 1 1 2 4 0 2 1,
1. 1 1 0 1 1 1 1 1 0 4 1 2,
1. 2 1 1 0 1 1 0 1 2 1 4 1,
1. 0 2 1 1 1 0 1 1 1 2 1 4]
Example 2: x`*x matrix from a custom design with 52 runs of a 13-level categorical factor, using the dialog button “Group runs into random blocks of size 4”:
[4 2 1 2 1 1 0 1 2 1 0 1 0,
1. 4 1 1 1 1 1 2 1 1 0 1 0,
1. 1 4 1 1 1 2 0 1 1 1 1 1,
1. 1 1 4 0 0 1 2 1 1 1 1 1,
1. 1 1 0 4 2 1 2 1 0 1 1 1,
1. 1 1 0 2 4 1 1 1 1 1 1 1,
0 1 2 1 1 1 4 0 1 0 2 1 2,
1. 2 0 2 2 1 0 4 0 1 1 1 1,
1. 1 1 1 1 1 1 0 4 2 0 0 2,
1. 1 1 1 0 1 0 1 2 4 2 1 1,
0 0 1 1 1 1 2 1 0 2 4 2 1,
1. 1 1 1 1 1 1 1 0 1 2 4 1,
0 0 1 1 1 1 2 1 2 1 1 1 4]
Example 3: x`*x matrix from a custom design with 13 constrained runs of 13 continuous factors (as described earlier in this thread):
[4 1 1 1 1 1 1 1 1 1 1 1 1,
1. 4 1 1 1 1 1 1 1 1 1 1 1,
1. 1 4 1 1 1 1 1 1 1 1 1 1,
1. 1 1 4 1 1 1 1 1 1 1 1 1,
1. 1 1 1 4 1 1 1 1 1 1 1 1,
1. 1 1 1 1 4 1 1 1 1 1 1 1,
1. 1 1 1 1 1 4 1 1 1 1 1 1,
1. 1 1 1 1 1 1 4 1 1 1 1 1,
1. 1 1 1 1 1 1 1 4 1 1 1 1,
1. 1 1 1 1 1 1 1 1 4 1 1 1,
1. 1 1 1 1 1 1 1 1 1 4 1 1,
1. 1 1 1 1 1 1 1 1 1 1 4 1,
1. 1 1 1 1 1 1 1 1 1 1 1 4]
I hope this helps!
Cheers,
Brady