Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
COMPHISTOGRAM Statement

Summary of Options

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

Normal Curve Options

Table 3.1 summarizes options that specify features of fitted normal distributions requested with the NORMAL option. Specify these options in parentheses after the NORMAL option.

Table 3.1: Normal-Options
COLOR=colorspecifies color of normal curve
FILLfills area under normal curve
L=linetypespecifies line type of normal curve
MU=valuespecifies mean \mu for fitted normal curve
SIGMA=valuespecifies standard deviation \sigma for fitted normal curve
W=nspecifies width of normal curve

For example, the following statements use the NORMAL option to fit a normal curve in each cell of the comparative histogram:

proc capability;
   comphistogram / class = machine
                   normal(color=red l=2);
run;

The COLOR= normal-option draws the curve in red, and the L= normal-option specifies a line style of 2 (a dashed line) for the curve. In this example, maximum likelihood estimates are computed for the normal parameters \mu and \sigma for each cell since these parameters are not specified.

Kernel Options

You can specify the options listed in Table 3.2 in parentheses after the keyword KERNEL to control features of kernel density estimates requested with the KERNEL option.

Table 3.2: Kernel Options
C=value-list | MISEspecifies standardized bandwidth parameter c for kernel density estimate
COLOR=colorspecifies color of the kernel density curve
FILLfills area under kernel density curve
K=keywordspecifies NORMAL, TRIANGULAR, or QUADRATIC kernel
L=linetypespecifies line type used for kernel density curve
W=nspecifies line width for kernel density curve

General Options

Table 3.3: Comparative Histogram Layout Options
ANNOKEYapplies annotation requested in ANNOTATE= data set to key cell only
BARWIDTH=nspecifies width for the bars
CLASS=(variables)specifies classification variables
CLASSKEY=('values')specifies key cell
HOFFSET=valuespecifies offset for horizontal axis
INTERTILE=valuespecifies distance between tiles
MAXNBIN=nspecifies maximum number of bins displayed
MAXSIGMAS=valuelimits number of bins displayed to range of value standard deviations above and below mean of data in key cell
MIDPOINTS=values | KEY | UNIFORMspecifies how midpoints are determined
MISSING1requests that missing values of first CLASS= variable be treated as a level of that CLASS= variable
MISSING2requests that missing values of second CLASS= variable be treated as a level of that CLASS= variable
NCOLS=nspecifies number of columns in comparative histogram
NOBARSsuppresses histogram bars
NOFRAMEsuppresses frame around plotting area
NOKEYMOVEsuppresses rearrangement of cells that occurs by default with the CLASSKEY= option
NOPLOTsuppresses plot
NROWS=nspecifies number of rows in comparative histogram
ORDER1=DATA | FORMATTED | FREQ | INTERNALspecifies display order for values of the first CLASS= variable
ORDER2=DATA | FORMATTED | FREQ | INTERNALspecifies display order for values of the second CLASS= variable
RTINCLUDEincludes right endpoint in interval
TILELEGLABEL='string'specifies label displayed when _CTILE_ and _TILELG_ variables are provided in the CLASSSPEC= data set
TURNVLABELSturns and strings out vertically characters in labels for vertical axis
WBARLINE=nspecifies line thickness for bar outlines

Table 3.4: Reference Line Options
HREF=value-listspecifies reference lines perpendicular to horizontal axis
HREFLABELS= 'label1'...'labeln'specifies labels for HREF=lines
HREFLABPOS=nspecifies vertical position of labels for HREF=lines
LHREF=linetypespecifies line style for HREF=lines
LVREF=linetypespecifies line style for VREF= lines
VREF=value-listspecifies reference lines perpendicular to vertical axis
VREFLABELS= 'label1'...'labeln'specifies labels for VREF= lines
VREFLABPOS=nspecifies horizontal position of labels for VREF= lines

Table 3.5: Text Enhancement Options
FONT=fontspecifies software font for text
HEIGHT=valuespecifies height of text used outside framed areas
INFONT=fontspecifies software font for text inside framed areas
INHEIGHT=valuespecifies height of text inside framed areas

Table 3.6: Axis and Legend Options
GRIDadds grid corresponding to vertical axis
LGRID=linetypespecifies line style for grid requested with GRID option
NLEGEND<='string'>specifies form of the legend displayed inside tiles
NLEGENDPOS=NE | NWspecifies position of legend displayed inside tiles
NOHLABELsuppresses label for horizontal axis
NOVLABELsuppresses label for vertical axis
NOVTICKsuppresses tick marks and tick mark labels for vertical axis
VAXIS=value-listspecifies tick mark values for vertical axis
VAXISLABEL='string'specifies label for vertical axis
VOFFSET=valuespecifies length of offset at upper end of vertical axis
VSCALE=COUNT | PERCENT | PROPORTIONspecifies scale for vertical axis
WAXIS=nspecifies line thickness for axes and frame
WGRID=nspecifies line thickness for grid

Table 3.7: Graphics Catalog Options
DESCRIPTION='string'specifies description for graphics catalog member
NAME='string'specifies name for plot in graphics catalog

Table 3.8: Color and Pattern Options
CAXIS=colorspecifies color for axis
CBARLINE=colorspecifies color for outline of the bars
CFILL=colorspecifies color for filling bars
CFRAME=colorspecifies color for frame
CFRAMENLEG=colorspecifies the color for the frame requested by the NLEGEND option
CFRAMESIDE=colorspecifies color for filling frame for row labels
CFRAMETOP=colorspecifies color for filling frame for column labels
CGRID=colorspecifies color for grid lines
CHREF=colorspecifies color for HREF=lines
CPROP=colorspecifies color for proportion of frequency bar
CTEXT=colorspecifies color for text
CVREF=colorspecifies color for VREF= lines
PFILL=patternspecifies pattern used to fill bars

Table 3.9: Input and Output Data Sets
ANNOTATE=SAS-data-setannotate data set
CLASSSPEC=SAS-data-setdata set with specification limit information for each cell
OUTHISTOGRAM=SAS-data-setinformation on histogram intervals

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.