Creates an exponentially weighted moving average chart
using the given values for the expected mean and standard deviation.
Namespace:
Imsl.Chart2D.QC
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public EWMA( AxisXY axis, double[] data, double lambda, double expectedMean, double expectedStandardDeviation ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ axis As AxisXY, _ data As Double(), _ lambda As Double, _ expectedMean As Double, _ expectedStandardDeviation As Double _ ) |
Visual C++ |
---|
public: EWMA( AxisXY^ axis, array<double>^ data, double lambda, double expectedMean, double expectedStandardDeviation ) |
Parameters
- axis
- Type: Imsl.Chart2D..::.AxisXY
The AxisXY parent of this node.
- data
- Type: array<
System..::.Double
>[]()[]
An array containing data.
- lambda
- Type: System..::.Double
The decay parameter. It is usually between 0.2 and 0.3.
- expectedMean
- Type: System..::.Double
The expected mean of the data.
- expectedStandardDeviation
- Type: System..::.Double
The expected standard deviation of the data.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException |
is thrown if ![]() |