Previous Page | Next Page

The SHEWHART Procedure

Summary of Options

The following tables list the MRCHART statement options by function. For complete descriptions, see Dictionary of Options

Table 13.31 MRCHART 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 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 median chart

LCLLABEL2=

specifies label for lower control limit on 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 median chart

NDECIMAL2=

specifies number of digits to right of decimal place in default labels for control limits and central line on chart

NOCTL

suppresses display of central line on median chart

NOCTL2

suppresses display of central line on chart

NOLCL

suppresses display of lower control limit on median chart

NOLCL2

suppresses display of lower control limit on chart

NOLIMIT0

suppresses display of zero lower control limit on 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 median chart

NOUCL2

suppresses display of upper control limit on chart

RSYMBOL=

specifies label for central line on chart

UCLLABEL=

specifies label for upper control limit on median chart

UCLLABEL2=

specifies label for upper control limit on chart

WLIMITS=

specifies width for control limits and central line

XSYMBOL=

specifies label for central line on median chart

Process Mean and Standard Deviation Options

MEDCENTRAL=

specifies method for estimating process mean

MU0=

specifies known value of for process mean

SIGMA0=

specifies known value for process standard deviation

SMETHOD=

specifies method for estimating process standard deviation

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

ALLLABEL2=

labels every point on 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 median chart

OUTLABEL2=

labels points outside control limits on 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 limits

NOTESTACROSS

suppresses tests across phase boundaries

TESTS=

specifies tests for special causes for the median chart

TESTS2=

specifies tests for special causes for the chart

TEST2RESET=

enables tests for special causes to be reset for the 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 th 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

ZONELABELS

adds labels A, B, and C to zone lines for median chart

ZONE2LABELS

adds labels A, B, and C to zone lines for chart

ZONES

adds lines to median chart delineating zones A, B, and C

ZONES2

adds lines to chart delineating zones A, B, and C

ZONEVALPOS=

specifies position of ZONEVALUES labels

ZONEVALUES

labels median chart zone lines with their values

ZONE2VALUES

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

NOVANGLE

requests vertical axis labels that are strung out vertically

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

VAXIS2=

specifies major tick mark values for vertical axis of 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 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 median and 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 median chart as a percentage of sum of lengths of vertical axes for median and charts

ZEROSTD

displays median chart regardless of whether

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

HREF2=

specifies position of reference lines perpendicular to horizontal axis on chart

HREFDATA=

specifies position of reference lines perpendicular to horizontal axis on median chart

HREF2DATA=

specifies position of reference lines perpendicular to horizontal axis on 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 median chart

VREF2=

specifies position of reference lines perpendicular to vertical axis on 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 median chart

ANNOTATE2=

specifies annotate data set that adds features to chart

DESCRIPTION=

specifies description of median chart’s GRSEG catalog entry

DESCRIPTION2=

specifies description of chart’s GRSEG catalog entry

FONT=

specifies software font for labels and legends on charts

NAME=

specifies name of median chart’s GRSEG catalog entry

NAME2=

specifies name of 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

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 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 median 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

Previous Page | Next Page | Top of Page