You are here: Symbol Reference > Dew.Stats Namespace > StatControlCharts Class > StatControlCharts Methods > QCCapIndexes Method
Dew Stats for .NET
Contents
PreviousUpNext
StatControlCharts.QCCapIndexes Method
C#
public QCCapIndexes(TVec Data, double LB, double UB, ref double p, ref double CP, ref double CPK, ref TTwoElmReal CPConfInt, ref TTwoElmReal CPKConfInt, double Alpha);
Parameters
Parameters 
Description 
Data 
Process data. 
Returns calculated significance. 
CP 
Returns capability index. 
CPK 
Returns capability index for uncentred process. 
CPConfInt 
Returns 100*(1-Alpha) Cp confindence interval. 
CPKConfInt 
Returns 100*(1-Alpha) CPK confidence interval. 
Alpha 
Desired significance level. 
LB,UB 
Lower and upper specification limit. LB and UB are boundaries within which measurements on a product characteristic must lie. 

Process Capability indexes p, Cp and Cpk. 

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

In the following example capability indexes and their condifence are calculated.

using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
  private void Example()
  {
    Vector data = new Vector(0);
    data.LoadFromFile("PCDATA.vec");
    StatControlCharts.QCCapIndexes(Data,out lb,out ub,out p,out cp,out cpk,out CPConfInt,out CPKConfInt, 0.05);
  }
}
What do you think about this topic? Send feedback!
Copyright (c) 1999-2010 by Dew Research. All rights reserved.