Chapter Contents |
Previous |
Next |
PROC MACONTROL Statement |
After the PROC MACONTROL statement, you provide either an EWMACHART or an MACHART statement that specifies the type of moving average chart you want to create and the variables in the input data set that you want to analyze. For example, the following statements request a uniformly weighted moving average chart:
proc macontrol data=values; machart weight*lot / mu0 = 8.10 sigma0 = 0.05 span = 5; run;
In this example, the DATA= option specifies an input data set named VALUES that contains the process measurement variable WEIGHT and the subgroup-variable LOT. *
You can use options in the PROC MACONTROL statement to
In addition to the chart statement, you can provide BY statements, ID statements, TITLE statements, and FOOTNOTE statements. If you are using a graphics device, you can also provide graphics enhancement statements, such as SYMBOLn statements, which are described in SAS/GRAPH Software: Reference.
Note: If you are using the MACONTROL procedure for the first time, you should also read the "Getting Started" section of Chapter 20, "EWMACHART Statement," and the "Getting Started" section of Chapter 21, "MACHART Statement."
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.