Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Tests for Special Causes

Labeling Signaled Points with a Variable

See SHWTSC1 in the SAS/QC Sample Library

If a test is signaled at a particular point, the point is labeled by default with the index of the test, as illustrated in Figure 48.3.* You can use the TESTLABEL= option to specify a variable in the input data set whose values provide the labels, as illustrated by the following statements:

   symbol v=dot c=salmon;
   title 'Analysis of Assembly Data';
   proc shewhart history=assembly;
      xrchart offset * sample / mu0        = 20
                                sigma0     = 2.24
                                limitn     = 5
                                alln
                                tests      = 1 to 4
                                testlabel  = ( comment )
                                ltests     = 2
                                vaxis      = 16 to 24 by 2
                                split      = '/'
                                cframe     = vligb
                                cinfill    = ywh
                                cconnect   = salmon
                                ctests     = black;
      label offsetx = 'Avg Offset in cm/Range';
   run;

The labels are shown in Figure 48.6. It is often helpful to specify a variable with the TESTLABEL= option that provides operator comments or other information that can aid in the identification of special causes.

tests4.gif (7996 bytes)

Figure 48.6: Labeling Points with a TESTLABEL= Variable

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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