StatControlCharts.QCNPChart Method

Overload List

#SignatureDescription
1void QCNPChart(TVec Data, TVec SampleSize, TVec DrawVec, TVec CL, TVec UCL, TVec LCL, Double Confidence)In this case each sample can have different size. You must store sizes in SampleSize vector.
2void QCNPChart(TVec Data, Int32 SampleSize, TVec DrawVec, ref Double CL, ref Double UCL, ref Double LCL, Double Confidence)Constructs nP-Chart.

Overload 1: void QCNPChart(TVec Data, TVec SampleSize, TVec DrawVec, TVec CL, TVec UCL, TVec LCL, Double Confidence)

In this case each sample can have different size. You must store sizes in SampleSize vector.

#NameDescription
1DataData to be analyzed. Each value represents number of defects.
2ConfidenceConfidence level for upper and lower control limit. Confidence must lie in the (0,1) interval.
3SampleSizeSample size. Can be integer or vector.
4DrawVecReturns values to be drawn.
5CLReturns control Chart centerline.
6UCLReturns control Chart upper control limit.
7LCLReturns control Chart lower control limit.

Result: stored in self (calling object)

Remarks:

An exeption is raised if Data and SampleSize length do not match.

See Also: !:TQCSeries, QCSeries, StatControlCharts.QCPChart, StatControlCharts.QCUChart, StatControlCharts.QCCChart

Overload 2: void QCNPChart(TVec Data, Int32 SampleSize, TVec DrawVec, ref Double CL, ref Double UCL, ref Double LCL, Double Confidence)

Constructs nP-Chart.

#NameTypeDescription
1DataTVecsource TVec
2SampleSizeInt32
3DrawVecTVecsource TVec
4CLDouble (ref)output
5UCLDouble (ref)output
6LCLDouble (ref)output
7ConfidenceDoublescalar

Result: stored in self (calling object)

Remarks:

Constructs nP-Chart drawing values, center line, upper and lower control limit. The assumption is all samples have the same SampleSize.