|
Chapter Contents |
Previous |
Next |
| COMPHISTOGRAM Statement |
The following tables list the COMPHIST statement options by function. For complete descriptions, see "Dictionary of Options" .
| COLOR=color | specifies color of normal curve |
| FILL | fills area under normal curve |
| L=linetype | specifies line type of normal curve |
| MU=value | specifies mean |
| SIGMA=value | specifies standard deviation |
| W=n | specifies 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
and
for each cell
since these parameters are not specified.
| C=value-list | MISE | specifies standardized bandwidth parameter c for kernel density estimate |
| COLOR=color | specifies color of the kernel density curve |
| FILL | fills area under kernel density curve |
| K=keyword | specifies NORMAL, TRIANGULAR, or QUADRATIC kernel |
| L=linetype | specifies line type used for kernel density curve |
| W=n | specifies line width for kernel density curve |
| ANNOKEY | applies annotation requested in ANNOTATE= data set to key cell only |
| BARWIDTH=n | specifies width for the bars |
| CLASS=(variables) | specifies classification variables |
| CLASSKEY=('values') | specifies key cell |
| HOFFSET=value | specifies offset for horizontal axis |
| INTERTILE=value | specifies distance between tiles |
| MAXNBIN=n | specifies maximum number of bins displayed |
| MAXSIGMAS=value | limits number of bins displayed to range of value standard deviations above and below mean of data in key cell |
| MIDPOINTS=values | KEY | UNIFORM | specifies how midpoints are determined |
| MISSING1 | requests that missing values of first CLASS= variable be treated as a level of that CLASS= variable |
| MISSING2 | requests that missing values of second CLASS= variable be treated as a level of that CLASS= variable |
| NCOLS=n | specifies number of columns in comparative histogram |
| NOBARS | suppresses histogram bars |
| NOFRAME | suppresses frame around plotting area |
| NOKEYMOVE | suppresses rearrangement of cells that occurs by default with the CLASSKEY= option |
| NOPLOT | suppresses plot |
| NROWS=n | specifies number of rows in comparative histogram |
| ORDER1=DATA | FORMATTED | FREQ | INTERNAL | specifies display order for values of the first CLASS= variable |
| ORDER2=DATA | FORMATTED | FREQ | INTERNAL | specifies display order for values of the second CLASS= variable |
| RTINCLUDE | includes right endpoint in interval |
| TILELEGLABEL='string' | specifies label displayed when _CTILE_ and _TILELG_ variables are provided in the CLASSSPEC= data set |
| TURNVLABELS | turns and strings out vertically characters in labels for vertical axis |
| WBARLINE=n | specifies line thickness for bar outlines |
| HREF=value-list | specifies reference lines perpendicular to horizontal axis |
| HREFLABELS= 'label1'...'labeln' | specifies labels for HREF=lines |
| HREFLABPOS=n | specifies vertical position of labels for HREF=lines |
| LHREF=linetype | specifies line style for HREF=lines |
| LVREF=linetype | specifies line style for VREF= lines |
| VREF=value-list | specifies reference lines perpendicular to vertical axis |
| VREFLABELS= 'label1'...'labeln' | specifies labels for VREF= lines |
| VREFLABPOS=n | specifies horizontal position of labels for VREF= lines |
Table 3.5: Text Enhancement Options
| FONT=font | specifies software font for text |
| HEIGHT=value | specifies height of text used outside framed areas |
| INFONT=font | specifies software font for text inside framed areas |
| INHEIGHT=value | specifies height of text inside framed areas |
Table 3.6: Axis and Legend Options
| GRID | adds grid corresponding to vertical axis |
| LGRID=linetype | specifies line style for grid requested with GRID option |
| NLEGEND<='string'> | specifies form of the legend displayed inside tiles |
| NLEGENDPOS=NE | NW | specifies position of legend displayed inside tiles |
| NOHLABEL | suppresses label for horizontal axis |
| NOVLABEL | suppresses label for vertical axis |
| NOVTICK | suppresses tick marks and tick mark labels for vertical axis |
| VAXIS=value-list | specifies tick mark values for vertical axis |
| VAXISLABEL='string' | specifies label for vertical axis |
| VOFFSET=value | specifies length of offset at upper end of vertical axis |
| VSCALE=COUNT | PERCENT | PROPORTION | specifies scale for vertical axis |
| WAXIS=n | specifies line thickness for axes and frame |
| WGRID=n | specifies 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=color | specifies color for axis |
| CBARLINE=color | specifies color for outline of the bars |
| CFILL=color | specifies color for filling bars |
| CFRAME=color | specifies color for frame |
| CFRAMENLEG=color | specifies the color for the frame requested by the NLEGEND option |
| CFRAMESIDE=color | specifies color for filling frame for row labels |
| CFRAMETOP=color | specifies color for filling frame for column labels |
| CGRID=color | specifies color for grid lines |
| CHREF=color | specifies color for HREF=lines |
| CPROP=color | specifies color for proportion of frequency bar |
| CTEXT=color | specifies color for text |
| CVREF=color | specifies color for VREF= lines |
| PFILL=pattern | specifies pattern used to fill bars |
Table 3.9: Input and Output Data Sets
| ANNOTATE=SAS-data-set | annotate data set |
| CLASSSPEC=SAS-data-set | data set with specification limit information for each cell |
| OUTHISTOGRAM=SAS-data-set | information on histogram intervals |
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.