Instance of ProcessCapability are constructed from a vector of input data measurements, a subgroup size (the data must laid out in continuous subgroups of equal size), lower and upper specification limits, and the control target process mean.
Code Example – C# process control
DoubleVector data = ... int size = 5; double LSL = 73.95; double USL = 74.05; double target = 74.0; var pc = new ProcessCapability( data, size, LSL, USL, target );
If no target is given, the mean of the specification limits is used.
ProcessCapability provides the following properties:
● CI95 gets the 95% confidence interval. 95% of the time the process mean will reside within this interval. The estimate is based on the t-distribution (t-score) if there are 30 or fewer samples; otherwise, the normal distribution is used (z-score).
● ProcessSigma gets the estimate of the process standard deviations used to compute Cp, Cpk, and Cpm. The standard deviation is estimated using the unweighted averages of the subgroup ranges.
● IQR gets the interquartile range using the Minitab interpolation method. This method uses interpolation to find the upper and lower quartiles before returning the IQR. Therefore, the IQR may be computed from points that do not exist in the data set.