Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
XCHART Statement

Summary of Options

The following tables list the XCHART statement options by function. Options unique to the CUSUM procedure are listed in Table 12.1 to Table 12.5, and they are described in detail in "Dictionary of Special Options" . Options that are common to both the CUSUM and SHEWHART procedures are listed in Table 12.14 to Table 12.17. They are described in detail in Part 9, "The SHEWHART Procedure."

Table 12.1: Options for Specifying a One-Sided (Decision Interval) Cusum Scheme*
DELTA=valuespecifies shift to be detected as a multiple of standard error
H=valuespecifies decision interval h (h > 0) as a multiple of standard error
HEADSTART=valuespecifies headstart value S0 as a multiple of standard error
K=valuespecifies reference value k (k > 0)
LIMITN=nspecifies fixed nominal sample size for cusum scheme
LIMITN=VARYINGspecifies that cusums are to be computed for all subgroups regardless of sample size
MU0=valuespecifies target \mu_{0} for mean
NOREADLIMITSspecifies that cusum parameters are not to be read from LIMITS= data set (Release 6.10 and later releases)
READINDEX='value'reads cusum scheme parameters from a LIMITS= data set
READLIMITSspecifies that cusum parameters are to be read from LIMITS= data set (Release 6.09 and earlier releases)
SCHEME=ONESIDEDspecifies a one-sided scheme
SHIFT=valuespecifies shift to be detected in data units
SIGMA0=valuespecifies standard (known) value \sigma_{0} for process standard deviation

Table 12.2: Options for Specifying a Two-Sided (V-Mask) Cusum Scheme*
ALPHA=valuespecifies probability of Type 1 error
BETA=valuespecifies probability of Type 2 error
H=valuespecifies vertical distance between V-mask origin and upper (or lower) arm
K=valuespecifies slope of lower arm of V-mask
LIMITN=nspecifies fixed nominal sample size for cusum scheme
LIMITN=VARYINGspecifies that cusums are to be computed for all subgroups regardless of sample size
NOREADLIMITSspecifies that cusum parameters are not to be read from LIMITS= data set (Release 6.10 and later releases)
READINDEX='value'reads cusum scheme parameters from a LIMITS= data set
READLIMITSspecifies that cusum parameters are to be read from LIMITS= data set (Release 6.09 and earlier releases)
READSIGMASreads _SIGMAS_ instead of _ALPHA_ from LIMITS= data set when both variables are available
SIGMAS=valuespecifies probability of Type 1 error as probability that standard normally distributed variable exceeds value in absolute value

Table 12.3: Options for Estimating Process Standard Deviation *
SMETHOD=keywordspecifies method for estimating process standard deviation \sigma
TYPE=keywordidentifies whether _STDDEV_ in OUTLIMITS= data set is an estimate or standard, and specifies value of _TYPE_ in OUTLIMITS= data set

Table 12.4: Options for Displaying Decision Interval or V-Mask *
CINFILL=colorspecifies color for area under decision interval line or inside V-mask
CLIMITS=colorspecifies color of decision interval line
CMASK=colorspecifies color of V-mask outline
LLIMITS=linetypespecifies line type for decision interval
LMASK=linetypespecifies line type for V-mask arms
NOMASKsuppresses display of V-mask
ORIGIN=value|'value'specifies value of subgroup-variable locating origin of V-mask
WLIMITS=nspecifies line width for decision interval
WMASK=nspecifies line width for V-mask

Table 12.5: Tabulation Options*
TABLEALLspecifies the options TABLECHART, TABLECOMP, TABLEID, TABLEOUT, and TABLESUMMARY
TABLECHARTtabulates the information displayed in the cusum chart
TABLECOMPtabulates the computational form of the cusum scheme as described by Lucas (1976) and Lucas and Crosier (1982)
TABLEIDaugments TABLECHART and TABLECOMP tables with columns for ID variables
TABLEOUTaugments TABLECHART table with a column indicating if the decision interval or V-mask was exceeded
TABLESUMMARYtabulates the parameters for the cusum scheme and the average run lengths corresponding to shifts of zero and \delta

