XRCHART Statement: SHEWHART Procedure

Summary of Options

The following tables list the XRCHART statement options by function. For complete descriptions, see Dictionary of Options: SHEWHART Procedure.

Table 18.59: XRCHART Statement Options

Option

Description

Options for Specifying Control Limits

ALPHA=

Requests probability limits for chart

LIMITN=

Specifies either nominal sample size for fixed control limits or varying limits

NOREADLIMITS

Computes control limits for each process from the data rather than a LIMITS= data set (SAS 6.10 and later releases)

READALPHA

Reads _ALPHA_ instead of _SIGMAS_ from a LIMITS= data set

READINDEX=

Reads 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 (SAS 6.09 and earlier releases)

SIGMAS=

Specifies width of control limits in terms of multiple k of standard error of plotted means

Options for Displaying Control Limits

CINFILL=

Specifies color for area inside control limits

CLIMITS=

Specifies color of control limits, central line, and related labels

LCLLABEL=

Specifies label for lower control limit on $\bar{X}$ chart

LCLLABEL2=

Specifies label for lower control limit on R chart

LIMLABSUBCHAR=

Specifies a substitution character for labels provided as quoted strings; the character is replaced with the value of the control limit

LLIMITS=

Specifies line type for control limits

NDECIMAL=

Specifies number of digits to right of decimal place in default Labels for control limits and central line on $\bar{X}$ chart

NDECIMAL2=

Specifies number of digits to right of decimal place in default Labels for control limits and central line on R chart

NOCTL

Suppresses display of central line on $\bar{X}$ chart

NOCTL2

Suppresses display of central line on R chart

NOLCL

Suppresses display of lower control limit on $\bar{X}$ chart

NOLCL2

Suppresses display of lower control limit on R chart

NOLIMIT0

Suppresses display of zero lower control limit on R chart

NOLIMITLABEL

Suppresses labels for control limits and central line

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

NOUCL

Suppresses display of upper control limit on $\bar{X}$ chart

NOUCL2

Suppresses display of upper control limit on R chart

RSYMBOL=

Specifies label for central line on R chart

UCLLABEL=

Specifies label for upper control limit on $\bar{X}$ chart

UCLLABEL2=

Specifies label for upper control limit on R chart

WLIMITS=

Specifies width for control limits and central line

XSYMBOL=

Specifies label for central line on $\bar{X}$ chart

Process Mean and Standard Deviation Options

MU0=

Specifies known value of $\mu _{0}$ for process mean $\mu $

SIGMA0=

Specifies known value $\sigma _{0}$ for process standard deviation $\sigma $

SMETHOD=

Specifies method for estimating process standard deviation $\sigma $

TYPE=

Identifies parameters as estimates or standard values and specifies value of _TYPE_ in the OUTLIMITS= data set

Options for Plotting and Labeling Points

ALLLABEL=

Labels every point on $\bar{X}$ chart

ALLLABEL2=

Labels every point on R chart

CLABEL=

Specifies color for labels

CCONNECT=

Specifies color for line segments that connect points on chart

CFRAMELAB=

Specifies fill color for frame around labeled points

CNEEDLES=

Specifies color for needles that connect points to central line

COUT=

Specifies color for portions of line segments that connect points outside control limits

COUTFILL=

Specifies color for shading areas between the connected points and control limits outside the limits

LABELANGLE=

Specifies angle at which labels are drawn

LABELFONT=

Specifies software font for labels (alias for the TESTFONT= option)

LABELHEIGHT=

Specifies height of labels (alias for the TESTHEIGHT= option)

NEEDLES

Connects points to central line with vertical needles

NOCONNECT

Suppresses line segments that connect points on chart

OUTLABEL=

Labels points outside control limits on $\bar{X}$ chart

OUTLABEL2=

Labels points outside control limits on R chart

SYMBOLLEGEND=

Specifies LEGEND statement for levels of symbol-variable

SYMBOLORDER=

Specifies order in which symbols are assigned for levels of symbol-variable

TURNALL|TURNOUT

