Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
MACHART Statement

Summary of Options

The following tables list the MACHART statement options by function. Options unique to the MACONTROL procedure are listed in Table 21.1 and Table 21.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 21.3 to Table 21.18. They are described in detail beginning at Chapter 46, "Dictionary of Options," of Part 9, "The SHEWHART Procedure."

Table 21.1: Options for Specifying Uniformly Weighted Moving Average Charts*
ALPHA=valuerequests probability limits for control charts
ASYMPTOTICrequests constant control limits
LIMITN=n|VARYINGspecifies either a fixed nominal sample size (n) for control limits or allows the control limits to vary with subgroup sample size
MU0=valuespecifies a standard (known) value \mu_{0} for the process mean
NOREADLIMITSspecifies that control limit parameters are not to be read from LIMITS= data set (Release 6.10 and later releases)
READALPHAreads _ALPHA_ instead of _SIGMAS_ from 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
READLIMITSreads control limit parameters from a LIMITS= data set (Release 6.09 and earlier releases)
SIGMA0=valuespecifies standard (known) value \sigma_{0} for process standard deviation
SIGMAS=kspecifies width of control limits in terms of multiple k of standard error of plotted moving averages
SPAN=valuespecifies the number of terms in the moving average

Table 21.2: Options for Plotting Subgroup Means*
CMEANSYMBOL=colorspecifies color for MEANSYMBOL= symbol
MEANCHAR='character'specifies character to plot subgroup means on line printer
MEANSYMBOL= keywordspecifies symbol to plot subgroup means on graphics device

Table 21.3: Tabulation Options*
TABLEcreates a basic table of subgroup variable values, subgroup sample sizes, subgroup means, subgroup moving averages, and control limits
TABLEALLis equivalent to the options TABLE, TABLECENTRAL, TABLEID, and TABLEOUTLIM
TABLECENTRALaugments basic table with the value of the central line
TABLEIDaugments basic table with columns for ID variables
TABLEOUTLIMaugments basic table with columns indicating control limits exceeded

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

Table 21.4: Axis and Axis Label Options*
CAXIS=colorspecifies color for axis lines and tick marks
CFRAME=color| (color-list)specifies fill colors for frame for plot area
CTEXT=colorspecifies color for tick mark values and axis labels
HAXIS=values|AXISnspecifies major tick mark values for horizontal axis
HEIGHT=valuespecifies height of axis label and axis legend text
HMINOR=nspecifies minor tick marks between major horizontal tick marks
HOFFSET=valuespecifies length of offset at both ends of horizontal axis
INTSTART=valuespecifies first major tick mark value for numeric horizontal axis
NOHLABELsuppresses label for horizontal axis
NOVANGLErequests vertical axis labels that are strung out vertically
SKIPHLABELS=nspecifies thinning factor for tick mark labels on horizontal axis
SPLIT='character'specifies splitting character for axis labels
TURNHLABELSrequests horizontal axis labels that are strung out vertically
VAXIS=values|AXISnspecifies major tick mark values for vertical axis on moving average chart
VAXIS2=values|AXISnspecifies major tick mark values for vertical axis on trend chart
VMINOR=nspecifies minor tick marks between major vertical tick marks
VOFFSET=valuespecifies length of offset at both ends of vertical axis
WAXIS=nspecifies width of axis lines

Table 21.5: Process Mean and Standard Deviation Options*
SMETHOD=keywordspecifies method for estimating process standard deviation \sigma
TYPE=keywordidentifies whether parameters are estimates or standard values and specifies value of _TYPE_ in OUTLIMITS= data set

Table 21.6: Grid Options*
ENDGRIDadds grid after last plotted point
GRIDadds grid to chart
LENDGRID=linetypespecifies line type for grid requested with the ENDGRID option
LGRID=linetypespecifies line type for grid requested with the GRID option
WGRID=nspecifies width of grid lines

