Cusum Chart 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#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
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
| Argument | data or options is null. |
| Argument | data is empty. |
| Argument | options.ReferenceValue is not positive, options.DecisionInterval is not positive, or options.Sigma is not a positive finite number when supplied. |