Turns point labels so that they are strung out vertically

WNEEDLES=

Specifies width of needles

Options for Specifying Tests for Special Causes

INDEPENDENTZONES

Computes zone widths independently above and below center line

NO3SIGMACHECK

Enables tests to be applied with control limits other than $3\sigma $ limits

NOTESTACROSS

Suppresses tests across phase boundaries

TESTS=

Specifies tests for special causes for the $\bar{X}$ chart

TESTS2=

Specifies tests for special causes for the R chart

TEST2RESET=

Enables tests for special causes to be reset for the R chart

TEST2RUN=

Specifies length of pattern for Test 2

TEST3RUN=

Specifies length of pattern for Test 3

TESTACROSS

Applies tests across phase boundaries

TESTLABEL=

Provides labels for points where test is positive

TESTLABELn=

Specifies label for nth test for special causes

TESTNMETHOD=

Applies tests to standardized chart statistics

TESTOVERLAP

Performs tests on overlapping patterns of points

TESTRESET=

Enables tests for special causes to be reset

WESTGARD=

Requests that Westgard rules be applied to the $\bar{X}$ chart

ZONELABELS

Adds labels A, B, and C to zone lines for $\bar{X}$ chart

ZONE2LABELS

Adds labels A, B, and C to zone lines for R chart

ZONES

Adds lines to $\bar{X}$ chart delineating zones A, B, and C

ZONES2

Adds lines to R chart delineating zones A, B, and C

ZONEVALPOS=

Specifies position of ZONEVALUES labels

ZONEVALUES

Labels $\bar{X}$ chart zone lines with their values

ZONE2VALUES

Labels R zone lines with their values

Options for Displaying Tests for Special Causes

CTESTLABBOX=

Specifies color for boxes enclosing labels indicating points where test is positive

CTESTS=

Specifies color for labels indicating points where test is positive

CTESTSYMBOL=

Specifies color for symbol used to plot points where test is positive

CZONES=

Specifies color for lines and labels delineating zones A, B, and C

LTESTS=

Specifies type of line connecting points where test is positive

LZONES=

Specifies line type for lines delineating zones A, B, and C

TESTFONT=

Specifies software font for labels at points where test is positive

TESTHEIGHT=

Specifies height of labels at points where test is positive

TESTLABBOX

Requests that labels for points where test is positive be positioned so that do not overlap

TESTSYMBOL=

Specifies plot symbol for points where test is positive

TESTSYMBOLHT=

Specifies symbol height for points where test is positive

WTESTS=

Specifies width of line connecting points where test is positive

Axis and Axis Label Options

CAXIS=

Specifies color for axis lines and tick marks

CFRAME=

Specifies fill colors for frame for plot area

CTEXT=

Specifies color for tick mark values and axis labels

DISCRETE

Produces horizontal axis for discrete numeric group values

HAXIS=

Specifies major tick mark values for horizontal axis

HEIGHT=

Specifies height of axis label and axis legend text

HMINOR=

Specifies number of minor tick marks between major tick marks on horizontal axis

HOFFSET=

Specifies length of offset at both ends of horizontal axis

INTSTART=

Specifies first major tick mark value on horizontal axis when a date, time, or datetime format is associated with numeric subgroup variable

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 R chart

NOVANGLE

Requests vertical axis labels that are strung out vertically

NOVLABEL

Suppresses label for primary vertical axis

NOV2LABEL

Suppresses label for secondary vertical axis

SKIPHLABELS=

Specifies thinning factor for tick mark labels on horizontal axis

SPLIT=

Specifies splitting character for axis labels

TURNHLABELS

Requests horizontal axis labels that are strung out vertically

VAXIS=

Specifies major tick mark values for vertical axis of $\bar{X}$ chart

VAXIS2=

Specifies major tick mark values for vertical axis of R chart

VFORMAT=

Specifies format for primary vertical axis tick mark labels

VFORMAT2=

Specifies format for secondary vertical axis tick mark labels

VMINOR=

Specifies number of minor tick marks between major tick marks on vertical axis

