Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Macros for the Design and Analysis of Experiments

ADXFFD: Construct Fractional Factorial Designs

%adxffd(ds, nf, nr, nb)

where
dsis 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.
nfis the number of design factors.
nris the number of runs in the design.
nbis 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
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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