Individuals Moving Range Chart Set 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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
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:
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
| Individuals | Initializes a new IndividualsMovingRangeChartSet in the Unfitted state from a vector of observations. |
Properties
| Individuals | Gets the Individuals series. Contains the analyzed observations and the computed control limits. |
| Moving | Gets the Moving Ranges series. Contains the computed moving range values and the corresponding control limits. |
| Moving | Gets the width of the moving range window used by this chart. |
| Sigma | 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>) |
| Create | 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) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| From | Reconstructs an IndividualsMovingRangeChartSet from a JSON string previously produced by ToJson(). |
| Get | Serves as the default hash function. (Inherited from Object) |
| Get | Gets the Type of the current instance. (Inherited from Object) |
| ToJson | Serializes this IndividualsMovingRangeChartSet to a JSON string. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |