ControlCharts.U Method

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0

Overload List

U(ReadOnlySpan<Double>, ReadOnlySpan<Double>) Computes a U (defects-per-unit) chart from spans of defect counts and subgroup unit sizes.
U(Vector<Double>, Vector<Double>) Computes a U (defects-per-unit) chart from a vector of defect counts and a vector of subgroup unit sizes.
U(Vector<Double>, Vector<Double>, RateBaseline) Computes a U (defects-per-unit) chart from a vector of defect counts and unit sizes in Phase II mode, evaluating against a frozen baseline from a prior Phase I analysis.

U(ReadOnlySpan<Double>, ReadOnlySpan<Double>)

Computes a U (defects-per-unit) chart from spans of defect counts and subgroup unit sizes.
C#
public static UChartData U(
	ReadOnlySpan<double> defectCounts,
	ReadOnlySpan<double> unitSizes
)

Parameters

defectCounts  ReadOnlySpan<Double>
The ordered sequence of defect counts, one per subgroup. All values must be non-negative.
unitSizes  ReadOnlySpan<Double>
The ordered sequence of inspection-unit sizes, one per subgroup. All values must be positive.

Return Value

UChartData
The chart-ready data for the U chart.

Exceptions

ArgumentException The inputs are empty, have mismatched lengths, contain non-finite values, contain negative defect counts, or contain non-positive unit sizes.

U(Vector<Double>, Vector<Double>)

Computes a U (defects-per-unit) chart from a vector of defect counts and a vector of subgroup unit sizes.
C#
public static UChartData U(
	Vector<double> defectCounts,
	Vector<double> unitSizes
)

Parameters

defectCounts  Vector<Double>
The ordered sequence of defect counts, one per subgroup. All values must be non-negative.
unitSizes  Vector<Double>
The ordered sequence of inspection-unit sizes, one per subgroup. All values must be positive.

Return Value

UChartData
The chart-ready data for the U chart.

Exceptions

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

U(Vector<Double>, Vector<Double>, RateBaseline)

Computes a U (defects-per-unit) chart from a vector of defect counts and unit sizes in Phase II mode, evaluating against a frozen baseline from a prior Phase I analysis.
C#
public static UChartData U(
	Vector<double> defectCounts,
	Vector<double> unitSizes,
	RateBaseline baseline
)

Parameters

defectCounts  Vector<Double>
The ordered sequence of defect counts, one per subgroup. All values must be non-negative.
unitSizes  Vector<Double>
The ordered sequence of inspection-unit sizes, one per subgroup. All values must be positive.
baseline  RateBaseline
The frozen Phase I baseline to evaluate against.

Return Value

UChartData
The chart-ready data for the U chart, with control limits derived from the frozen baseline.

Exceptions

ArgumentNullExceptiondefectCounts, unitSizes, or baseline is null.

See Also