Resources

A Problem In Quality Improvement

/****************************************************************/
/*          S A S   S A M P L E   L I B R A R Y                 */
/*                                                              */
/*    NAME: FACTEX4                                             */
/*   TITLE: A Problem In Quality Improvement                    */
/* 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 Time Temperature Humidity;
   output out=OuterArray Time        nvals=(  24  120)
                         Temperature nvals=(  72  150)
                         Humidity    nvals=(0.25 0.75);
run;

proc factex;
   factors Interference ConnectorWall InsertDepth Glue /
      nlev=3;
   size design=9;
   model resolution=3;
   output out=Design pointrep=OuterArray
        Interference  cvals=('Low'   'Medium' 'High'  )
        ConnectorWall cvals=('Thin'  'Medium' 'Thick' )
        InsertDepth   cvals=('Shallow' 'Deep' 'Medium')
        Glue          cvals=('Low'   'High'   'Medium');
run;

proc print data=Design;
run;

proc factex;
   factors Time Temperature Humidity;
   size design=4;
   model resolution=3;
   output out=SmallerOA  Time        nvals=(  24  120)
                         Temperature nvals=(  72  150)
                         Humidity    nvals=(0.25 0.75);
run;

proc factex;
   factors Interference ConnectorWall InsertDepth Glue /
      nlev=3;
   size design=9;
   model resolution=3;
   output out=SmallerDesign pointrep=SmallerOA
        Interference  cvals=('Low'   'Medium' 'High'  )
        ConnectorWall cvals=('Thin'  'Medium' 'Thick' )
        InsertDepth   cvals=('Shallow' 'Deep' 'Medium')
        Glue          cvals=('Low'   'High'   'Medium');
run;

proc print data=SmallerDesign;
run;

proc factex;
   factors Interference ConnectorWall InsertDepth Glue /
      nlev=3;
   model resolution=4;
   size design=minimum;
run;

   factors Interference ConnectorWall InsertDepth Glue;
   model resolution=4;
   size design=minimum;
run;

   size design=8;
   blocks size=minimum;
run;