Chapter Contents |
Previous |
Next |
COMPHISTOGRAM Statement |
The following entries describe the options in detail. All options apply with high resolution graphics output.
proc capability; comphist length / class=batch kernel(c = 0.5 1.0 mise); run;
proc capability; comphist length / class = batch kernel(c = 0.75 k = normal triangular); run;Here two estimates are displayed. The first uses a normal kernel and bandwidth parameter of 0.75, and the second uses a triangular kernel and a bandwidth parameter of 0.75. In general, if more kernel types are specified than bandwidth parameters, the last bandwidth parameter in the list will be repeated for the remaining estimates. Likewise, if more bandwidth parameters are specified than kernel types, the last kernel type will be repeated for the remaining estimates. The default is MISE.
Variable Name | Description |
BY variables | subsets the data set |
Classification variables | specifies the structure of the comparative histogram |
_VAR_ | specifies name of process variable (must be character variable of length 8) |
_LSL_ | specifies lower specification limit for tile |
_TARGET_ | specifies target value for tile |
_USL_ | specifies upper specification limit for tile |
_CTILE_ | specifies background color for tiles (must be character variable of length 8) |
_TILELG_ | specifies text displayed in color tile legend at bottom of comparative histogram (character variable of length not greater than 16) |
_TILELB_ | specifies text displayed in corner of each tile (character variable of length not greater than 16) |
Area Under Curve | Statement | Option |
between specification | COMPHIST | CFILL=color |
limits | COMPHIST | PFILL=pattern |
left of lower | SPEC | CLEFT=color |
specification limit | SPEC | PLEFT=pattern |
right of upper | SPEC | CRIGHT=color |
specification limit | SPEC | PRIGHT=pattern |
FILL | specifies that the area under the curve is to be filled |
COLOR= | specifies the color of the curve |
L= | specifies the line style for the curve |
W= | specifies the width of the curve |
K= | specifies the type of kernel |
C= | specifies the smoothing parameter |
where
mean
standard deviation
h = width of histogram interval
If you specify values for and with
the MU= and SIGMA= normal-options, the same curve
is displayed for each cell.
By default, a distinct curve is displayed for each
cell based on the sample mean and standard deviation for that cell.
For example, the following statements
display a distinct curve
for each level of the variable SUPPLIER:
proc capability noprint; comphist width / class=supplier normal(color=red l=2); run;
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.