The CAPABILITY Procedure


Introduction: CAPABILITY Procedure

A process capability analysis compares the distribution of output from an in-control process to its specification limits to determine the consistency with which the specifications can be met. The CAPABILITY procedure provides the following:

  • process capability indices, such as $C_{p}$ and $C_{pk}$

  • descriptive statistics based on moments, including skewness and kurtosis. Other descriptive information provided includes quantiles or percentiles (such as the median), frequency tables, and details on extreme values.

  • histograms and comparative histograms. Optionally, these can be superimposed with specification limits, fitted probability density curves for various distributions, and kernel density estimates.

  • cumulative distribution function plots (cdf plots). Optionally, these can be superimposed with specification limits and probability distribution curves for various distributions.

  • quantile-quantile plots (Q-Q plots), probability plots, and probability-probability plots (P-P plots). These plots facilitate the comparison of a data distribution with various theoretical distributions. Optionally, Q-Q plots and probability plots can be superimposed with specification limits.

  • goodness-of-fit tests for a variety of distributions including the normal. The assumption of normality is critical to the interpretation of capability indices.

  • statistical intervals (prediction, tolerance, and confidence intervals) for a normal population

  • the ability to produce plots either as traditional graphics, ODS Graphics output, or legacy line printer plots. Traditional graphics can be saved, replayed, and annotated.

  • the ability to inset summary statistics and capability indices in graphical output

  • the ability to analyze data sets with a frequency variable

  • the ability to read specification limits from a data set

  • the ability to create output data sets containing summary statistics, capability indices, histogram intervals, parameters of fitted curves, and statistical intervals

You can use the PROC CAPABILITY statement, together with the VAR and SPEC statements, to compute summary statistics and process capability indices. See Getting Started: CAPABILITY Procedure for introductory examples. In addition, you can use the statements summarized in Table 5.1 to request plots and specialized analyses:

Table 5.1: Statements for Plots and Specialized Analyses

Statement

Result

CDFPLOT

cumulative distribution function plot

COMPHISTOGRAM

comparative histogram

HISTOGRAM

histogram

INSET

inset table on plot

INTERVALS

statistical intervals

OUTPUT

output data set with summary statistics and capability indices

PPPLOT

probability-probability plot

PROBPLOT

probability plot

QQPLOT

quantile-quantile plot


You have three alternatives for producing plots with the CAPABILITY procedure:

  • ODS Graphics output is produced if ODS Graphics is enabled, for example by specifying the ODS GRAPHICS ON statement prior to the PROC statement.

  • Otherwise, traditional graphics are produced by default if SAS/GRAPHĀ® is licensed.

  • Legacy line printer charts are produced when you specify the LINEPRINTER option in the PROC statement.

See ChapterĀ 3: SAS/QC Graphics, for more information about producing these different kinds of graphs.

You can use the INSET statement with any of the plot statements to enhance the plot with an inset table of summary statistics. The INSET statement is not applicable when you produce line printer plots.