|
Chapter Contents |
Previous |
Next |
| PROC CAPABILITY and General Statements |
The following entries provide detailed descriptions of the options in the PROC CAPABILITY statement.
Note that specialized ALPHA= options are available for a number of confidence interval options. For example, you can specify CIBASIC( ALPHA=0.10 ) to request a table of Basic Confidence Limits at the 90% level. The default values of these options default to the value of the general ALPHA= option.
By default, the form character list specified with the SAS system option FORMCHAR= is used; otherwise, the default is FORMCHAR='|----|+|---'. If you print to a PC screen or your device supports the ASCII symbol set (1 or 2), the following is recommended:
formchar='B3,C4,DA,C2,BF,C3,C5,B4,C0,C1,D9'XAs an example, suppose you want to plot the data values of the empirical cumulative distribution function with asterisks (*). You can change the appropriate character using the following:
formchar(2)='*'Note that the FORMCHAR= option in the PROC CAPABILITY statement allows you to temporarily override the values of the SAS system option with the same name. The values of the SAS system option are not altered by using the FORMCHAR= option in PROC CAPABILITY statement.
The features associated with values of index are as follows:
| Value of | ||
| index | Description of Character | Chart Feature |
| 1 | vertical bar | frame, ecdf line, HREF=lines |
| 2 | horizontal bar | frame, ecdf line, VREF= lines |
| 3 | box character (upper left) | frame, ecdf line, histogram bars |
| 4 | box character (upper middle) | histogram bars, tick marks (horizontal axis) |
| 5 | box character (upper right) | frame, histogram bars |
| 6 | box character (middle left) | histogram bars |
| 7 | box character (middle middle) | not used |
| 8 | box character (middle right) | histogram bars, tick marks (vertical axis) |
| 9 | box character (lower left) | frame |
| 10 | box character (lower middle) | histogram bars |
| 11 | box character (lower right) | frame, ecdf line |
If you use only one value, the procedure uses this unit for all variables. If you use a list of values, you must also use a VAR statement. The procedure then uses the roundoff values for variables in the order given in the VAR statement. For example, the following statements specify a roundoff value of 1 for YLDSTREN and a roundoff value of 0.5 for TENSTREN.
proc capability round=1 0.5;
var yldstren tenstren;
run;
When a variable value is midway between the two nearest
rounded points, the value is rounded to the nearest even
multiple of the roundoff value. For example, with a
roundoff value of 1, the variable values of -2.5,
-2.2, and -1.5 are rounded to -2; the values of
-0.5, 0.2, and 0.5 are rounded to 0; and the values
of 0.6, 1.2, and 1.4 are rounded to 1.
| Value | Divisor | Formula |
| DF | degrees of freedom | n - 1 |
| N | number of observations | n |
| WEIGHT | WGT | sum of weight | |
| WDF | sum of weights minus one | ( |
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.