EwmaChart Constructor

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

Definition

Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
C#
public EwmaChart(
	Vector<double> data,
	EwmaChartOptions options,
	IIndex? index = null
)

Parameters

data  Vector<Double>
The ordered baseline observations. Must not be empty.
options  EwmaChartOptions
Chart configuration options specifying the smoothing constant λ, the control-limit width multiplier L, and an optional target value. Must not be null.
index  IIndex  (Optional)
An optional index providing labels or time positions for each observation. When null a default positional index is used.

Exceptions

ArgumentNullExceptiondata or options is null.
ArgumentExceptiondata is empty.
ArgumentOutOfRangeExceptionoptions.Lambda is not in (0, 1], or options.Width is not positive, or options.Sigma is not a positive finite number when supplied.

See Also