Complete Factorial Design With Mixed Levels

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

options ps=60;

proc factex;
  factors seat_ht generatr ;
  size design=4;
  output out=destemp seat_ht  nvals=(26 30)
                     generatr cvals=('on' 'off');
run;


  factors pressure / nlev=3;
  size design=3;
  output out=design pointrep=destemp
                    pressure nvals=(40 55 65);
run;

proc print;
run;