EWMACHART Statement: MACONTROL Procedure

Summary of Options

The following tables list the EWMACHART statement options by function. Options unique to the MACONTROL procedure are listed in Table 9.2, and are described in detail in the section Dictionary of Special Options. Options that are common to both the MACONTROL and SHEWHART procedures are listed in Table 9.3. They are described in detail in Dictionary of Options: SHEWHART Procedure.

Table 9.2: EWMACHART Statement Special Options

Option

Description

Options for Specifying Exponentially Weighted Moving Average Charts

ALPHA=

Requests probability limits for control charts

ASYMPTOTIC

Requests constant control limits based on asymptotic expressions

LIMITN=

Specifies either a fixed nominal sample size (n) for control limits or allows the control limits to vary with subgroup sample size

MU0=

Specifies a standard (known) value $\mu _{0}$ for the process mean

NOREADLIMITS

Specifies that control limit parameters are not to be read from a LIMITS= data set

READALPHA

Reads _ALPHA_ instead of _SIGMAS_ from the LIMITS= data set when both variables are available

READINDEX=

Reads control limit parameters from the first observation in the LIMITS= data set where the variable _INDEX_ equals value

READLIMITS

Reads control limit parameters from a LIMITS= data set (SAS 6.09 and earlier releases)

RESET

Requests that the value of the EWMA be reset after each out-of-control point

SIGMA0=

Specifies standard (known) value $\sigma _{0}$ for process standard deviation

SIGMAS=

Specifies width of control limits in terms of multiple of standard error of plotted EWMAs

WEIGHT=

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

Options for Plotting Subgroup Means

CMEANSYMBOL=

Specifies color for MEANSYMBOL= symbol

MEANCHAR=

Specifies character to plot subgroup means on line printer charts

MEANSYMBOL=

Specifies symbol to plot subgroup means in traditional graphics


Table 9.3: EWMACHART Statement General Options

Option

Description

Options for Displaying Control Limits

CINFILL=

Specifies color for area inside control limits

CLIMITS=

Specifies color of control limits, central line, and related labels

LCLLABEL=

Specifies label for lower control limit

LIMLABSUBCHAR=

Specifies a substitution character for labels provided as quoted strings; the character is replaced with the value of the control limit

LLIMITS=

Specifies line type for control limits

NDECIMAL=

Specifies number of digits to right of decimal place in default labels for control limits and central line

NOCTL

Suppresses display of central line

NOLCL

Suppresses display of lower control limit

NOLIMITLABEL

Suppresses labels for control limits and central line

NOLIMITS

Suppresses display of control limits

NOLIMITSFRAME

Suppresses default frame around control limit information when multiple sets of control limits are read from a LIMITS= data set

NOLIMITSLEGEND

Suppresses legend for control limits

NOUCL

Suppresses display of upper control limit

UCLLABEL=

Specifies label for upper control limit

WLIMITS=

Specifies width for control limits and central line

XSYMBOL=

Specifies label for central line

Process Mean and Standard Deviation Options

SMETHOD=

Specifies method for estimating process standard deviation $\sigma $

TYPE=

Identifies parameters as estimates or standard values and specifies value of _TYPE_ in the OUTLIMITS= data set

Options for Plotting and Labeling Points

ALLLABEL=

Labels every point on EWMA chart

ALLLABEL2=

Labels every point on trend chart

CLABEL=

Specifies color for labels

CCONNECT=

Specifies color for line segments that connect points on chart

CFRAMELAB=

Specifies fill color for frame around labeled points

CNEEDLES=

Specifies color for needles that connect points to central line

COUT=

Specifies color for portions of line segments that connect points outside control limits

COUTFILL=

Specifies color for shading areas between the connected points and control limits outside the limits

LABELANGLE=

Specifies angle at which labels are drawn

LABELFONT=

Specifies software font for labels (alias for the TESTFONT= option)

LABELHEIGHT=

Specifies height of labels (alias for the TESTHEIGHT= option)

NEEDLES

connects points to central line with vertical needles

NOCONNECT

Suppresses line segments that connect points on chart

NOTRENDCONNECT

Suppresses line segments that connect points on trend chart

