Control Charts.Individuals Moving Range 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
| Individuals | Computes an Individuals–Moving Range chart set from a span of observations in Phase II mode, evaluating against a frozen baseline from a prior Phase I analysis. |
| Individuals | Computes an Individuals–Moving Range chart set from a vector of observations in Phase II mode, evaluating against a frozen baseline from a prior Phase I analysis. |
| Individuals | Computes an Individuals–Moving Range chart set from a span of observations. |
| Individuals | Computes an Individuals–Moving Range chart set from a vector of observations. |
IndividualsMovingRange(ReadOnlySpan<Double>, StandardBaseline)
Computes an Individuals–Moving Range chart set from a span of
observations in Phase II mode, evaluating against a frozen baseline
from a prior Phase I analysis.
public static IndividualsMovingRangeChartSetData IndividualsMovingRange(
ReadOnlySpan<double> observations,
StandardBaseline baseline
)Parameters
- observations ReadOnlySpan<Double>
- The new batch of individual observations to evaluate.
- baseline StandardBaseline
- The frozen Phase I baseline to evaluate against.
Return Value
IndividualsMovingRangeChartSetDataThe chart-ready data for the Individuals–MR chart set, computed from observations against the frozen limits in baseline.
Exceptions
| Argument | baseline is null. |
| Argument | The input is empty, too short for the baseline's moving range width, or contains non-finite values. |
IndividualsMovingRange(Vector<Double>, StandardBaseline)
Computes an Individuals–Moving Range chart set from a vector of
observations in Phase II mode, evaluating against a frozen baseline
from a prior Phase I analysis.
public static IndividualsMovingRangeChartSetData IndividualsMovingRange(
Vector<double> observations,
StandardBaseline baseline
)Parameters
- observations Vector<Double>
- The new batch of individual observations to evaluate.
- baseline StandardBaseline
- The frozen Phase I baseline to evaluate against.
Return Value
IndividualsMovingRangeChartSetDataThe chart-ready data for the Individuals–MR chart set, computed from observations against the frozen limits in baseline.
Exceptions
| Argument | observations or baseline is null. |
| Argument | The input is empty, too short for the baseline's moving range width, or contains non-finite values. |
IndividualsMovingRange(ReadOnlySpan<Double>, Int32, SigmaEstimator)
Computes an Individuals–Moving Range chart set from a span of observations.
public static IndividualsMovingRangeChartSetData IndividualsMovingRange(
ReadOnlySpan<double> observations,
int movingRangeWidth = 2,
SigmaEstimator sigmaEstimator = SigmaEstimator.MovingRange
)Parameters
- observations ReadOnlySpan<Double>
- The ordered sequence of individual observations.
- movingRangeWidth Int32 (Optional)
- The width of the moving range window. Must be at least 2. Defaults to 2.
- sigmaEstimator SigmaEstimator (Optional)
- The estimator used to compute sigma. Defaults to MovingRange.
Return Value
IndividualsMovingRangeChartSetDataThe chart-ready data for the Individuals–MR chart set.
Exceptions
| Argument | The input is empty, too short, contains non-finite values, or the estimator is incompatible with individuals data. |
| Argument | movingRangeWidth is less than 2. |
IndividualsMovingRange(Vector<Double>, Int32, SigmaEstimator)
Computes an Individuals–Moving Range chart set from a vector of observations.
public static IndividualsMovingRangeChartSetData IndividualsMovingRange(
Vector<double> observations,
int movingRangeWidth = 2,
SigmaEstimator sigmaEstimator = SigmaEstimator.MovingRange
)Parameters
- observations Vector<Double>
- The ordered sequence of individual observations.
- movingRangeWidth Int32 (Optional)
- The width of the moving range window. Must be at least 2. Defaults to 2.
- sigmaEstimator SigmaEstimator (Optional)
- The estimator used to compute sigma. Must be MovingRange or OverallStandardDeviation. Defaults to MovingRange.
Return Value
IndividualsMovingRangeChartSetDataThe chart-ready data for the Individuals–MR chart set.
Exceptions
| Argument | observations is null. |
| Argument | The input is empty, too short, contains non-finite values, or the estimator is incompatible with individuals data. |
| Argument | movingRangeWidth is less than 2. |