|
Chapter Contents |
Previous |
Next |
| CDFPLOT Statement |
The syntax for the CDFPLOT statement is as follows:
For example, suppose a data set named STEEL contains exactly three numeric variables, LENGTH, WIDTH and HEIGHT. The following statements create a cdf plot for each of the three variables:
proc capability data=steel;
cdfplot;
run;
The following statements create a cdf plot for LENGTH and a cdf plot
for WIDTH:
proc capability data=steel;
var length width;
cdfplot;
run;
The following statements create a cdf plot for WIDTH:
proc capability data=steel;
var length width;
cdfplot width;
run;
By default, the horizontal axis of a cdf plot is labeled with the variable name. If you specify a label for a variable, however, the label is used. The default vertical axis label is Cumulative Percent, and the axis is scaled in percent of observations.
If you specify a SPEC statement or a SPEC= data set in addition to the CDFPLOT statement, then the specification limits for each variable are displayed as reference lines and are identified in a legend.
proc capability data=steel;
cdfplot length / normal
ctext = yellow;
run;
|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.