CusumChart Constructor

Initializes a new CusumChart 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 CusumChart(
	Vector<double> data,
	CusumChartOptions options,
	IIndex? index = null
)

Parameters

data  Vector<Double>
The ordered baseline observations. Must not be empty.
options  CusumChartOptions
Chart configuration options specifying the reference value k, the decision interval h, and an optional target value. Must not be null.
index  IIndex  (Optional)
Reserved for future use. Currently unused by CusumChart as it does not produce an indexed series. Pass null.

Exceptions

ArgumentNullExceptiondata or options is null.
ArgumentExceptiondata is empty.
ArgumentOutOfRangeExceptionoptions.ReferenceValue is not positive, options.DecisionInterval is not positive, or options.Sigma is not a positive finite number when supplied.

See Also