VOFFSET=

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=

Specifies width of axis lines

Plot Layout Options

ALLN

Plots means for all subgroups

BILEVEL

Creates control charts using half-screens and half-pages

EXCHART

Creates control charts for a process only when exceptions occur

INTERVAL=

natural time interval between consecutive subgroup positions when time, date, or datetime format is associated with a numeric subgroup variable

MAXPANELS=

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 charts

NOCHART2

Suppresses creation of R chart

NOFRAME

Suppresses frame for plot area

NOLEGEND

Suppresses legend for subgroup sample sizes

NPANELPOS=

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 $\bar{X}$ and R charts on separate screens or pages

TOTPANELS=

Specifies number of pages or screens to be used to display chart

YPCT1=

Specifies length of vertical axis on $\bar{X}$ chart as a percentage of sum of lengths of vertical axes for $\bar{X}$ and R charts

ZEROSTD

Displays $\bar{X}$ chart regardless of whether $\hat{\sigma } = 0$

Reference Line Options

CHREF=

Specifies color for lines requested by HREF= and HREF2= options

CVREF=

Specifies color for lines requested by VREF= and VREF2= options

HREF=

Specifies position of reference lines perpendicular to horizontal axis on $\bar{X}$ chart

HREF2=

Specifies position of reference lines perpendicular to horizontal axis on R chart

HREFDATA=

Specifies position of reference lines perpendicular to horizontal axis on $\bar{X}$ chart

HREF2DATA=

Specifies position of reference lines perpendicular to horizontal axis on R chart

HREFLABELS=

Specifies labels for HREF= lines

HREF2LABELS=

Specifies labels for HREF2= lines

HREFLABPOS=

Specifies position of HREFLABELS= and HREF2LABELS= labels

LHREF=

Specifies line type for HREF= and HREF2= lines

LVREF=

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=

Specifies position of reference lines perpendicular to vertical axis on $\bar{X}$ chart

VREF2=

Specifies position of reference lines perpendicular to vertical axis on R chart

VREFLABELS=

Specifies labels for VREF= lines

VREF2LABELS=

Specifies labels for VREF2= lines

VREFLABPOS=

position of VREFLABELS= and VREF2LABELS= labels

Grid Options

CGRID=

Specifies color for grid requested with GRID or ENDGRID option

ENDGRID

Adds grid after last plotted point

GRID

Adds grid to control chart

LENDGRID=

Specifies line type for grid requested with the ENDGRID option

LGRID=

Specifies line type for grid requested with the GRID option

WGRID=

Specifies width of grid lines

Clipping Options

CCLIP=

Specifies color for plot symbol for clipped points

CLIPFACTOR=

Determines extent to which extreme points are clipped

CLIPLEGEND=

Specifies text for clipping legend

CLIPLEGPOS=

Specifies position of clipping legend

CLIPSUBCHAR=

Specifies substitution character for CLIPLEGEND= text

CLIPSYMBOL=

Specifies plot symbol for clipped points

CLIPSYMBOLHT=

Specifies symbol marker height for clipped points

Graphical Enhancement Options

ANNOTATE=

Specifies annotate data set that adds features to $\bar{X}$ chart

ANNOTATE2=

Specifies annotate data set that adds features to R chart

DESCRIPTION=

Specifies description of $\bar{X}$ chart’s GRSEG catalog entry

DESCRIPTION2=

Specifies description of R chart’s GRSEG catalog entry

FONT=

Specifies software font for labels and legends on charts

NAME=

Specifies name of $\bar{X}$ chart’s GRSEG catalog entry

NAME2=

Specifies name of R chart’s GRSEG catalog entry

PAGENUM=

Specifies the form of the label used in pagination

PAGENUMPOS=

Specifies the position of the page number requested with the PAGENUM= option

Options for Producing Graphs Using ODS Styles

BLOCKVAR=

Specifies one or more variables whose values define colors for filling background of block-variable legend

CFRAMELAB

Draws a frame around labeled points

COUT

draw portions of line segments that connect points outside control limits in a contrasting color

