|
Chapter Contents |
Previous |
Next |
| XCHART Statement |
| See SHWTEST in the SAS/QC Sample Library |
This example illustrates how you can apply tests for
special causes to make
charts
more sensitive to special causes of variation.
The following statements create an
chart for
the gap width measurements in the data set PARTS
at "Creating Charts for Means from Subgroup Summary Data"
and tabulate the results:
title 'Tests for Special Causes Applied to Gap Width Data';
symbol v=dot c=yellow;
proc shewhart history=parts;
xchart partgap*sample/ tests = 1 to 5
ltests = 20
tabletests
tablecentral
tablelegend
zonelabels
nolegend
cframe = vigb
cinfill = vlib
ctests = red
cconnect = yellow;
run;
The The ZONELABELS option displays zone lines and zone labels on the chart. The zones are used to define the tests. The LTESTS= option specifies the line type used to connect the points in test patterns that were signaled. The NOLEGEND option suppresses the subgroup sample size legend that is displayed by default in the lower left corner of the chart.
Output 42.1.1 and Output 42.1.2 indicate that Test 5 was positive at sample 14, signaling a possible shift in the mean of the process.
Output 42.1.1: Tests for Special Causes Displayed on an
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.