IndividualsMovingRangeChartSet Class

A v2 SPC chart for monitoring individual observations and their moving ranges. Implements the full Unfitted → Fitted → Deployed → Apply lifecycle defined by ControlChart.

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public sealed class IndividualsMovingRangeChartSet : ControlChart<IndividualsMovingRangeChartSet>
Inheritance
Object  →  ControlChart  →  ControlChart<IndividualsMovingRangeChartSet>  →  IndividualsMovingRangeChartSet

Remarks

The IndividualsMovingRangeChartSet (I–MR chart) is used when one measurement is collected per time period. Phase-I control limits are estimated from a baseline data set; the deployed chart can then be serialized and applied to future production batches without re-estimation.

Typical usage:

C#
double[] baseline = { 9, 11, 10, 12, 8, 10, 9, 11, 10, 10 };

// Phase I — establish limits
IndividualsMovingRangeChartSet chart = new IndividualsMovingRangeChartSet(Vector.Create(baseline));
chart.Analyze();

// Deploy for production monitoring
IndividualsMovingRangeChartSet deployed = (IndividualsMovingRangeChartSet)chart.Deploy();

// Persist and restore
string json = deployed.ToJson();
IndividualsMovingRangeChartSet restored = IndividualsMovingRangeChartSet.FromJson(json);

// Phase II — apply to new observations
double[] production = { 10, 9, 11, 12, 10 };
IndividualsMovingRangeChartSet applied = (IndividualsMovingRangeChartSet)restored.Apply(
    Vector.Create(production));

Constructors

IndividualsMovingRangeChartSet Initializes a new IndividualsMovingRangeChartSet in the Unfitted state from a vector of observations.

Properties

IndividualsSeries Gets the Individuals series. Contains the analyzed observations and the computed control limits.
MovingRangesSeries Gets the Moving Ranges series. Contains the computed moving range values and the corresponding control limits.
MovingRangeWidth Gets the width of the moving range window used by this chart.
SigmaEstimator Gets the sigma estimator used to compute the Individuals chart control limits.
State Gets the current lifecycle state of this chart.
(Inherited from ControlChart)

Methods

Analyze Performs phase-I analysis, establishing control limits and transitioning the chart from Unfitted to Fitted.
(Inherited from ControlChart)
Apply Applies new observations to this Deployed chart and returns a new TChart in the Fitted state.
(Inherited from ControlChart<TChart>)
CreateDeployed Creates an IndividualsMovingRangeChartSet directly in the Deployed state from externally supplied fitted parameters.
Deploy Creates a new TChart in the Deployed state from this Fitted chart.
(Inherited from ControlChart<TChart>)
Diagnose Produces a diagnostic report for the current chart state.
(Inherited from ControlChart)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FromJson Reconstructs an IndividualsMovingRangeChartSet from a JSON string previously produced by ToJson().
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToJson Serializes this IndividualsMovingRangeChartSet to a JSON string.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also