Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
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 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:
  1. Randomly permute the order of the runs.
    {Runs:}\{1,2,3,4,5,6,7,8\} & arrow &
 \{3,8,1,2,4,7,6,5\}
  2. Randomly assign the actual levels to the theoretical levels for each factor.
    {Factor A levels:}\{0,1\} & arrow & \{ 1,-1\} \ {Factor B levels:}\{0,1\} & arrow & \{ 1,-1\} \ {Factor C levels:}\{0,1\} & arrow & \{-1, 1\}

Thus, the effect of the randomization is to transform the original design, as follows:

Run A B C
1000
2001
3010
4011
5100
6101
7110
8111
\longrightarrow
Run A B C
31-1-1
8-1-11
111-1
2111
41-11
7-1-1-1
6-111
5-11-1
If the original design is in two blocks, then the first step is replaced with the following:
  1. Randomly permute the order of the runs within each block.
    {Block 1 runs:}\{1,2,3,4\} & arrow & \{4,1,2,3\} \ {Block 2 runs:}\{5,6,7,8\} & arrow & \{8,7,6,5\}
  2. Randomly permute the order of the blocks.
    {Block levels:}\{1,2\} & arrow & \{2,1\} \

The resulting transformation is shown in the following:

Run Block A B C
11000
21011
31101
41110
52001
62010
72100
82111
\longrightarrow
Run Block A B C
82-1-11
72-11-1
621-1-1
52111
41-1-1-1
1111-1
211-11
31-111
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.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.