|
Chapter Contents |
Previous |
Next |
| XRCHART Statement |
| See SHWXR2 in the SAS/QC Sample Library |
This example illustrates how you can apply
tests for special causes to make
and R charts more
sensitive to special causes of variation.
The weight of a roll of tape is measured before and after an adhesive is applied. The difference in weight represents the amount of adhesive applied to the tape during the coating process. The following data set contains the average and the range of the adhesive amounts for 21 samples of five rolls:
data tape;
input sample $ weightx weightr;
weightn=5;
label weightx = 'Average Adhesive Amount'
sample = 'Sample Code';
datalines;
C9 1270 35
C4 1258 25
A7 1248 24
A1 1260 39
A5 1273 29
D3 1260 21
D6 1259 37
D1 1240 37
R4 1260 28
H7 1255 19
H2 1268 36
H6 1253 36
P4 1273 29
P9 1275 22
J7 1257 24
J2 1269 41
J3 1249 36
B2 1264 31
G4 1258 25
G6 1248 36
G3 1248 30
;
The following statements create
and R charts,
apply several tests to the
chart,
and tabulate the results:
title 'Tests for Special Causes Applied to Adhesive Tape Data';
symbol v=dot c=salmon;
proc shewhart history=tape;
xrchart weight*sample / tests = 1 to 5
tabletests
zonelabels
ltests = 20
cframe = bigb
cinfill = ywh
ctests = vig
cconnect = salmon;
run;
The charts are shown in Output 43.1.1, and the table is shown in Output 43.1.2. The TESTS= option requests Tests 1, 2, 3, 4, and 5, which are described in Chapter 48, "Tests for Special Causes." The TABLETESTS option requests a basic table of subgroup statistics and control limits with a column indicating which subgroups tested positive for special causes.
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 a pattern for a test that is signaled.
Output 43.1.1: Tests for Special Causes Displayed on
|
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.