dotnetCHARTING Send comments on this topic.
PearsonCorrelationCoef(String,SeriesCollection) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > PearsonCorrelationCoef Method : PearsonCorrelationCoef(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 Pearson's correlation coefficient for the YValues of the series.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function PearsonCorrelationCoef( _
   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.PearsonCorrelationCoef(seriesName, sc)
C# 
public static Series PearsonCorrelationCoef( 
   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.

See Also

© 2018 All Rights Reserved.