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


elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series.
Calculates Pearson's correlation coefficient for the YValues of the series.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function PearsonCorrelationCoef( _
   ByVal elementName As String, _
   ByVal s As Series _
) As Element
Visual Basic (Usage)Copy Code
Dim elementName As String
Dim s As Series
Dim value As Element
 
value = StatisticalEngine.PearsonCorrelationCoef(elementName, s)
C# 
public static Element PearsonCorrelationCoef( 
   string elementName,
   Series s
)

Parameters

elementName
The name of the element which will be displayed on the chart, i.e. its label.
s
A statistical series.

Return Value

Pearson's correlation coefficient of the series

See Also

© 2010 All Rights Reserved.