Process Analysis.Analyze P Method
Performs a P (fraction nonconforming) chart analysis on the
supplied defect counts and sample sizes.
Definition
Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
A ProcessAnalysisResult<TChartData> containing chart data and diagnostics.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
public static ProcessAnalysisResult<PChartData> AnalyzeP(
Vector<double> defectCounts,
Vector<double> sampleSizes,
ControlRuleSet? ruleSet = null,
RateBaseline? baseline = null
)Parameters
- defectCounts Vector<Double>
- The ordered sequence of defect counts, one per subgroup.
- sampleSizes Vector<Double>
- The sample sizes corresponding to each subgroup in defectCounts.
- ruleSet ControlRuleSet (Optional)
- Optional rule set used to evaluate rules on the P series. When null no rule evaluation is performed.
- baseline RateBaseline (Optional)
- When non-null, runs in Phase II mode: the fraction nonconforming center line and limits are taken from the frozen baseline. Defaults to null (Phase I).
Return Value
ProcessAnalysisResult<PChartData>A ProcessAnalysisResult<TChartData> containing chart data and diagnostics.
Exceptions
| Argument | defectCounts or sampleSizes is null. |
| Argument | The inputs are empty, have mismatched lengths, contain non-finite values, or contain invalid defect counts or sample sizes. |