OUTLABEL=

Labels points outside control limits

SYMBOLLEGEND=

Specifies LEGEND statement for levels of symbol-variable

SYMBOLORDER=

Specifies order in which symbols are assigned for levels of symbol-variable

TURNALL|TURNOUT

turns point labels so that they are strung out vertically

WNEEDLES=

Specifies width of needles

Axis and Axis Label Options

CAXIS=

Specifies color for axis lines and tick marks

CFRAME=

Specifies fill colors for frame for plot area

CTEXT=

Specifies color for tick mark values and axis labels

DISCRETE

Produces horizontal axis for discrete numeric group values

HAXIS=

Specifies major tick mark values for horizontal axis

HEIGHT=

Specifies height of axis label and axis legend text

HMINOR=

Specifies number of minor tick marks between major tick marks on horizontal axis

HOFFSET=

Specifies length of offset at both ends of horizontal axis

INTSTART=

Specifies first major tick mark value on horizontal axis when a date, time, or datetime format is associated with numeric subgroup variable

NOHLABEL

Suppresses label for horizontal axis

NOTICKREP

Specifies that only the first occurrence of repeated, adjacent subgroup values is to be labeled on horizontal axis

NOVANGLE

Requests vertical axis labels that are strung out vertically

NOVLABEL

Suppresses label for primary vertical axis

NOV2LABEL

Suppresses label for secondary vertical axis

SKIPHLABELS=

Specifies thinning factor for tick mark labels on horizontal axis

SPLIT=

Specifies splitting character for axis labels

TURNHLABELS

Requests horizontal axis labels that are strung out vertically

VAXIS=

Specifies major tick mark values for vertical axis of EWMA chart

VAXIS2=

Specifies major tick mark values for vertical axis of trend chart

VFORMAT=

Specifies format for primary vertical axis tick mark labels

VFORMAT2=

Specifies format for secondary vertical axis tick mark labels

VMINOR=

Specifies number of minor tick marks between major tick marks on vertical axis

VOFFSET=

Specifies length of offset at both ends of vertical axis

VZERO

Forces origin to be included in vertical axis for primary chart

VZERO2

Forces origin to be included in vertical axis for secondary chart

WAXIS=

Specifies width of axis lines

Plot Layout Options

ALLN

Plots means for all subgroups

BILEVEL

Creates control charts using half-screens and half-pages

EXCHART

Creates control charts for a process only when exceptions occur

INTERVAL=

Specifies the natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable

MAXPANELS=

Specifies the maximum number of pages or screens for chart

NMARKERS

Requests special markers for points corresponding to sample sizes not equal to nominal sample size for fixed control limits

NOCHART

Suppresses creation of chart

NOFRAME

Suppresses frame for plot area

NOLEGEND

Suppresses legend for subgroup sample sizes

NPANELPOS=

Specifies number of subgroup positions per panel on each chart

REPEAT

Repeats last subgroup position on panel as first subgroup position of next panel

TOTPANELS=

Specifies number of pages or screens to be used to display chart

TRENDVAR=

Specifies list of trend variables

YPCT1=

Specifies length of vertical axis on EWMA chart as a percentage of sum of lengths of vertical axes for EWMA and trend charts

ZEROSTD

Displays EWMA chart regardless of whether $\hat{\sigma } = 0$

Reference Line Options

CHREF=

Specifies color for lines requested by HREF= and HREF2= options

CVREF=

Specifies color for lines requested by VREF= and VREF2= options

HREF=

Specifies position of reference lines perpendicular to horizontal axis on EWMA chart

HREF2=

Specifies position of reference lines perpendicular to horizontal axis on trend chart

HREFDATA=

Specifies position of reference lines perpendicular to horizontal axis on EWMA chart

HREF2DATA=

Specifies position of reference lines perpendicular to horizontal axis on trend chart

HREFLABELS=

Specifies labels for HREF= lines

HREF2LABELS=

Specifies labels for HREF2= lines

HREFLABPOS=

Specifies position of HREFLABELS= and HREF2LABELS= labels

LHREF=

Specifies line type for HREF= and HREF2= lines

LVREF=

Specifies line type for VREF= and VREF2= lines

