Fractional Factorial Design Using OPTEX

 /****************************************************************/
 /*          S A S   S A M P L E   L I B R A R Y                 */
 /*                                                              */
 /*    NAME: OPTEX1                                              */
 /*   TITLE: Fractional Factorial Design Using OPTEX             */
 /* PRODUCT: QC                                                  */
 /*  SYSTEM: ALL                                                 */
 /*    KEYS: Fractional Factorial Designs, Optimal Designs,      */
 /*   PROCS: FACTEX OPTEX                                        */
 /*    DATA:                                                     */
 /*                                                              */
 /*     REF: SAS/QC Software:  Examples                          */
 /*    MISC:                                                     */
 /*                                                              */
 /****************************************************************/

options ps=60;

proc factex;
   factors  feedrate catalyst agitrate temperat concentn;
   output out=one  feedrate  nvals=(10  15 )
                   catalyst  nvals=(1   2  )
                   agitrate  nvals=(100 120)
                   temperat  nvals=(140 180)
                   concentn  nvals=(3   6  );
run;

proc optex seed=27513 data=one;
   class feedrate catalyst agitrate temperat concentn;
   model feedrate catalyst agitrate temperat concentn
                  catalyst*temperat temperat*concentn;
   generate n=8;
   output out=design;
run;

proc print;
run;