Chapter Contents |
Previous |
Next |
MRCHART Statement |
See SHWMR1 in the SAS/QC Sample Library |
In this example, the MRCHART 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 DETERGNT and create a summary data set named DETHIST:
title 'Summary Data Set DETHIST for Detergent Box Weights'; proc shewhart data=detergnt; mrchart weight*lot / outhistory = dethist 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 the charts in Figure 36.2. Options such as OUTHISTORY= and NOCHART are specified after the slash (/) in the MRCHART statement. A complete list of options is presented in the "Syntax" section.
Figure 36.5 contains a listing of DETHIST.
There are four variables in the data set DETHIST.
Note that the summary statistic variables are named by adding the suffix characters M, R, and N to the process WEIGHT specified in the MRCHART 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.