Previous Page | Next Page

The CAPABILITY Procedure

Output Data Set

OUTTABLE= Data Set

The OUTTABLE= data set saves univariate statistics and capability indices. The following variables can be saved:

Table 5.3 OUTTABLE= Data Set

Variable

Description

_CP_

capability index

_CPK_

capability index

_CPL_

capability index

_CPM_

capability index

_CPU_

capability index

_K_

capability index

_KURT_

kurtosis

_LSL_

lower specification limit

_MAX_

maximum

_MEAN_

mean

_MEDIAN_

median

_MIN_

minimum

_MODE_

mode

_NMISS_

number of missing observations

_NOBS_

number of nonmissing observations

_P1_

st percentile

_P5_

th percentile

_P10_

th percentile

_P90_

th percentile

_P95_

th percentile

_P99_

th percentile

_PCTGTR_

percentage of observations greater than upper specification limit

_PCTLSS_

percentage of observations less than lower specification limit

_Q1_

th percentile (lower quartile)

_Q3_

th percentile (upper quartile)

_QRANGE_

interquartile range (upper quartile minus lower quartile)

_RANGE_

range

_SGNRNK_

centered sign rank

_SKEW_

skewness

_STD_

standard deviation

_SUMWGT_

sum of the weights

_SUM_

sum

_TARGET_

target value

_USL_

upper specification limit

_VARI_

variance

_VAR_

variable name

Note:The variables _CP_, _CPK_, _CPL_, _CPM_, _CPU_, _K_, _LSL_, _PCTGTR_, _PCTLSS_, _TARGET_, and _USL_ are included if you provide specification limits.

The OUTTABLE= data set and the OUT= data set1 contain essentially the same information. However, the structure of the OUTTABLE= data set may be more appropriate when you are computing summary statistics or capability indices for more than one process variable in the same invocation of the CAPABILITY procedure. Each observation in the OUTTABLE= data set corresponds to a different process variable, and the variables in the data set correspond to summary statistics and indices.

[See CAPTAB1 in the SAS/QC Sample Library]For example, suppose you have ten process variables (P1-P10). The following statements create an OUTTABLE= data set named Table, which contains summary statistics and capability indices for each of these variables:

proc capability data=Process outtable=Table noprint;
  var P1-P10;
  specs lsl=5 10 65 35 35 5 25 25 60 15
        usl=175 275 300 450 550 200 275 425 500 525;
run;

The following statements create the table shown in Figure 5.4, which contains the mean, standard deviation, lower and upper specification limits, and capability index for each process variable:

proc print data=Table label noobs;
   var _VAR_ _MEAN_ _STD_ _LSL_ _USL_ _CPK_;
   label _VAR_='Process';
run;

Figure 5.4 Tabulating Results for Multiple Process Variables
Process Capability Analysis of Fluid Weight

Process Mean Standard Deviation Lower Specification
Limit
Upper Specification
Limit
Capability Index
CPK
P1 90.76 57.024 5 175 0.49242
P2 167.32 81.628 10 275 0.43972
P3 224.56 96.525 65 300 0.26052
P4 258.08 145.218 35 450 0.44053
P5 283.48 157.033 35 550 0.52745
P6 107.48 52.437 5 200 0.58814
P7 153.20 90.031 25 275 0.45096
P8 217.08 130.031 25 425 0.49239
P9 280.68 140.943 60 500 0.51870
P10 243.24 178.799 15 525 0.42551


Footnotes

  1. See OUTPUT Statement for details on the OUT= data set.
Previous Page | Next Page | Top of Page