Resources

Fractional Factorial Design With Blocks

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

options ps=55 ls=78;

%adxgen;
%adxff;
%adxinit

%adxffd(icing,6,32)
%adxdcode(icing,t1 a /t2 b /t3 c /t4 d /t5 e /t6 f)
data icing; set icing; drop b1 b2;
  b1 = (( -c*d) + 1)/2;
  b2 = ((a*b*c) + 1)/2;
  block = (b1 + 2*b2) + 1;
%adxrprt(icing,texture,block,seed=34567)