Chapter Contents |
Previous |
Next |
Macros for the Design and Analysis of Experiments |
ds | is the name of the output data set for the constructed design. This data set contains variables for design factors and for a block factor, if the design uses blocking. Default names are used. The default names for design factors are T1, T2, T3, and so on; the default name for a block factor is BLOCK. You can change these default names using the ADXDCODE macro, described in the "General Macros: ADXGEN File" section. |
nf | is the number of design factors. |
nr | is the number of runs in the design. |
nb | is the number of blocks in the design. Omit nb if the design does not involve blocking. |
The ADXFFD macro constructs a fractional factorial design and saves the design in a data set. If you want to construct a fractional factorial design but need to see a list of available designs, use the ADXPFF macro to display the list.
Suppose you want a design for 5 factors. You can first use the ADXPFF macro to find that there is a design in 16 runs and 4 blocks which suits your needs. Then you can construct this design using the ADXFFD macro, as in the following statements:
%adxgen %adxff %adxinit %adxpff((ntmts=5)) %adxffd(ff5,5,16,4)The design is contained in data set FF5. You can use the default factor levels (-1 and +1), or you can use the ADXDCODE macro to customize the design.
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.