Syntax: CAPABILITY Procedure

The following are the primary statements that control the CAPABILITY procedure:

PROC CAPABILITY <options> ;
VAR variables ;
CLASS variable-1 <variable-2> </ options> ;
SPEC <options> ;
CDFPLOT <variables> </ options> ;
COMPHISTOGRAM <variables> / CLASS= (class-variables) <options> ;
HISTOGRAM <variables> </ options> ;
PPPLOT <variables> </ options> ;
PROBPLOT <variables> </ options> ;
QQPLOT <variables> </ options> ;
INSET keyword-list </ options> ;
INTERVALS <variables> </ options> ;
OUTPUT <OUT= SAS-data-set> <keyword1=names ...keywordk=names> ;

The PROC CAPABILITY statement invokes the procedure. The VAR statement specifies the numeric variables to be analyzed, and it is required if the OUTPUT statement is used to save summary statistics and capability indices in an output data set. If you do not use the VAR statement, all numeric variables in the data set are analyzed. The SPEC statement provides specification limits.

The plot statements (CDFPLOT, COMPHISTOGRAM, HISTOGRAM, PPPLOT, PROBPLOT, and QQPLOT) create graphical displays, and the INSET statement enhances these displays by adding a table of summary statistics directly on the graph. The INTERVALS statement computes statistical intervals. You can specify one or more of each of the plot statements, the INSET statement, the INTERVALS statement, and the OUTPUT statement. If you use a VAR statement, the variables listed in a plot statement must be a subset of the variables listed in the VAR statement.