The MACONTROL Procedure


Syntax: INSET Statement

The syntax for the INSET statement is as follows:

  • INSET keyword-list </ options>;

You can use any number of INSET statements in the MACONTROL procedure. However, when ODS Graphics is enabled, at most two insets are displayed inside the plot area and at most two are displayed in the chart margins. Each INSET statement produces a separate inset and must follow an EWMACHART or MACHART statement. The inset appears on every panel (page) produced by the last chart statement preceding it.

Keywords specify the statistics to be displayed in an inset; options control the inset’s location and appearance. A complete description of the INSET statement syntax is given in the section Syntax: INSET and INSET2 Statements of Chapter 18: The SHEWHART Procedure. The INSET statement options are identical in the MACONTROL and SHEWHART procedures, but the available keywords are different. The options are listed in Table 18.77. The keywords available with the MACONTROL procedure are listed in Table 9.21 to Table 9.24.

Table 9.21: Summary Statistics

Keyword

Description

MEAN

estimated or specified process mean

N

nominal subgroup size

NMIN

minimum subgroup size

NMAX

maximum subgroup size

NOUT

number of subgroups outside control limits

NLOW

number of subgroups below lower control limit

NHIGH

number of subgroups above upper control limit

STDDEV

estimated or specified process standard deviation

DATA=

arbitrary values from SAS-data-set


Table 9.22: Parameter for Uniformly Weighted Moving Average Charts

Keyword

Description

SPAN

number of terms used to calculate moving average


Table 9.23: Parameter for Exponentially Weighted Moving Average Charts

Keyword

Description

WEIGHT

weight assigned to most recent subgroup mean in computation of the EWMA


You can use the keywords in Table 9.24 only when producing ODS Graphics output. The labels for the statistics use Greek letters.

Table 9.24: Keywords Specific to ODS Graphics Output

Keyword

Description

UMU

estimated or specified process mean

USIGMA

estimated or specified process standard deviation