Chapter Contents |
Previous |
Next |
EWMACHART Statement |
See MACEW1 in the SAS/QC Sample Library |
In this example, the EWMACHART statement is used to create a summary data set that can be read later by the MACONTROL procedure (as in the preceding example). The following statements read measurements from the data set CLIPS1 and create a summary data set named CLIPHIST:
title 'Summary Data Set for Gap Measurements'; proc macontrol data=clips1; ewmachart gap*day / weight = 0.3 outhistory = cliphist nochart; run;
The OUTHISTORY= option names the output data set, and the NOCHART option suppresses the display of the chart, which would be identical to the chart in Figure 20.2.
Figure 20.5 contains a listing of CLIPHIST.
There are five variables in the data set CLIPHIST.
Note that the summary statistic variables are named by adding the suffix characters X, S, E, and N to the process GAP specified in the EWMACHART 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.