CSTAROUT

Specifies that portions of stars exceeding inner or outer circles are drawn using a different color

OUTFILL

Shades areas between control limits and connected points lying outside the limits

STARFILL=

Specifies a variable identfying groups of stars filled with different colors

STARS=

Specifies a variable identfying groups of stars whose outlines are drawn with different colors

Options for ODS Graphics

BLOCKREFTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

INFILLTRANSPARENCY=

Specifies the control limit infill transparency

MARKERS

Plots subgroup points with markers

NOBLOCKREF

Suppresses block and phase reference lines

NOBLOCKREFFILL

Suppresses block and phase wall fills

NOFILLLEGEND

Suppresses legend for levels of a STARFILL= variable

NOPHASEREF

Suppresses block and phase reference lines

NOPHASEREFFILL

Suppresses block and phase wall fills

NOREF

Suppresses block and phase reference lines

NOREFFILL

Suppresses block and phase wall fills

NOSTARFILLLEGEND

Suppresses legend for levels of a STARFILL= variable

NOTRANSPARENCY

Disables transparency in ODS Graphics output

ODSFOOTNOTE=

Specifies a graph footnote

ODSFOOTNOTE2=

Specifies a secondary graph footnote

ODSLEGENDEXPAND

Specifies that legend entries contain all levels observed in the data

ODSTITLE=

Specifies a graph title

ODSTITLE2=

Specifies a secondary graph title

OUTFILLTRANSPARENCY=

Specifies control limit outfill transparency

OVERLAYURL=

Specifies URLs to associate with overlay points

OVERLAY2URL=

Specifies URLs to associate with overlay points on secondary chart

PHASEPOS=

Specifies vertical position of phase legend

PHASEREFLEVEL=

Associates phase and block reference lines with either innermost or the outermost level

PHASEREFTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

REFFILLTRANSPARENCY=

Specifies the wall fill transparency for blocks and phases

SIMULATEQCFONT

Draws central line labels using a simulated software font

STARTRANSPARENCY=

Specifies star fill transparency

URL=

Specifies a variable whose values are URLs to be associated with subgroups

URL2=

Specifies a variable whose values are URLs to be associated with subgroups on secondary chart

Input Data Set Options

MISSBREAK

Specifies that observations with missing values are not to be processed

Output Data Set Options

OUTHISTORY=

Creates output data set containing subgroup summary statistics

OUTINDEX=

Specifies value of _INDEX_ in the OUTLIMITS= data set

OUTLIMITS=

Creates output data set containing control limits

OUTTABLE=

Creates output data set containing subgroup summary statistics and control limits

Tabulation Options

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

TABLE

Creates a basic table of subgroup means, subgroup sample sizes, and control limits

TABLEALL

is equivalent to the options TABLE, TABLECENTRAL, TABLEID, TABLELEGEND, TABLEOUTLIM, and TABLETESTS

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 a column indicating which tests for special causes are positive

Specification Limit Options

CIINDICES

Specifies $\alpha $ value and type for computing capability index confidence limits

LSL=

Specifies list of lower specification limits

TARGET=

Specifies list of target values

USL=

Specifies list of upper specification limits

Block Variable Legend Options

BLOCKLABELPOS=

Specifies position of label for block-variable legend

BLOCKLABTYPE=

Specifies text size of block-variable legend

BLOCKPOS=

Specifies vertical position of block-variable legend

BLOCKREP

Repeats identical consecutive labels in block-variable legend

CBLOCKLAB=

Specifies fill colors for frames enclosing variable labels in block-variable legend

CBLOCKVAR=

Specifies one or more variables whose values are colors for filling background of block-variable legend

Phase Options

CPHASELEG=

Specifies text color for phase legend

NOPHASEFRAME

Suppresses default frame for phase legend

OUTPHASE=

Specifies value of _PHASE_ in the OUTHISTORY= data set

PHASEBREAK

Disconnects last point in a phase from first point in next phase

PHASELABTYPE=

Specifies text size of phase legend

PHASELEGEND

