Chapter Contents |
Previous |
Next |
XCHART Statement |
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=value | specifies shift to be detected as a multiple of standard error |
H=value | specifies decision interval h (h > 0) as a multiple of standard error |
HEADSTART=value | specifies headstart value S0 as a multiple of standard error |
K=value | specifies reference value k (k > 0) |
LIMITN=n | specifies fixed nominal sample size for cusum scheme |
LIMITN=VARYING | specifies that cusums are to be computed for all subgroups regardless of sample size |
MU0=value | specifies target for mean |
NOREADLIMITS | specifies 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 |
READLIMITS | specifies that cusum parameters are to be read from LIMITS= data set (Release 6.09 and earlier releases) |
SCHEME=ONESIDED | specifies a one-sided scheme |
SHIFT=value | specifies shift to be detected in data units |
SIGMA0=value | specifies standard (known) value for process standard deviation |
Table 12.2: Options for Specifying a Two-Sided (V-Mask) Cusum Scheme*
ALPHA=value | specifies probability of Type 1 error |
BETA=value | specifies probability of Type 2 error |
H=value | specifies vertical distance between V-mask origin and upper (or lower) arm |
K=value | specifies slope of lower arm of V-mask |
LIMITN=n | specifies fixed nominal sample size for cusum scheme |
LIMITN=VARYING | specifies that cusums are to be computed for all subgroups regardless of sample size |
NOREADLIMITS | specifies 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 |
READLIMITS | specifies that cusum parameters are to be read from LIMITS= data set (Release 6.09 and earlier releases) |
READSIGMAS | reads _SIGMAS_ instead of _ALPHA_ from LIMITS= data set when both variables are available |
SIGMAS=value | specifies probability of Type 1 error as probability that standard normally distributed variable exceeds value in absolute value |
SMETHOD=keyword | specifies method for estimating process standard deviation |
TYPE=keyword | identifies 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=color | specifies color for area under decision interval line or inside V-mask |
CLIMITS=color | specifies color of decision interval line |
CMASK=color | specifies color of V-mask outline |
LLIMITS=linetype | specifies line type for decision interval |
LMASK=linetype | specifies line type for V-mask arms |
NOMASK | suppresses display of V-mask |
ORIGIN=value|'value' | specifies value of subgroup-variable locating origin of V-mask |
WLIMITS=n | specifies line width for decision interval |
WMASK=n | specifies line width for V-mask |
Table 12.5: Tabulation Options*
TABLEALL | specifies the options TABLECHART, TABLECOMP, TABLEID, TABLEOUT, and TABLESUMMARY |
TABLECHART | tabulates the information displayed in the cusum chart |
TABLECOMP | tabulates the computational form of the cusum scheme as described by Lucas (1976) and Lucas and Crosier (1982) |
TABLEID | augments TABLECHART and TABLECOMP tables with columns for ID variables |
TABLEOUT | augments TABLECHART table with a column indicating if the decision interval or V-mask was exceeded |
TABLESUMMARY | tabulates the parameters for the cusum scheme and the average run lengths corresponding to shifts of zero and |
Note that specifying (EXCEPTIONS) after the option TABLECHART creates a table for exceptional points only.
Table 12.6: Axis and Axis Label Options*
CAXIS=color | specifies color for axis lines and tick marks |
CFRAME=color| (color-list) | specifies fill color(s) for frame for plot area |
CTEXT=color | specifies color for tick mark values and axis labels |
HAXIS=values|AXISn | specifies tick mark values for horizontal axis |
HEIGHT=value | specifies height of axis label and axis legend text |
HMINOR=n | specifies number of minor tick marks between major tick marks on horizontal axis |
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=value-list|name | specifies major tick mark values for vertical axis of cusum chart |
VAXIS2=value-list| name | specifies major tick mark values for vertical axis of trend chart |
VMINOR=n | specifies number of minor tick marks between major tick marks on vertical axis |
VOFFSET=value | specifies length of offset at both ends of vertical axis |
WAXIS=n | specifies width of axis lines |
Table 12.7: 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 |
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 cusum 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 cusum 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 cusum 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 |
ALLLABEL=VALUE| (variable) | labels every point on cusum 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 |
CONNECTCHAR= 'character' | specifies character used to form line segments that connect points on chart |
COUT=color | specifies color for connecting line segments that lie above the decision interval or outside the V-mask |
COUTFILL=color | specifies color for areas between connected points and decision interval or V-mask |
NOCONNECT | suppresses line segments that connect points on chart |
NOTRENDCONNECT | suppresses 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|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 |
Table 12.10: 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 |
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 |
Table 12.12: Graphical Enhancement Options*
ANNOTATE= SAS-data-set | specifies annotate data set that adds features to cusum 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 cusum chart |
FONT=font | specifies 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= 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 12.13: Input Data Set Options*
MISSBREAK | specifies that observations with missing values are not to be processed |
Table 12.14: Output Data Set Options*
OUTHISTORY= SAS-data-set | creates output data set containing subgroup summary statistics and cusums |
OUTINDEX='string' | specifies value of _INDEX_ in OUTLIMITS= data set |
OUTLIMITS= SAS-data-set | creates output data set containing cusum parameters |
OUTPHASE='string' | specifies value of _PHASE_ in OUTHISTORY= data set or OUTTABLE= data set |
OUTTABLE= SAS-data-set | creates output data set containing subgroup summary statistics, cusums, and decision interval or V-mask values |
ALLN | plots summary statistics for all subgroups |
BILEVEL | creates control charts using half-screens and half-pages |
EXCHART | creates cusum chart 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 cusum chart |
NOFRAME | suppresses frame for plot area |
NOLEGEND | suppresses legend for subgroup sample sizes and cusum parameters |
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 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-set | creates an OUTTABLE= data set with additional graphics coordinate data |
CSTARCIRCLES=color | specifies color for circles requested by the STARCIRCLES= option |
CSTARFILL=color| (variable) | specifies color for filling stars |
CSTAROUT=color | specifies color for outlines of stars that exceed inner or outer circles |
CSTARS=color| (variable) | specifies color for outlines of stars |
LABELFONT=font | specifies font for labels added with the STARLABEL= option |
LSTARCIRCLES= linetypes | specifies 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= 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 chart |
WSTARCIRCLES=n | specifies width of circles requested by the STARCIRCLES= option |
WSTARS=n | specifies width of stars requested by the STARVERTICES= option |
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.