Control Charts.U Method
Definition
Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Overload List
| U(Read | 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.
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
UChartDataThe chart-ready data for the U chart.
Exceptions
| Argument | 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.
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
UChartDataThe chart-ready data for the U chart.
Exceptions
| Argument | defectCounts or unitSizes is null. |
| Argument | 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.
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
UChartDataThe chart-ready data for the U chart, with control limits derived from the frozen baseline.
Exceptions
| Argument | defectCounts, unitSizes, or baseline is null. |