Table 21.7: Reference Line Options*
CHREF=colorspecifies color for HREF=and HREF2= lines
CVREF=colorspecifies color for VREF= and VREF2= lines
HREF=values| SAS-data-setspecifies reference lines perpendicular to horizontal axis on moving average chart
HREF2=values| SAS-data-setspecifies reference lines perpendicular to horizontal axis on trend chart
HREFCHAR='character'specifies line character for HREF=and HREF2= lines
HREFDATA= SAS-data-setspecifies position of reference lines perpendicular to horizontal axis on moving average chart
HREF2DATA= SAS-data-setspecifies 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=nspecifies position of HREFLABELS= and HREF2LABELS= labels
LHREF=linetypespecifies line type for HREF=and HREF2= lines
LVREF=linetypespecifies line type for VREF= and VREF2= lines
NOBYREFspecifies that reference line information in a data set is to be applied uniformly to charts created for all BY groups
VREF=values| SAS-data-setspecifies reference lines perpendicular to vertical axis on moving average chart
VREF2=values| SAS-data-setspecifies 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=nspecifies position of VREFLABELS= and VREF2LABELS= labels

Table 21.8: Block Variable Legend Options*
BLOCKLABELPOS= keywordspecifies position of label for block-variable legend
BLOCKLABTYPE= value|keywordspecifies text size of block-variable legend
BLOCKPOS=nspecifies vertical position of block-variable legend
BLOCKREPrepeats identical consecutive labels in block-variable legend
CBLOCKLAB=colorspecifies 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 21.9: Options for Displaying Control Limits*
CINFILL=colorspecifies color for area inside control limits
CLIMITS=colorspecifies 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=linetypeline type for control limits
NDECIMAL=nspecifies number of digits to right of decimal place in default labels for control limits and central line
NOCTLsuppresses display of central line
NOLCLsuppresses display of lower control limit
NOLIMITLABELsuppresses labels for control limits and center line
NOLIMITSsuppresses display of control limits
NOLIMITSLEGENDsuppresses legend for control limits
NOUCLsuppresses display of upper control limit
UCLLABEL='string'specifies label for upper control limit
WLIMITS=nwidth for control limits and central line
XSYMBOL='string'| keywordspecifies label for central line

Table 21.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-setcreates an OUTTABLE= data set with additional graphics coordinate data

Table 21.11: Options for Plotting and Labeling Points*
  
ALLLABEL=VALUE| (variable)labels every point on moving average chart
ALLLABEL2=VALUE| (variable)labels every point on trend chart
CCONNECT=colorspecifies color for line segments that connect points on chart
CFRAMELAB=colorspecifies fill color for frame around labeled points
CNEEDLES=colorspecifies color for needles that connect points to central line
CONNECTCHAR= 'character'specifies character used to form line segments that connect points on moving average chart
COUT=colorspecifies color for line segments that connect points exceeding control limits
COUTFILL=colorspecifies color for areas between connected points and control limits
LABELFONT=fontspecifies a software font for labels requested by the ALLLABEL=, ALLLABEL2=, OUTLABEL=, and STARLABEL= options
LABELHEIGHT=fontspecifies the height (in vertical percent screen units) for labels requested by the ALLLABEL=, ALLLABEL2=, OUTLABEL=, and STARLABEL= options
NEEDLESconnects points to central line with vertical needles
NOCONNECTsuppresses line segments that connect points on moving average chart
NOTRENDCONNECTsuppresses 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|namespecifies LEGEND statement for levels of symbol-variable
SYMBOLORDER= keywordspecifies order in which symbols are assigned for levels of symbol-variable
TURNALLturns point labels so that they are strung out vertically

Table 21.12: Input Data Set Options*
MISSBREAKspecifies that observations with missing values are not to be processed

Table 21.13: Output Data Set Options*
OUTHISTORY= SAS-data-setcreates output data set containing subgroup summary statistics
OUTINDEX='string'specifies value of the variable _INDEX_ in OUTLIMITS= data set
OUTLIMITS= SAS-data-setcreates output data set containing control limit parameters
OUTPHASE='string'specifies value of the variable _PHASE_ in OUTHISTORY= or OUTTABLE= data set
OUTTABLE= SAS-data-setcreates output data set containing subgroup summary statistics and control limits