NOBYREF

Specifies that reference line information in a data set applies uniformly to charts created for all BY groups

VREF=

Specifies position of reference lines perpendicular to vertical axis on EWMA chart

VREF2=

Specifies position of reference lines perpendicular to vertical axis on trend chart

VREFLABELS=

Specifies labels for VREF= lines

VREF2LABELS=

Specifies labels for VREF2= lines

VREFLABPOS=

Specifies the position of VREFLABELS= and VREF2LABELS= labels

Grid Options

CGRID=

Specifies color for grid requested with GRID or ENDGRID option

ENDGRID

Adds grid after last plotted point

GRID

Adds grid to control chart

LENDGRID=

Specifies line type for grid requested with the ENDGRID option

LGRID=

Specifies line type for grid requested with the GRID option

WGRID=

Specifies width of grid lines

Clipping Options

CCLIP=

Specifies color for plot symbol for clipped points

CLIPFACTOR=

Determines extent to which extreme points are clipped

CLIPLEGEND=

Specifies text for clipping legend

CLIPLEGPOS=

Specifies position of clipping legend

CLIPSUBCHAR=

Specifies substitution character for CLIPLEGEND= text

CLIPSYMBOL=

Specifies plot symbol for clipped points

CLIPSYMBOLHT=

Specifies symbol marker height for clipped points

Graphical Enhancement Options

ANNOTATE=

Specifies annotate data set that adds features to EWMA chart

ANNOTATE2=

Specifies annotate data set that adds features to trend chart

DESCRIPTION=

Specifies description of EWMA chart’s GRSEG catalog entry

FONT=

Specifies software font for labels and legends on charts

NAME=

Specifies name of EWMA chart’s GRSEG catalog entry

PAGENUM=

Specifies the form of the label used in pagination

PAGENUMPOS=

Specifies the position of the page number requested with the PAGENUM= option

WTREND=

Specifies width of line segments connecting points on trend chart

Options for Producing Graphs Using ODS Styles

BLOCKVAR=

Specifies one or more variables whose values define colors for filling background of block-variable legend

CFRAMELAB

Draws a frame around labeled points

COUT

Draws portions of line segments that connect points outside control limits in a contrasting color

CSTAROUT

Specifies that portions of stars exceeding inner or outer circles are drawn using a different color

OUTFILL

Draws areas between control limits and connected points lying outside the limits

STARFILL=

Specifies a variable identfying groups of stars filled with different colors

STARS=

Specifies a variable identfying groups of stars whose outlines are drawn with different colors

Options for ODS Graphics

BLOCKREFTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

INFILLTRANSPARENCY=

Specifies the control limit infill transparency

MARKERS

Plots subgroup points with markers

NOBLOCKREF

Suppresses block and phase reference lines

NOBLOCKREFFILL

Suppresses block and phase wall fills

NOFILLLEGEND

Suppresses legend for levels of a STARFILL= variable

NOPHASEREF

Suppresses block and phase reference lines

NOPHASEREFFILL

Suppresses block and phase wall fills

NOREF

Suppresses block and phase reference lines

NOREFFILL

Suppresses block and phase wall fills

NOSTARFILLLEGEND

Suppresses legend for levels of a STARFILL= variable

NOTRANSPARENCY

Disables transparency in ODS Graphics output

ODSFOOTNOTE=

Specifies a graph footnote

ODSFOOTNOTE2=

Specifies a secondary graph footnote

ODSLEGENDEXPAND

Specifies that legend entries contain all levels observed in the data

ODSTITLE=

Specifies a graph title

ODSTITLE2=

Specifies a secondary graph title

OUTFILLTRANSPARENCY=

Specifies control limit outfill transparency

OVERLAYURL=

Specifies URLs to associate with overlay points

OVERLAY2URL=

Specifies URLs to associate with overlay points on secondary chart

PHASEPOS=

Specifies vertical position of phase legend

PHASEREFLEVEL=

Associates phase and block reference lines with either innermost or the outermost level

PHASEREFTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

REFFILLTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

SIMULATEQCFONT

Draws central line labels using a simulated software font

STARTRANSPARENCY=

