Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
IRCHART Statement

Specifying the Computation of the Moving Range

See SHWIR1 in the SAS/QC Sample Library

By default, the IRCHART statement uses two consecutive measurements to calculate moving ranges. However, you can specify a different number of measurements to use, as illustrated by the following statements:

   title 'Specifying the Computation of the Moving Range';
   symbol v=dot c=yellow;
   proc shewhart data=jets;
      irchart diam*engine / limitn   = 3
                            cframe   = vigb
                            cinfill  = vlib
                            cconnect = yellow
                            coutfill = red;
   run;

The LIMITN= option specifies the number of consecutive measurements used to compute the moving ranges. The resulting charts are shown in Figure 34.8.

irgs8.gif (5510 bytes)

Figure 34.8: Computing Moving Ranges from Three Consecutive Measurements

Note that the LIMITN= value is displayed in the legend above the control limit labels. The charts indicate that the process is in control, since all the points lie within the control limits.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.