The syntax for the SPEC statement is as follows:
SPEC
<options> ;
You can use at most one SPEC statement in the CAPABILITY procedure. When you provide specification limits and target values in a SPEC statement, the tabular output produced by the PROC CAPABILITY statement includes process capability indices as well as summary statistics. You can use the SPEC statement in conjunction with the CDFPLOT, COMPHISTOGRAM, HISTOGRAM, PROBPLOT, and QQPLOT statements to add specification limit and target lines to the plots produced with these statements.
The following tables list the SPEC statement options by function. For complete descriptions see the section Dictionary of Options.
Table 5.3: SPEC Statement Options
Option |
Description |
---|---|
Lower Specification Limit Options |
|
color used to fill area left of lower specification limit (histograms only) |
|
color of lower specification limit line |
|
line type of lower specification limit line |
|
lower specification limit values |
|
character used for lower specification limit line in line printer plots |
|
pattern type used to fill area left of lower specification limit (histograms only) |
|
width of lower specification limit line |
|
Target Options |
|
color of target line |
|
line type of target line |
|
target value |
|
character used for target in line printer plots |
|
width of target line |
|
Upper Specification Limit Options |
|
color used to fill area right of upper specification limit (histograms only) |
|
color of upper specification limit line |
|
line type of upper specification limit line |
|
pattern type used to fill area right of upper specification limit (histograms only) |
|
upper specification limit values |
|
character used for upper specification limit in line printer plots |
|
width of upper specification limit line |
The following entries provide detailed descriptions of options for the SPEC statement. The notes Traditional Graphics, ODS Graphics, and Line Printer identify options that can be used with traditional graphics, ODS Graphics output, and line printer plots, respectively.