The MACONTROL Procedure |
The notes Traditional Graphics and Line Printer identify options that apply only to traditional graphics and line printer charts, respectively.
requests probability limits. If you specify ALPHA=, the control limits are computed so that the probability is that a single moving average exceeds its control limits. The value of can range between 0 and 1. This assumes that the process is in statistical control and that the data follow a normal distribution. For the equations used to compute probability limits, see Control Limits.
Note the following:
As an alternative to specifying ALPHA=, you can read from the variable _ALPHA_ in a LIMITS= data set by specifying the READALPHA option.
As an alternative to specifying ALPHA= (or reading _ALPHA_ from a LIMITS= data set), you can request " control limits" by specifying SIGMAS= (or reading _SIGMAS_ from a LIMITS= data set).
If you specify neither the ALPHA= option nor the SIGMAS= option, the procedure computes control limits by default.
requests constant upper and lower control limits for all subgroups having the following values:
Here is the span of the moving average, and is the nominal sample size associated with the control limits. Substitute for if you specify probability limits with the ALPHA= option. When you do not specify the ASYMPTOTIC option, the control limits are computed using the exact formulas in Table 9.9. Use the ASYMPTOTIC option only if all the subgroup sample sizes are the same or if you specify LIMITN=.
[Traditional Graphics] specifies the color for the symbol requested with the MEANSYMBOL= option.
specifies either a fixed or varying nominal sample size for the control limits.
If you specify LIMITN=, moving averages are calculated and displayed only for those subgroups with a sample size equal to , unless you also specify the ALLN option, which causes all the moving averages to be calculated and displayed. By default (or if you specify LIMITN=VARYING), moving averages are calculated and displayed for all subgroups, regardless of sample size.
[Line Printer] specifies a character used to plot the subgroup mean for each subgroup. By default, subgroup means are not plotted.
[Traditional Graphics] specifies a symbol used to plot the subgroup mean for each subgroup. By default, subgroup means are not plotted.
specifies a known (standard) value for the process mean . By default, is estimated from the data.
Note:As an alternative to specifying MU0=, you can read a predetermined value for from the variable _MEAN_ in a LIMITS= data set.
See Example 9.6.
specifies that control limit parameters for each process listed in the MACHART statement are not to be read from the LIMITS= data set specified in the PROC MACONTROL statement. The NOREADLIMITS option is available only in SAS 6.10 and later releases.
The following example illustrates the NOREADLIMITS option:
proc macontrol data=Pistons limits=Diamlim; machart Diameter*Hour; machart Diameter*Hour / noreadlimits span=3; run;
The first MACHART statement reads the control limits from the first observation in the data set Diamlim for which the variable _VAR_ is equal to 'Diameter' and the variable _SUBGRP_ is equal to 'Hour'. The second MACHART statement computes estimates of the process mean and standard deviation for the control limits from the measurements in the data set Pistons. Note that the second MACHART statement is equivalent to the following statements, which would be more commonly used:
proc macontrol data=Pistons; machart Diameter*Hour / span=3; run;
For more information about reading control limit parameters from a LIMITS= data set, see the READLIMITS option later in this list.
specifies that the variable _ALPHA_, rather than the variable _SIGMAS_, is to be read from a LIMITS= data set when both variables are available in the data set. Thus the limits displayed are probability limits. If you do not specify the READALPHA option, then _SIGMAS_ is read by default.
reads control limit parameters from a LIMITS= data set (specified in the PROC MACONTROL statement) for each process listed in the MACHART statement. The control limit parameters for a particular process are read from the first observation in the LIMITS= data set for which
the value of _VAR_ matches process
the value of _SUBGRP_ matches the subgroup-variable
the value of _INDEX_ matches value
The value can be up to 48 characters and must be enclosed in quotes.
specifies that control limit parameters are to be read from a LIMITS= data set specified in the PROC MACONTROL statement. The parameters for a particular process are read from the first observation in the LIMITS= data set for which
the value of _VAR_ matches process
the value of _SUBGRP_ matches the subgroup variable
The use of the READLIMITS option depends on which release of SAS/QC software you are using.
In SAS 6.10 and later releases, the READLIMITS option is not necessary. To read control limits parameters as described previously, you simply specify a LIMITS= data set. However, even though the READLIMITS option is redundant, it continues to function as in earlier releases.
In SAS 6.09 and earlier releases, you must specify the READLIMITS option to read control limits parameters as described previously. If you specify a LIMITS= data set without specifying the READLIMITS option (or the READINDEX= option), the control limits are computed from the data and the span of the moving averages is specified with the SPAN= option.
specifies a known (standard) value for the process standard deviation . The value must be positive. By default, the MACONTROL procedure estimates from the data using the formulas given in Methods for Estimating the Standard Deviation.
Note:As an alternative to specifying SIGMA0=, you can read a predetermined value for from the variable _STDDEV_ in a LIMITS= data set.
specifies the width of the control limits in terms of the multiple of the standard error of the plotted moving averages on the chart. The value of must be positive. By default, and the control limits are limits.
specifies the number of terms used to calculate the moving average (value is an integer greater than 1). The SPAN= option is required unless you read control limit parameters from a LIMITS= data set or a TABLE= data set. See Plotted Points and Choosing the Span of the Moving Average for details.
Copyright © SAS Institute, Inc. All Rights Reserved.