ProcessAnalysis.AnalyzeU Method

Performs a U (defects per unit) chart analysis on the supplied defect counts and unit sizes.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public static ProcessAnalysisResult<UChartData> AnalyzeU(
	Vector<double> defectCounts,
	Vector<double> unitSizes,
	ControlRuleSet? ruleSet = null,
	RateBaseline? baseline = null
)

Parameters

defectCounts  Vector<Double>
The ordered sequence of defect counts, one per subgroup.
unitSizes  Vector<Double>
The inspection unit sizes corresponding to each subgroup in defectCounts.
ruleSet  ControlRuleSet  (Optional)
Optional rule set used to evaluate rules on the U series. When null no rule evaluation is performed.
baseline  RateBaseline  (Optional)
When non-null, runs in Phase II mode: the defects-per-unit center line and limits are taken from the frozen baseline. Defaults to null (Phase I).

Return Value

ProcessAnalysisResult<UChartData>
A ProcessAnalysisResult<TChartData> containing chart data and diagnostics.

Exceptions

ArgumentNullExceptiondefectCounts or unitSizes is null.
ArgumentException The inputs are empty, have mismatched lengths, contain non-finite values, or contain invalid defect counts or unit sizes.

See Also