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

ADXPFF: List Available Fractional Factorial Designs

%adxpff(expression)

where expression is a valid comparison expression involving one or more of the following design parameters:

NTMTSthe number of design factors, where 2\leq {NTMTS} \leq 11.
NRUNSthe number of experimental runs, where 4\leq {NRUNS} \leq 128.
NBLKSthe number of blocks in the design.
Kthe size of each block.
RESthe resolution of the design, where RES\geq 3.

Each part of expression is a comparison involving one or more of the above design parameters. Each part of expression must be enclosed in parentheses, and the entire expression must also be enclosed in parentheses. For example, a simple expression that requests designs with 5 or more treatments is shown below:

   %adxgen
   %adxff
   %adxpff((ntmts ge 5))

You can use AND and OR operators to form a complex expression. The symbols & and | can also be used for AND and OR, respectively. For example, the following statements list all regular fractions for six factors with either less than 80 runs or exactly 8 blocks:

   %adxgen
   %adxff
   %adxpff((ntmts=6) & ((nruns < 80) or (nblks=8)))

The ADXPFF macro is useful when you do not know the exact parameters of the design you want to construct. The ADXPFF macro also lists the valid ADXFFD macro call for each design. Once you have chosen a design from the list, you can simply submit the associated ADXFFD macro call, filling in a SAS data set name for the value *data-set-name* shown in the listing.

For example, suppose you want to find a design

Submitting the statements

   %adxgen
   %adxff
   %adxpff((ntmts >= 5) & (nruns <= 32) & (res >= 4))
returns 51 designs, with as many as 11 factors and with blocks as small as 2 runs per block. You can choose one of these 51 designs and then submit the appropriate ADXFFD call to create the design and output it to a data set.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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