The SHEWHART Procedure |
[See SHWXR1 in the SAS/QC Sample Library]In this example, the XRCHART statement is used to create a summary data set that can be read later by the SHEWHART procedure (as in the preceding example). The following statements read measurements from the data set Wafers and create a summary data set named Waferhist:
proc shewhart data=Wafers; xrchart Diameter*Batch / outhistory = Waferhist nochart; run;
The OUTHISTORY= option names the output data set, and the NOCHART option suppresses the display of charts. Figure 13.37.6 contains a partial listing of Waferhist.
There are four variables in the data set Waferhist:
Batch contains the subgroup index.
DiameterX contains the subgroup means.
DiameterR contains the subgroup ranges.
DiameterN contains the subgroup sample sizes.
Note that the summary statistic variables are named by adding the suffix characters X, R, and N to the process Diameter specified in the XRCHART statement. In other words, the variable naming convention for OUTHISTORY= data sets is the same as that for HISTORY= data sets.
For more information, see OUTHISTORY= Data Set.
Copyright © SAS Institute, Inc. All Rights Reserved.