ControlCharts.IndividualsMovingRange Method

Definition

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

Overload List

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.
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.
IndividualsMovingRange(ReadOnlySpan<Double>, Int32, SigmaEstimator) Computes an Individuals–Moving Range chart set from a span of observations.
IndividualsMovingRange(Vector<Double>, Int32, SigmaEstimator) 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.
C#
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

IndividualsMovingRangeChartSetData
The chart-ready data for the Individuals–MR chart set, computed from observations against the frozen limits in baseline.

Exceptions

ArgumentNullExceptionbaseline is null.
ArgumentException 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.
C#
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

IndividualsMovingRangeChartSetData
The chart-ready data for the Individuals–MR chart set, computed from observations against the frozen limits in baseline.

Exceptions

ArgumentNullExceptionobservations or baseline is null.
ArgumentException 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.
C#
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

IndividualsMovingRangeChartSetData
The chart-ready data for the Individuals–MR chart set.

Exceptions

ArgumentException The input is empty, too short, contains non-finite values, or the estimator is incompatible with individuals data.
ArgumentOutOfRangeExceptionmovingRangeWidth is less than 2.

IndividualsMovingRange(Vector<Double>, Int32, SigmaEstimator)

Computes an Individuals–Moving Range chart set from a vector of observations.
C#
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

IndividualsMovingRangeChartSetData
The chart-ready data for the Individuals–MR chart set.

Exceptions

ArgumentNullExceptionobservations is null.
ArgumentException The input is empty, too short, contains non-finite values, or the estimator is incompatible with individuals data.
ArgumentOutOfRangeExceptionmovingRangeWidth is less than 2.

See Also