|
Chapter Contents |
Previous |
Next |
| XSCHART Statement |
The following tables list the XSCHART statement options by function. For complete descriptions, see Chapter 46, "Dictionary of Options."
Table 44.1: Tabulation Options| TABLE | creates a basic table of subgroup means, subgroup sample sizes, subgroup standard deviations, and control limits |
| TABLEALL | is equivalent to the options TABLE, TABLECENTRAL, TABLEID, TABLELEGEND, TABLEOUTLIM, andTABLETESTS |
| TABLECENTRAL | augments basic table with values of central lines |
| TABLEID | augments basic table with columns for ID variables |
| TABLELEGEND | augments basic table with legend for tests for special causes |
| TABLEOUTLIM | augments basic table with columns indicating control limits exceeded |
| TABLETESTS | augments basic table with columns indicating which tests for special causes are positive |
Note that specifying (EXCEPTIONS) after a tabulation option creates a table for exceptional points only.
Table 44.2: Options for Specifying Tests for Special Causes| NO3SIGMACHECK | allows tests to be applied with control limits
other than |
| TESTS=value-list| customized-pattern-list | specifies tests for special causes for the |
| TESTS2=value-list| customized-pattern-list | specifies tests for special causes for the s chart |
| TEST2RUN=n | specifies length of pattern for Test 2 |
| TEST3RUN=n | specifies length of pattern for Test 3 |
| TESTACROSS | applies tests across phase boundaries |
| TESTLABEL='label'| (variable)|keyword | provides labels for points where test is positive |
| TESTLABELn='label' | specifies label for n th test for special causes |
| TESTNMETHOD= STANDARDIZE | applies tests to standardized chart statistics |
| TESTOVERLAP | performs tests on overlapping patterns of points |
| ZONELABELS | adds labels A, B, and C to zone lines for |
| ZONE2LABELS | adds labels A, B, and C to zone lines for s chart |
| ZONES | adds lines to |
| ZONES2 | adds lines to s chart delineating zones A, B, and C |
| ZONEVALPOS=n | specifies position of ZONEVALUES and ZONE2VALUESlabels |
| ZONEVALUES | labels |
| ZONE2VALUES | labels s chart zone lines with their values |
| CTESTS=color| test-color-list | specifies color for labels used to identify points where test is positive |
| CZONES=color | specifies color for lines and labels delineating zones A, B, and C |
| LABELFONT=font | specifies software font for labels at points where test is positive (alias for the TESTFONT= option) |
| LABELHEIGHT=value | specifies height of labels at points where test is positive (alias for the TESTHEIGHT= option) |
| LTESTS=linetype | specifies type of line connecting points where test is positive |
| LZONES=linetype | specifies line type for lines delineating zones A, B, and C |
| TESTFONT=font | specifies software font for labels at points where test is positive |
| TESTHEIGHT=value | specifies height of labels at points where test is positive |
Table 44.4: Line Printer Options for Displaying Tests for Special Causes
| TESTCHAR='character' | specifies character for line segments that connect any sequence of points for which a test for special causes is positive |
| ZONECHAR='character' | specifies character for lines that delineate zones for tests for special causes |
| CHREF=color | specifies color for lines requested by the HREF=and HREF2= options |
| CVREF=color | specifies color for lines requested by the VREF= and VREF2= options |
| HREF=values| SAS-data-set | specifies position of reference lines perpendicular to
horizontal axis on |
| HREF2=values| SAS-data-set | specifies position of reference lines perpendicular to horizontal axis on s 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 |
| HREF2DATA= SAS-data-set | specifies position of reference lines perpendicular to horizontal axis on s 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 applies uniformly to charts created for all BY groups |
| VREF=values| SAS-data-set | specifies position of reference lines perpendicular to
vertical axis on |
| VREF2=values| SAS-data-set | specifies position of reference lines perpendicular to vertical axis on s 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 |
| 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 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 |
| NOTICKREP | specifies that only the first occurrence of repeated, adjacent subgroup values is to be labeled on horizontal axis |
| NOTRUNC | suppresses vertical axis truncation at zero applied by default to s chart |
| 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 of |
| VAXIS2=values|AXISn | specifies major tick mark values for vertical axis of s 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 |
| 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=n | specifies width of axis lines |
Table 44.7: Specification Limit Options
| CIINDICES=( ALPHA=value TYPE=keyword ) | specifies |
| LSL=value-list | specifies list of lower specification limits |
| TARGET=value-list | specifies list of target values |
| USL=value-list | specifies list of upper specification limits |
Table 44.8: Clipping Options
| CCLIP=color | specifies color for plot symbol for clipped points |
| CLIPCHAR='character' | specifies plot character for clipped points |
| CLIPFACTOR=value | determines extent to which extreme points are clipped |
| CLIPLEGEND='string' | specifies text for clipping legend |
| CLIPLEGPOS=keyword | specifies position of clipping legend |
| CLIPSUBCHAR= 'character' | specifies substitution character for CLIPLEGEND= text |
| CLIPSYMBOL=symbol | specifies plot symbol for clipped points |
| CLIPSYMBOLHT=value | specifies symbol marker height for clipped points |
Table 44.9: 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 44.10: Options for Specifying Control Limits
| ALPHA=value | requests probability limits for control charts |
| LIMITN=n|VARYING | specifies either nominal sample size for fixed control limits or varying limits |
| NOREADLIMITS | computes control limits for each process from the data rather than from a LIMITS= data set (Release 6.10 and later releases) |
| READALPHA | reads _ALPHA_ instead of _SIGMAS_ from a LIMITS= data set |
| READINDEXES=ALL| 'label1'...'labeln' | reads multiple sets of control limits for each process from a LIMITS= data set |
| READLIMITS | reads single set of control limits for each process from a LIMITS= data set (Release 6.09 and earlier releases) |
| SIGMAS=k | specifies width of control limits in terms of multiple k of standard error of plotted means and standard deviations |
| 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 on |
| LCLLABEL2='label' | specifies label for lower control limit on s chart |
| 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 | specifies 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 on |
| NDECIMAL2=n | specifies number of digits to right of decimal place in default labels for control limits and central line on s chart |
| NOCTL | suppresses display of central line on |
| NOCTL2 | suppresses display of central line on s chart |
| NOLCL | suppresses display of lower control limit on |
| NOLCL2 | suppresses display of lower control limit on s chart |
| NOLIMITLABEL | suppresses labels for control limits and central lines |
| 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 |
| NOLIMIT0 | suppresses display of zero lower control limit on s chart |
| NOUCL | suppresses display of upper control limit on |
| NOUCL2 | suppresses display of upper control limit on s chart |
| SSYMBOL='string'| keyword | specifies label for central line on s chart |
| UCLLABEL='string' | specifies label for upper control limit on |
| UCLLABEL2='string' | specifies label for upper control limit on s chart |
| WLIMITS=n | specifies width for control limits and central line |
| XSYMBOL='string'| keyword | specifies label for central line on |
Table 44.12: Grid Options
| ENDGRID | adds grid after last plotted point |
| GRID | adds grid to control 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 |
| ALLLABEL=VALUE| (variable) | labels every point on |
| ALLLABEL2=VALUE| (variable) | labels every point on s 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 chart |
| COUT=color | specifies color for portions of line segments that connect points outside control limits |
| COUTFILL=color | specifies color for shading areas between the connected points and control limits outside the limits |
| NEEDLES | connects points to central line with vertical needles |
| NOCONNECT | suppresses line segments that connect points on chart |
| OUTLABEL=VALUE| (variable) | labels points outside control limits on |
| OUTLABEL2=VALUE| (variable) | labels points outside control limits on s 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|TURNOUT | turns point labels so that they are strung out vertically |
| MISSBREAK | specifies that observations with missing values are not to be processed |
Table 44.15: Output Data Set Options
| OUTHISTORY= SAS-data-set | creates output data set containing subgroup summary statistics |
| OUTINDEX='string' | specifies value of _INDEX_ in the OUTLIMITS= data set |
| OUTLIMITS= SAS-data-set | creates output data set containing control limits |
| OUTTABLE= SAS-data-set | creates output data set containing subgroup summary statistics and control limits |
Table 44.16: Phase Options
| CPHASEBOX=color | specifies color for box enclosing all plotted points for a phase |
| CPHASEBOX- CONNECT=color | specifies color for line segments connecting adjacent enclosing boxes |
| CPHASEBOXFILL=color | specifies fill color for box enclosing all plotted points for a phase |
| CPHASELEG=color | specifies text color for phase legend |
| CPHASEMEAN- CONNECT=color | specifies color for line segments connecting average value points within a phase |
| NOPHASEFRAME | suppresses default frame for phase legend |
| OUTPHASE='string' | specifies value of _PHASE_ in the 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 charts |
| PHASELIMITS | labels control limits for each phase, provided they are constant within that phase |
| PHASEMEANSYMBOL= symbol | specifies symbol marker for average of values within a phase |
| PHASEREF | delineates phases with vertical reference lines |
| READPHASES=ALL| 'label1'...'labeln' | specifies phases to be read from an input data set |
Table 44.17: Process Mean and Standard Deviation Options
| MU0=value | specifies known (standard) value of |
| SIGMA0=value | specifies known (standard) value |
| SMETHOD=keyword | specifies method for estimating the process standard deviation
|
| TYPE=keyword | identifies whether parameters are estimates or standard values and specifies value of _TYPE_ in the OUTLIMITS= data set |
Table 44.18: 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 |
| TESTURLS=SAS-data-set | associates URLs with tests for special causes |
| WEBOUT=SAS-data-set | creates an OUTTABLE= data set with additional graphics coordinate data |
Table 44.19: Plot Layout Options
| ALLN | plots means and standard deviations for all subgroups |
| BILEVEL | creates control charts using half-screens and half-pages |
| EXCHART | creates control charts for a process variable 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 charts |
| NMARKERS | requests special markers for points corresponding to sample sizes not equal to nominal sample size for fixed control limits |
| NOCHART | suppresses creation of charts |
| NOCHART2 | suppresses creation of s 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 |
| SEPARATE | displays |
| TOTPANELS=n | specifies number of pages or screens to be used to display chart |
| YPCT1=value | specifies length of vertical axis on |
| ZEROSTD | displays |
Table 44.20: Graphical Enhancement Options
| ANNOTATE=SAS-data-set | specifies annotate data set that adds features to |
| ANNOTATE2=SAS-data-set | specifies annotate data set that adds features to s chart |
| DESCRIPTION='string' | specifies string that appears in the description field of
the PROC GREPLAY master menu for |
| DESCRIPTION2='string' | specifies string that appears in the description field of the PROC GREPLAY master menu for s 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 |
| NAME2='string' | specifies name that appears in the name field of the PROC GREPLAY master menu for s 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 |
| 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 STARVERTICES= stars |
| 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 |
| 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.