Complete Two-Level Factorial Design

 /****************************************************************/
 /*          S A S   S A M P L E   L I B R A R Y                 */
 /*                                                              */
 /*    NAME: FACTEX1                                             */
 /*   TITLE: Complete Two-Level Factorial Design                 */
 /* PRODUCT: QC                                                  */
 /*  SYSTEM: ALL                                                 */
 /*    KEYS: Design of Experiments, Factorial Designs,           */
 /*   PROCS: FACTEX                                              */
 /*    DATA:                                                     */
 /*                                                              */
 /*     REF: SAS/QC Software:  Examples                          */
 /*    MISC:                                                     */
 /*                                                              */
 /****************************************************************/

options ps=32;

proc factex;
  factors seat_ht pressure generatr;
  size design=16;
  examine design;
run;


proc factex;
  factors seat_ht pressure generatr;
  size design=16;
  output out=design seat_ht  nvals=(26 30)
                    pressure nvals=(40 55)
                    generatr cvals=('on' 'off');
run;

proc print;
run;