Displays phase labels in a legend across top of chart

PHASELIMITS

Labels control limits for each phase, provided they are constant within that phase

PHASEREF

delineates phases with vertical reference lines

READPHASES=

Specifies phases to be read from an input data set

Star Options

CSTARCIRCLES=

Specifies color for STARCIRCLES= circles

CSTARFILL=

Specifies color for filling stars

CSTAROUT=

Specifies outline color for stars exceeding inner or outer circles

CSTARS=

Specifies color for outlines of stars

LSTARCIRCLES=

Specifies line types for STARCIRCLES= circles

LSTARS=

Specifies line types for outlines of STARVERTICES= stars

STARBDRADIUS=

Specifies radius of outer bound circle for vertices of stars

STARCIRCLES=

Specifies reference circles for stars

STARINRADIUS=

Specifies inner radius of stars

STARLABEL=

Specifies vertices to be labeled

STARLEGEND=

Specifies style of legend for star vertices

STARLEGENDLAB=

Specifies label for STARLEGEND= legend

STAROUTRADIUS=

Specifies outer radius of stars

STARSPECS=

Specifies method used to standardize vertex variables

STARSTART=

Specifies angle for first vertex

STARTYPE=

Specifies graphical style of star

STARVERTICES=

superimposes star at each point on $\bar{X}$ chart

WSTARCIRCLES=

Specifies width of STARCIRCLES= circles

WSTARS=

Specifies width of STARVERTICES= stars

Overlay Options

CCOVERLAY=

Specifies colors for primary chart overlay line segments

CCOVERLAY2=

Specifies colors for secondary chart overlay line segments

COVERLAY=

Specifies colors for primary chart overlay plots

COVERLAY2=

Specifies colors for secondary chart overlay plots

COVERLAYCLIP=

Specifies color for clipped points on overlays

LOVERLAY=

Specifies line types for primary chart overlay line segments

LOVERLAY2=

Specifies line types for secondary chart overlay line segments

NOOVERLAYLEGEND

Suppresses legend for overlay plots

OVERLAY=

Specifies variables to overlay on primary chart

OVERLAY2=

Specifies variables to overlay on secondary chart

OVERLAY2HTML=

Specifies links to associate with secondary chart overlay points

OVERLAY2ID=

Specifies labels for secondary chart overlay points

OVERLAY2SYM=

Specifies symbols for secondary chart overlays

OVERLAY2SYMHT=

Specifies symbol heights for secondary chart overlays

OVERLAYCLIPSYM=

Specifies symbol for clipped points on overlays

OVERLAYCLIPSYMHT=

Specifies symbol height for clipped points on overlays

OVERLAYHTML=

Specifies links to associate with primary chart overlay points

OVERLAYID=

Specifies labels for primary chart overlay points

OVERLAYLEGLAB=

Specifies label for overlay legend

OVERLAYSYM=

Specifies symbols for primary chart overlays

OVERLAYSYMHT=

Specifies symbol heights for primary chart overlays

WOVERLAY=

Specifies widths of primary chart overlay line segments

WOVERLAY2=

Specifies widths of secondary chart overlay line segments

Options for Interactive Control Charts

HTML=

Specifies a variable whose values create links to be associated with subgroups

HTML2=

Specifies variable whose values create links to be associated with subgroups on secondary chart

HTML_LEGEND=

Specifies a variable whose values create links to be associated with symbols in the symbol legend

WEBOUT=

Creates an OUTTABLE= data set with additional graphics coordinate data

Options for Line Printer Charts

CLIPCHAR=

Specifies plot character for clipped points

CONNECTCHAR=

Specifies character used to form line segments that connect points on chart

HREFCHAR=

Specifies line character for HREF= and HREF2= lines

SYMBOLCHARS=

Specifies characters indicating symbol-variable

TESTCHAR=

Specifies character for line segments that connect any sequence of points for which a test for special causes is positive

VREFCHAR=

Specifies line character for VREF= and VREF2= lines

ZONECHAR=

Specifies character for lines that delineate zones for tests for special causes