dotnetCHARTING Send comments on this topic.
MeanDeviation(String,SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > MeanDeviation Method : MeanDeviation(String,SeriesCollection) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
Calculates the mean deviation of the series's element YValues.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function MeanDeviation( _
   ByVal seriesName As String, _
   ByVal sc As SeriesCollection _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim sc As SeriesCollection
Dim value As Series
 
value = StatisticalEngine.MeanDeviation(seriesName, sc)
C# 
public static Series MeanDeviation( 
   string seriesName,
   SeriesCollection sc
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
sc
A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.

Remarks

The mean deviation is exactly what the name implies, that is, it is the arithmetic average of the differences from each of the elements of the series to the mean of the series.

See Also