| Details of the FACTEX Procedure |
Randomization
In many experiments, proper randomization is crucial to
the validity of the conclusions. Randomization
neutralizes the effects of systematic biases that may be involved in
implementing the design and provides a basis for the assumptions
underlying the analysis. Refer to Kempthorne (1975) for a discussion.
The way in which randomization is handled depends on whether the design
involves blocking.
- For designs without block factors, proper randomization
consists of randomly permuting the overall order of the runs
and randomly assigning the actual levels of each factor to
the theoretical levels it has for the purpose of constructing
the design.
- For designs with block factors, proper
randomization calls for first performing separate random
permutations for the runs within each block, and then randomly
permuting the order in which the blocks are run.
For example, suppose you generate a full factorial design for three
two-level factors A, B, and C in eight runs. The following steps are
involved in randomizing this design:
- Randomly permute the order of the runs.

- Randomly assign the actual levels to the theoretical levels for each
factor.

Thus, the effect of the randomization is to transform the original
design, as follows:
|
Run
|
A
|
B
|
C
|
| 1 | 0 | 0 | 0 |
| 2 | 0 | 0 | 1 |
| 3 | 0 | 1 | 0 |
| 4 | 0 | 1 | 1 |
| 5 | 1 | 0 | 0 |
| 6 | 1 | 0 | 1 |
| 7 | 1 | 1 | 0 |
| 8 | 1 | 1 | 1 |
|
Run
|
A
|
B
|
C
|
| 3 | 1 | -1 | -1 |
| 8 | -1 | -1 | 1 |
| 1 | 1 | 1 | -1 |
| 2 | 1 | 1 | 1 |
| 4 | 1 | -1 | 1 |
| 7 | -1 | -1 | -1 |
| 6 | -1 | 1 | 1 |
| 5 | -1 | 1 | -1 |
If the original design is in two blocks, then the first step
is replaced with the following:
- Randomly permute the order of the runs within each block.

- Randomly permute the order of the blocks.

The resulting transformation is shown in the following:
|
Run
|
Block
|
A
|
B
|
C
|
| 1 | 1 | 0 | 0 | 0 |
| 2 | 1 | 0 | 1 | 1 |
| 3 | 1 | 1 | 0 | 1 |
| 4 | 1 | 1 | 1 | 0 |
| 5 | 2 | 0 | 0 | 1 |
| 6 | 2 | 0 | 1 | 0 |
| 7 | 2 | 1 | 0 | 0 |
| 8 | 2 | 1 | 1 | 1 |
|
Run
|
Block
|
A
|
B
|
C
|
| 8 | 2 | -1 | -1 | 1 |
| 7 | 2 | -1 | 1 | -1 |
| 6 | 2 | 1 | -1 | -1 |
| 5 | 2 | 1 | 1 | 1 |
| 4 | 1 | -1 | -1 | -1 |
| 1 | 1 | 1 | 1 | -1 |
| 2 | 1 | 1 | -1 | 1 |
| 3 | 1 | -1 | 1 | 1 |
If you use the RANDOMIZE option in the OUTPUT statement, the output data
set contains a randomized design. In some cases, it is appropriate to
randomize the run order but not the assignment of theoretical factor
levels to actual levels. In these cases, specify both the NOVALRAN and
RANDOMIZE options in the OUTPUT statement.
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.