StatControlCharts.QCCapIndexes Method

void QCCapIndexes(TVec Data, Double LB, Double UB, ref Double p, ref Double CP, ref Double CPK, ref Double[] CPConfInt, ref Double[] CPKConfInt, Double Alpha)

Process Capability indexes p, Cp and Cpk.

#NameDescription
1DataProcess data.
2LBLower specification limit. LB and UB are boundaries within which measurements on a product characteristic must lie.
3UBUpper specification limit. LB and UB are boundaries within which measurements on a product characteristic must lie.
4AlphaDesired significance level.
5pReturns calculated significance.
6CPReturns capability index.
7CPConfIntReturns 100*(1-Alpha) Cp confindence interval.
8CPKReturns capability index for uncentred process.
9CPKConfIntReturns 100*(1-Alpha) CPK confidence interval.

Result: stored in self (calling object)

Remarks:

Calculates the Process Capability indexes p, Cp(aka CPR) and Cpk(AKA CPRk).

Examples
using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
    private void Example()
    {
        double p, lb, ub, cp, cpk;
        double[] CPConfInt, CPKConfInt;
        Vector data = new Vector(0);
        lb = -0.1;
        ub = 0.1;
        data.LoadFromFile("PCDATA.vec");
        StatControlCharts.QCCapIndexes(data, lb, ub, out p, out cp, out cpk, out CPConfInt, out CPKConfInt, 0.05);
    }
}