Specifies star fill transparency

URL=

Specifies a variable whose values are URLs to be associated with subgroups

URL2=

Specifies a variable whose values are URLs to be associated with subgroups on secondary chart

Input Data Set Options

MISSBREAK

Specifies that observations with missing values are not to be processed

Output Data Set Options

OUTHISTORY=

Creates output data set containing subgroup summary statistics

OUTINDEX=

Specifies value of _INDEX_ in the OUTLIMITS= data set

OUTLIMITS=

Creates output data set containing control limits

OUTTABLE=

Creates output data set containing subgroup summary statistics and control limits

Tabulation Options

Note: specifying (EXCEPTIONS) after a tabulation option creates a table for exceptional points only.

TABLE

Creates a basic table of subgroup means, subgroup sample sizes, and control limits

TABLEALL

Creates all the tables that are produced by the TABLE, TABLECENTRAL, TABLEID, TABLELEGEND, TABLEOUTLIM, and TABLETESTS options

TABLECENTRAL

Augments basic table with values of central lines

TABLEID

Augments basic table with columns for ID variables

TABLEOUTLIM

Augments basic table with columns indicating control limits exceeded

Block Variable Legend Options

BLOCKLABELPOS=

Specifies position of label for block-variable legend

BLOCKLABTYPE=

Specifies text size of block-variable legend

BLOCKPOS=

Specifies vertical position of block-variable legend

BLOCKREP

Repeats identical consecutive labels in block-variable legend

CBLOCKLAB=

Specifies fill colors for frames enclosing variable labels in block-variable legend

CBLOCKVAR=

Specifies one or more variables whose values are colors for filling background of block-variable legend

Phase Options

CPHASELEG=

Specifies text color for phase legend

OUTPHASE=

Specifies value of _PHASE_ in the OUTHISTORY= data set

PHASEBREAK

Disconnects last point in a phase from first point in next phase

PHASELABTYPE=

Specifies text size of phase legend

PHASELEGEND

Displays phase labels in a legend across top of chart

PHASELIMITS

Labels control limits for each phase, provided they are constant within that phase

PHASEREF

Delineates phases with vertical reference lines

READPHASES=

Specifies phases to be read from an input data set

Star Options

CSTARCIRCLES=

Specifies color for STARCIRCLES= circles

CSTARFILL=

Specifies color for filling stars

CSTAROUT=

Specifies outline color for stars exceeding inner or outer circles

CSTARS=

Specifies color for outlines of stars

LSTARCIRCLES=

Specifies line types for STARCIRCLES= circles

LSTARS=

Specifies line types for outlines of STARVERTICES= stars

STARBDRADIUS=

Specifies radius of outer bound circle for vertices of stars

STARCIRCLES=

Specifies reference circles for stars

STARINRADIUS=

Specifies inner radius of stars

STARLABEL=

Specifies vertices to be labeled

STARLEGEND=

Specifies style of legend for star vertices

STARLEGENDLAB=

Specifies label for STARLEGEND= legend

STAROUTRADIUS=

Specifies outer radius of stars

STARSPECS=

Specifies method used to standardize vertex variables

STARSTART=

Specifies angle for first vertex

STARTYPE=

Specifies graphical style of star

STARVERTICES=

Superimposes star at each point on EWMA chart

WSTARCIRCLES=

Specifies width of STARCIRCLES= circles

WSTARS=

Specifies width of STARVERTICES= stars

Options for Interactive Control Charts

HTML=

Specifies a variable whose values create links to be associated with subgroups

HTML2=

Specifies variable whose values create links to be associated with subgroups on secondary chart

HTML_LEGEND=

Specifies a variable whose values create links to be associated with symbols in the symbol legend

WEBOUT=

Creates an OUTTABLE= data set with additional graphics coordinate data

Options for Line Printer Charts

CLIPCHAR=

Specifies plot character for clipped points

CONNECTCHAR=

Specifies character used to form line segments that connect points on chart

HREFCHAR=

Specifies line character for HREF= and HREF2= lines

SYMBOLCHARS=

Specifies characters indicating symbol-variable

VREFCHAR=

Specifies line character for VREF= and VREF2= lines