Resources

Replicated Blocked Design with Confounding

/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: FACTEX15                                            */
/*   TITLE: Replicated Blocked Design with Confounding          */
/* PRODUCT: QC                                                  */
/*  SYSTEM: ALL                                                 */
/*    KEYS: Design of Experiments, Factorial Designs,           */
/*   PROCS: FACTEX                                              */
/*    DATA:                                                     */
/*                                                              */
/*     REF: SAS/QC Software:  Usage and Reference, Version 6,   */
/*          First Edition, Volume 1 and Volume 2                */
/*    MISC:                                                     */
/*                                                              */
/****************************************************************/

proc factex;
   factors A B C;
   blocks nblocks=2;
   model est=(A B C);
   examine confounding aliasing;
   output out=Rep1 blockname=block nvals=(1 2);
run;

   model est=(A B C A*B*C);
   output out=Rep2
      blockname=block nvals=(3 4);
run;

   model est=(A B C A*B*C B*C);
   output out=Rep3 blockname=block nvals=(5 6);
run;

   model est=(A B C A*B*C B*C A*C);
   output out=Rep4 blockname=block nvals=(7 8);
run;

data Combine;
   set Rep1 Rep2 Rep3 Rep4;
run;
proc print data=Combine;
run;