Note that specifying (EXCEPTIONS) after the option TABLECHART creates a table for exceptional points only.

Table 12.6: Axis and Axis Label Options*
CAXIS=colorspecifies color for axis lines and tick marks
CFRAME=color| (color-list)specifies fill color(s) for frame for plot area
CTEXT=colorspecifies color for tick mark values and axis labels
HAXIS=values|AXISnspecifies tick mark values for horizontal axis
HEIGHT=valuespecifies height of axis label and axis legend text
HMINOR=nspecifies number of minor tick marks between major tick marks on horizontal axis
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=value-list|namespecifies major tick mark values for vertical axis of cusum chart
VAXIS2=value-list| namespecifies major tick mark values for vertical axis of trend chart
VMINOR=nspecifies number of minor tick marks between major tick marks on vertical axis
VOFFSET=valuespecifies length of offset at both ends of vertical axis
WAXIS=nspecifies width of axis lines

Table 12.7: 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 12.8: 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 cusum 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 cusum 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 cusum 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 12.9: Options for Plotting and Labeling Points*
  
ALLLABEL=VALUE| (variable)labels every point on cusum 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
CONNECTCHAR= 'character'specifies character used to form line segments that connect points on chart
COUT=colorspecifies color for connecting line segments that lie above the decision interval or outside the V-mask
COUTFILL=colorspecifies color for areas between connected points and decision interval or V-mask
NOCONNECTsuppresses line segments that connect points on chart
NOTRENDCONNECTsuppresses line segments that connect points on trend chart
OUTLABEL=VALUE| (variable)labels points exceeding decision interval on one-sided chart
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 12.10: 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 12.11: 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 12.12: Graphical Enhancement Options*
  
ANNOTATE= SAS-data-setspecifies annotate data set that adds features to cusum 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 cusum chart
FONT=fontspecifies software font for labels and legends on charts
NAME='string'specifies name that appears in the name field of the PROC GREPLAY master menu for cusum 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
WTREND=nspecifies width of line segments connecting points on trend chart

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

Table 12.14: Output Data Set Options*
OUTHISTORY= SAS-data-setcreates output data set containing subgroup summary statistics and cusums
OUTINDEX='string'specifies value of _INDEX_ in OUTLIMITS= data set
OUTLIMITS= SAS-data-setcreates output data set containing cusum parameters
OUTPHASE='string'specifies value of _PHASE_ in OUTHISTORY= data set or OUTTABLE= data set
OUTTABLE= SAS-data-setcreates output data set containing subgroup summary statistics, cusums, and decision interval or V-mask values

Table 12.15: Plot Layout Options*
ALLNplots summary statistics for all subgroups
BILEVELcreates control charts using half-screens and half-pages
EXCHARTcreates cusum chart 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 cusum chart
NOFRAMEsuppresses frame for plot area
NOLEGENDsuppresses legend for subgroup sample sizes and cusum parameters
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 cusum chart as a percentage of sum of lengths of vertical axes for cusum and trend charts

Table 12.16: 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 12.17: Star Options*
CSTARCIRCLES=colorspecifies color for circles requested by the STARCIRCLES= option
CSTARFILL=color| (variable)specifies color for filling stars
CSTAROUT=colorspecifies color for outlines of stars that exceed inner or outer circles
CSTARS=color| (variable)specifies color for outlines of stars
LABELFONT=fontspecifies font for labels added with the STARLABEL= option
LSTARCIRCLES= linetypesspecifies line types of circles requested by the STARCIRCLES= option
LSTARS=linetype| (variable)specifies line types of outlines of stars requested by 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 chart
WSTARCIRCLES=nspecifies width of circles requested by the STARCIRCLES= option
WSTARS=nspecifies width of stars requested by the STARVERTICES= option

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

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