Np Chart Constructor
Initializes a new NpChart in the
Unfitted state from a vector of
nonconforming counts and a fixed sample size.
Definition
Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
public NpChart(
Vector<double> nonconformingCounts,
double sampleSize,
IIndex? index = null
)Parameters
- nonconformingCounts Vector<Double>
- The ordered baseline counts of nonconforming items. Must contain at least one value, all values must be non-negative and must not exceed sampleSize.
- sampleSize Double
- The constant sample size applied to all subgroups. Must be a positive finite number.
- index IIndex (Optional)
- An optional index providing labels or time positions for each observation. When null a default positional index is used.
Exceptions
| Argument | nonconformingCounts is null. |
| Argument | nonconformingCounts is empty. |
| Argument | sampleSize is not a positive finite number. |