Resources

Macros for Fractional Factorial Designs

 /****************************************************************/
 /*          S A S   S A M P L E   L I B R A R Y                 */
 /*                                                              */
 /*    NAME: ADXFRAC1                                            */
 /*   TITLE: Macros for Fractional Factorial Designs             */
 /* PRODUCT: QC                                                  */
 /*  SYSTEM: ALL                                                 */
 /*    KEYS: Design of Experiments,Fractional Factorial Designs  */
 /*   PROCS:                                                     */
 /*     REF: SAS/QC Software:  Examples                          */
 /*    MISC: ADX Macros are stored in the AUTOCALL library       */
 /*                                                              */
 /*                                                              */
 /****************************************************************/

options ps=32;

%adxgen;
%adxff;
%adxinit

%adxpff((ntmts=5))

%adxffd(reactor,5,16)

%adxdcode(reactor, t1 feedrate 10  15
                  /t2 catalyst 1   2
                  /t3 agitrate 100 120
                  /t4 temperat 140 180
                  /t5 concentn 3   6   )
%adxrprt(reactor,reactpct,seed=56789)

proc sort;
   by feedrate catalyst agitrate temperat concentn;
data reactor;
   set reactor;
   input @@ reactpct;
   cards;
   56 69 53 49 63 78 67 95 53 45 55 60 65 93 61 82
   ;

%adxcode(reactor,reactor,feedrate catalyst agitrate temperat concentn)
%adxffa(resp=reactpct,res=5)