Previous Page | Next Page

The SHEWHART Procedure

Summary of Options

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

Table 13.37 NPCHART 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

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

NOCTL

suppresses display of central line

NOLCL

suppresses display of lower control limit

NOLIMIT0

suppresses display of lower control limit if it is 0

NOLIMIT1

suppresses display of upper control limit if it is 1 (100%)

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

NPSYMBOL=

specifies label for central line

UCLLABEL=

specifies label for upper control limit

WLIMITS=

specifies width for control limits and central line

Standard Value Options

P0=

specifies known (standard) value for proportion of nonconforming items

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

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

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

ZONES

adds lines delineating zones A, B, and C

ZONEVALPOS=

specifies position of ZONEVALUES labels

ZONEVALUES

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

NOVANGLE

requests vertical axis labels that are strung out vertically

SKIPHLABELS=

specifies thinning factor for tick mark labels on horizontal axis

TURNHLABELS

requests horizontal axis labels that are strung out vertically

VAXIS=

specifies major tick mark values for vertical axis

VFORMAT=

specifies format for 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

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

TOTPANELS=

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

ZEROSTD

displays chart regardless of whether

Reference Line Options

CHREF=

specifies color for lines requested by HREF= options

CVREF=

specifies color for lines requested by VREF= options

HREF=

specifies position of reference lines perpendicular to horizontal axis

HREFDATA=

specifies position of reference lines perpendicular to horizontal axis

HREFLABELS=

specifies labels for HREF= lines

HREFLABPOS=

specifies position of HREFLABELS= labels

LHREF=

specifies line type for HREF= lines

LVREF=

specifies line type for VREF= 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

VREFLABELS=

specifies labels for VREF= lines

VREFLABPOS=

position of VREFLABELS= 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 chart

DESCRIPTION=

specifies description of chart’s GRSEG catalog entry

FONT=

specifies software font for labels and legends on charts

NAME=

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

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

Input Data Set Options

DATAUNIT

specifies that input values are proportions or percentages (rather than counts) of nonconforming items

MISSBREAK

specifies that observations with missing values are not to be processed

SUBGROUPN

specifies subgroup sample sizes as constant number or as values of variable in a DATA= data set

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

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 chart

WSTARCIRCLES=

specifies width of STARCIRCLES= circles

WSTARS=

specifies width of STARVERTICES= stars

Overlay Options

CCOVERLAY=

specifies colors for overlay line segments

COVERLAY=

specifies colors for overlay plots

COVERLAYCLIP=

specifies color for clipped points on overlays

LOVERLAY=

specifies line types for overlay line segments

NOOVERLAYLEGEND

suppresses legend for overlay plots

OVERLAY=

specifies variables to overlay on chart

OVERLAYCLIPSYM=

specifies symbol for clipped points on overlays

OVERLAYCLIPSYMHT=

specifies symbol height for clipped points on overlays

OVERLAYHTML=

specifies links to associate with overlay points

OVERLAYID=

specifies labels for overlay points

OVERLAYLEGLAB=

specifies label for overlay legend

OVERLAYSYM=

specifies symbols for overlays

OVERLAYSYMHT=

specifies symbol heights for overlays

WOVERLAY=

specifies widths of overlay line segments

Options for Interactive Control Charts

HTML=

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

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= 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= lines

ZONECHAR=

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

Previous Page | Next Page | Top of Page