Chapter Contents |
Previous |
Next |
IRCHART Statement |
See SHWIREX1 in the SAS/QC Sample Library |
This example illustrates how you can apply tests for special causes to make an individual measurements chart more sensitive to special causes of variation. The following statements create a data set named ENGINES, which contains the weights for 25 jet engines:
data engines; input id weight @@; label weight='Engine Weight (lbs)' id ='Engine ID Number'; datalines; 1711 1270 1712 1258 1713 1248 1714 1260 1715 1263 1716 1260 1717 1259 1718 1240 1719 1260 1720 1246 1721 1238 1722 1253 1723 1249 1724 1245 1725 1251 1726 1252 1727 1249 1728 1274 1729 1258 1730 1268 1731 1248 1732 1295 1733 1243 1734 1253 1735 1258 ;
Individual measurements and moving range charts are used to monitor the weights. The following statements produce the tables shown in Output 34.1.1 and create the charts shown in Output 34.1.2:
title 'Tests for Special Causes Applied to Jet Engine Weights'; symbol v=dot c=yellow; proc shewhart data=engines; irchart weight*id / tests = 1 to 8 test2run = 7 tabletest zonelabels ltests = 20 cframe = vigb cinfill = vlib cconnect = yellow coutfill = red ctests = cxfefefe; run;
The TESTS= option applies eight tests for special causes, which are described in Chapter 48, "Tests for Special Causes." The TEST2RUN= option specifies the length of the pattern for Test 2. The TABLETESTS option requests a table of individual measurements, moving ranges, and control limits, and it adds a column indicating which measurements tested positive for special causes.
The ZONELABELS option displays zone lines and zone labels on the individual measurements 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 34.1.1: Tabular Form of Individual Measurements and Moving Range Chart
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.