Chapter Contents |
Previous |
Next |
EWMACHART Statement |
The following tables list the EWMACHART statement options by function. Options unique to the MACONTROL procedure are listed in Table 20.1 and Table 20.2, and they are described in detail in "Dictionary of Special Options" . Options that are common to both the MACONTROL and SHEWHART procedures are listed in Table 20.3 to Table 20.18. They are described in detail beginning at Chapter 46, "Dictionary of Options," of Part 9, "The SHEWHART Procedure."
Table 20.1: Options for Specifying Exponentially Weighted Moving Average Charts*
ALPHA=value | requests probability limits for control charts |
ASYMPTOTIC | requests constant control limits based on asymptotic expressions |
LIMITN=n|VARYING | specifies either a fixed nominal sample size (n) for control limits or allows the control limits to vary with subgroup sample size |
MU0=value | specifies a standard (known) value for the process mean |
NOREADLIMITS | specifies that control limit parameters are not to be read from a LIMITS= data set (Release 6.10 and later releases) |
READALPHA | reads _ALPHA_ instead of _SIGMAS_ from the LIMITS= data set when both variables are available |
READINDEX='value' | 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 (Release 6.09 and earlier releases) |
RESET | requests that the value of the EWMA be reset after each out-of-control point |
SIGMA0=value | specifies standard (known) value for process standard deviation |
SIGMAS=k | specifies width of control limits in terms of multiple k of standard error of plotted EWMAs |
WEIGHT=value | specifies weight assigned to the most recent subgroup mean in the computation of the EWMA |
Table 20.2: Options for Plotting Subgroup Means*
CMEANSYMBOL=color | specifies color for MEANSYMBOL= symbol |
MEANCHAR='character' | specifies character to plot subgroup means on line printer |
MEANSYMBOL= keyword | specifies symbol to plot subgroup means on graphics device |
Table 20.3: Tabulation Options*
TABLE | creates a basic table of subgroup variable values, subgroup sample sizes, subgroup means, subgroup EWMAs, and control limits |
TABLEALL | equivalent to the options TABLE, TABLECENTRAL, TABLEID, and TABLEOUT |
TABLECENTRAL | augments basic table with the value of the central line |
TABLEID | augments basic table with columns for ID variables |
TABLEOUTLIM | augments basic table with columns indicating control limits exceeded |
Note that specifying (EXCEPTIONS) after a tabulation option creates a table for exceptional points.
Table 20.4: Axis and Axis Label Options*
CAXIS=color | specifies color for axis lines and tick marks |
CFRAME=color| (color-list) | specifies fill colors for frame for plot area |
CTEXT=color | specifies color for tick mark values and axis labels |
HAXIS=values|AXISn | specifies major tick mark values for horizontal axis |
HEIGHT=value | specifies height of axis label and axis legend text |
HMINOR=n | specifies minor tick marks between major horizontal tick marks |
HOFFSET=value | specifies length of offset at both ends of horizontal axis |
INTSTART=value | specifies first major tick mark value for numeric horizontal axis |
NOHLABEL | suppresses label for horizontal axis |
NOVANGLE | requests vertical axis labels that are strung out vertically |
SKIPHLABELS=n | specifies thinning factor for tick mark labels on horizontal axis |
SPLIT='character' | specifies splitting character for axis labels |
TURNHLABELS | requests horizontal axis labels that are strung out vertically |
VAXIS=values|AXISn | specifies major tick mark values for vertical axis on EWMA chart |
VAXIS2=values|AXISn | specifies major tick mark values for vertical axis on trend chart |
VMINOR=n | specifies minor tick marks between major vertical tick marks |
VOFFSET=value | specifies length of offset at both ends of vertical axis |
WAXIS=n | specifies width of axis lines |
Table 20.5: Process Mean and Standard Deviation Options*
SMETHOD=keyword | specifies method for estimating process standard deviation |
TYPE=keyword | identifies whether parameters are estimates or standard values and specifies value of _TYPE_ in OUTLIMITS= data set |
Table 20.6: Grid Options*
ENDGRID | adds grid after last plotted point |
GRID | adds grid to chart |
LENDGRID=linetype | specifies line type for grid requested with the ENDGRID option |
LGRID=linetype | specifies line type for grid requested with the GRID option |
WGRID=n | specifies width of grid lines |
CHREF=color | specifies color for HREF=and HREF2= lines |
CVREF=color | specifies color for VREF= and VREF2= lines |
HREF=values| SAS-data-set | specifies reference lines perpendicular to horizontal axis on EWMA chart |
HREF2=values| SAS-data-set | specifies reference lines perpendicular to horizontal axis on trend chart |
HREFCHAR='character' | specifies line character for HREF=and HREF2= lines |
HREFDATA= SAS-data-set | specifies position of reference lines perpendicular to horizontal axis on EWMA chart |
HREF2DATA= SAS-data-set | specifies position of reference lines perpendicular to horizontal axis on trend chart |
HREFLABELS= 'label1'...'labeln' | specifies labels for HREF=lines |
HREF2LABELS= 'label1'...'labeln' | specifies labels for HREF2= lines |
HREFLABPOS=n | specifies position of HREFLABELS= and HREF2LABELS= labels |
LHREF=linetype | specifies line type for HREF=and HREF2= lines |
LVREF=linetype | specifies line type for VREF= and VREF2= lines |
NOBYREF | specifies that reference line information in a data set is to be applied uniformly to charts created for all BY groups |
VREF=values| SAS-data-set | specifies reference lines perpendicular to vertical axis on EWMA chart |
VREF2=values| SAS-data-set | specifies reference lines perpendicular to vertical axis on trend chart |
VREFCHAR='character' | specifies line character for VREF= and VREF2= lines |
VREFLABELS= 'label1'...'labeln' | specifies labels for VREF= lines |
VREF2LABELS= 'label1'...'labeln' | specifies labels for VREF2= lines |
VREFLABPOS=n | specifies position of VREFLABELS= and VREF2LABELS= labels |
Table 20.8: Block Variable Legend Options*
BLOCKLABELPOS= keyword | specifies position of label for block-variable legend |
BLOCKLABTYPE= value|keyword | specifies text size of block-variable legend |
BLOCKPOS=n | specifies vertical position of block-variable legend |
BLOCKREP | repeats identical consecutive labels in block-variable legend |
CBLOCKLAB=color | specifies color for filling background in block-variable legend |
CBLOCKVAR=variable| (variables) | specifies one or more variables whose values are colors for filling background of block-variable legend |
Table 20.9: Options for Displaying Control Limits*
CINFILL=color | specifies color for area inside control limits |
CLIMITS=color | specifies color of control limits, central line, and related labels |
LCLLABEL='label' | specifies label for lower control limit |
LIMLABSUBCHAR= 'character' | specifies a substitution character for labels provided as quoted strings; the character is replaced with the value of the control limit |
LLIMITS=linetype | line type for control limits |
NDECIMAL=n | 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 center line |
NOLIMITS | suppresses display of control limits |
NOLIMITSLEGEND | suppresses legend for control limits |
NOUCL | suppresses display of upper control limit |
UCLLABEL='string' | specifies label for upper control limit |
WLIMITS=n | width for control limits and central line |
XSYMBOL='string'| keyword | specifies label for central line |
Table 20.10: Options for Interactive Control Charts*
HTML=(variable) | specifies a variable whose values are URLs to be associated with subgroups |
HTML_LEGEND= (variable) | specifies a variable whose values are URLs to be associated with symbols in the symbol legend |
WEBOUT=SAS-data-set | creates an OUTTABLE= data set with additional graphics coordinate data |
ALLLABEL=VALUE| (variable) | labels every point on EWMA chart |
ALLLABEL2=VALUE| (variable) | labels every point on trend chart |
CCONNECT=color | specifies color for line segments that connect points on chart |
CFRAMELAB=color | specifies fill color for frame around labeled points |
CNEEDLES=color | specifies color for needles that connect points to central line |
CONNECTCHAR= 'character' | specifies character used to form line segments that connect points on EWMA chart |
COUT=color | specifies color for line segments that connect points exceeding control limits |
COUTFILL=color | specifies color for areas between connected points and control limits |
LABELFONT=font | specifies a software font for labels requested by the ALLLABEL=, ALLLABEL2=, OUTLABEL=, and STARLABEL= options |
LABELHEIGHT=font | specifies the height (in vertical percent screen units) for labels requested by the ALLLABEL=, ALLLABEL2=, OUTLABEL=, and STARLABEL= options |
NEEDLES | connects points to central line with vertical needles |
NOCONNECT | suppresses line segments that connect points on EWMA chart |
NOTRENDCONNECT | suppresses line segments that connect points on trend chart |
OUTLABEL=VALUE| (variable) | labels points exceeding control limits |
SYMBOLCHARS= 'characters' | specifies characters indicating symbol-variable |
SYMBOLLEGEND= NONE|name | specifies LEGEND statement for levels of symbol-variable |
SYMBOLORDER= keyword | specifies order in which symbols are assigned for levels of symbol-variable |
TURNALL | turns point labels so that they are strung out vertically |
MISSBREAK | specifies that observations with missing values are not to be processed |
Table 20.13: Output Data Set Options*
OUTHISTORY= SAS-data-set | creates output data set containing subgroup summary statistics |
OUTINDEX='string' | specifies value of the variable _INDEX_ in OUTLIMITS= data set |
OUTLIMITS= SAS-data-set | creates output data set containing control limit parameters |
OUTPHASE='string' | specifies value of the variable _PHASE_ in OUTHISTORY= or OUTTABLE= data set |
OUTTABLE= SAS-data-set | creates output data set containing subgroup summary statistics and control limits |
Table 20.14: Plot Layout Options*
ALLN | plots EWMA for all subgroups |
BILEVEL | creates control charts using half-screens and half-pages |
EXCHART | creates control charts only when exceptions occur |
INTERVAL=keyword | specifies natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable |
MAXPANELS=n | specifies 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 EWMA chart |
NOFRAME | suppresses frame for plot area |
NOLEGEND | suppresses legend for subgroup sample sizes |
NPANELPOS=n | 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=n | specifies number of pages or screens to be used to display chart |
TRENDVAR=variable| (variable-list) | specifies list of trend variables |
YPCT1=value | 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 chart regardless of whether |
Table 20.15: Phase Options*
CPHASELEG=color | specifies text color for phase legend |
OUTPHASE='string' | specifies value of _PHASE_ in OUTHISTORY= data set |
PHASEBREAK | disconnects last point in a phase from first point in next phase |
PHASELABTYPE=value| keyword | specifies text size of phase legend |
PHASELEGEND | displays phase labels in a legend across top of chart |
PHASEREF | delineates phases with vertical reference lines |
READPHASES= ALL| 'label1'...'labeln' | specifies phases to be read from input data set |
ANNOTATE= SAS-data-set | specifies annotate data set that adds features to EWMA chart |
ANNOTATE2= SAS-data-set | specifies annotate data set that adds features to trend chart |
DESCRIPTION='string' | specifies string that appears in the description field of PROC GREPLAY master menu for EWMA chart |
FONT=font | specifies software font for labels and legends on chart |
NAME='string' | specifies name that appears in the name field of the PROC GREPLAY master menu for EWMA chart |
PAGENUM='string' | specifies the form of the label used in pagination |
PAGENUMPOS= keyword | specifies the position of the page number requested with the PAGENUM= option |
WTREND=n | specifies width of line segments connecting points on trend chart |
Table 20.17: Clipping Options*
CCLIP=color | color for plot symbol for clipped points |
CLIPCHAR='character' | plot character for clipped points |
CLIPFACTOR=value | determines extent to which extreme points are clipped |
CLIPLEGEND='string' | text for clipping legend |
CLIPLEGPOS=keyword | position of clipping legend |
CLIPSUBCHAR= 'character' | substitution character for CLIPLEGEND= text |
CLIPSYMBOL=symbol | plot symbol for clipped points |
Table 20.18: Star Options*
CSTARCIRCLES=color | specifies color for STARCIRCLES= circles |
CSTARFILL=color| (variable) | specifies color for filling stars |
CSTAROUT=color | specifies outline color for stars exceeding inner or outer circles |
CSTARS=color| (variable) | specifies color for outlines of stars |
LSTARCIRCLES= linetypes | specifies line types for STARCIRCLES= circles |
LSTARS=linetype| (variable) | specifies line types for outlines of stars requested with the STARVERTICES= option |
STARBDRADIUS=value | specifies radius of outer bound circle for vertices of stars |
STARCIRCLES=value-list | specifies reference circles for stars |
STARINRADIUS=value | specifies inner radius of stars |
STARLABEL=keyword | specifies vertices to be labeled |
STARLEGEND=keyword | specifies style of legend for star vertices |
STARLEGENDLAB= 'label' | specifies label for STARLEGEND= legend |
STAROUTRADIUS=value | specifies outer radius of stars |
STARSPEC=value| SAS-data-set | specifies method used to standardize vertex variables |
STARSTART=value | specifies angle for first vertex |
STARTYPE=keyword | specifies graphical style of star |
STARVERTICES= variable|(variables) | superimposes star at each point on EWMA chart |
WSTARCIRCLES=n | specifies width of STARCIRCLES= circles |
WSTARS=n | specifies width of STARVERTICES= stars |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.