Table 21.14: Plot Layout Options*
ALLNplots moving averages for all subgroups
BILEVELcreates control charts using half-screens and half-pages
EXCHARTcreates control charts only when exceptions occur
INTERVAL=keywordspecifies natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable
MAXPANELS=nspecifies maximum number of pages or screens for chart
NMARKERSrequests special markers for points corresponding to sample sizes not equal to nominal sample size for fixed control limits
NOCHARTsuppresses creation of moving average chart
NOFRAMEsuppresses frame for plot area
NOLEGENDsuppresses legend for subgroup sample sizes
NPANELPOS=nspecifies number of subgroup positions per panel on each chart
REPEATrepeats last subgroup position on panel as first subgroup position of next panel
TOTPANELS=nspecifies number of pages or screens to be used to display chart
TRENDVAR=variable| (variable-list)specifies list of trend variables
YPCT1=valuespecifies length of vertical axis on EWMA chart as a percentage of sum of lengths of vertical axes for EWMA and trend charts
ZEROSTDdisplays \bar{X} chart regardless of whether \hat{\sigma} = 0

Table 21.15: Phase Options*
CPHASELEG=colorspecifies text color for phase legend
OUTPHASE='string'specifies value of _PHASE_ in OUTHISTORY= data set
PHASEBREAKdisconnects last point in a phase from first point in next phase
PHASELABTYPE=value| keywordspecifies text size of phase legend
PHASELEGENDdisplays phase labels in a legend across top of chart
PHASEREFdelineates phases with vertical reference lines
READPHASES= ALL| 'label1'...'labeln'specifies phases to be read from input data set

Table 21.16: Graphical Enhancement Options*
  
ANNOTATE= SAS-data-setspecifies annotate data set that adds features to moving average chart
ANNOTATE2= SAS-data-setspecifies 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 moving average chart
FONT=fontspecifies 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 moving average chart
PAGENUM='string'specifies the form of the label used in pagination
PAGENUMPOS= keywordspecifies the position of the page number requested with the PAGENUM= option

Table 21.17: Clipping Options*
CCLIP=colorcolor for plot symbol for clipped points
CLIPCHAR='character'plot character for clipped points
CLIPFACTOR=valuedetermines extent to which extreme points are clipped
CLIPLEGEND='string'text for clipping legend
CLIPLEGPOS=keywordposition of clipping legend
CLIPSUBCHAR= 'character'substitution character for CLIPLEGEND= text
CLIPSYMBOL=symbolplot symbol for clipped points

Table 21.18: Star Options*
CSTARCIRCLES=colorspecifies color for STARCIRCLES= circles
CSTARFILL=color| (variable)specifies color for filling stars
CSTAROUT=colorspecifies outline color for stars exceeding inner or outer circles
CSTARS=color| (variable)specifies color for outlines of stars
LSTARCIRCLES= linetypesspecifies line types for STARCIRCLES= circles
LSTARS=linetype| (variable)specifies line types for outlines of stars requested with the STARVERTICES= option
STARBDRADIUS=valuespecifies radius of outer bound circle for vertices of stars
STARCIRCLES=value-listspecifies reference circles for stars
STARINRADIUS=valuespecifies inner radius of stars
STARLABEL=keywordspecifies vertices to be labeled
STARLEGEND=keywordspecifies style of legend for star vertices
STARLEGENDLAB= 'label'specifies label for STARLEGEND= legend
STAROUTRADIUS=valuespecifies outer radius of stars
STARSPEC=value| SAS-data-setspecifies method used to standardize vertex variables
STARSTART=valuespecifies angle for first vertex
STARTYPE=keywordspecifies graphical style of star
STARVERTICES= variable|(variables)superimposes star at each point on moving average chart
WSTARCIRCLES=nspecifies width of STARCIRCLES= circles
WSTARS=nspecifies width of STARVERTICES= stars

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.