Chapter Contents |
Previous |
Next |
XRCHART Statement |
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 WAFRHIST:
title 'Summary Data Set for Wafer Diameters'; proc shewhart data=wafers; xrchart diamtr*batch / outhistory = wafrhist nochart; run;
The OUTHISTORY= option names the output data set, and the NOCHART option suppresses the display of the charts. Options such as OUTHISTORY= and NOCHART are specified after the slash (/) in the XRCHART statement. A complete list of options is presented in the "Syntax" section.
Figure 43.5 contains a listing of WAFRHIST.
There are four variables in the data set WAFRHIST.
Note that the summary statistic variables are named by adding the suffix characters X, R, and N to the process DIAMTR 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" .
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.