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

Syntax

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

Explanation of the Coefficient of Determination

The coefficient of determination is the amount of variation in the second variable (i.e. Y) which is explained by the regression line of the second variable Y on the first variable X (see LeastSquaresEstimateY), divided by the total amount of variation of the second variable (i.e. Y).

See Also