Chapter Contents |
Previous |
Next |
XSCHART Statement |
See SHWXS1 in the SAS/QC Sample Library |
In this example, the XSCHART 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 TURBINE (see
"Creating Charts for Means and Standard Deviations from Raw Data" ) and create a summary
data set named TURBHIST:
title 'Summary Data Set for Power Output'; proc shewhart data=turbine; xschart kwatts*day / outhistory = turbhist nochart; run;
The OUTHISTORY= option names the output data set, and the NOCHART option suppresses the display of the charts, which would be identical to those in Figure 44.2. Options such as OUTHISTORY= and NOCHART are specified after the slash (/) in the XSCHART statement. A complete list of options is presented in the "Syntax" section.
Figure 44.5 contains a listing of TURBHIST.
There are four variables in the data set TURBHIST.
Note that the summary statistic variables are named by adding the suffix characters X, S, and N to the process KWATTS specified in the XSCHART 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.