.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > StatisticalEngine Class > CorrelationCoefDeterminantion Method : CorrelationCoefDeterminantion(String,SeriesCollection) Method
The name of the series which will be displayed on the chart, i.e. its label.
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.
CorrelationCoefDeterminantion(String,SeriesCollection) Method
Calculates the coefficient of determination for the YValues of the series.
Syntax
'Declaration
 
Public Overloads Shared Function CorrelationCoefDeterminantion( _
   ByVal seriesName As String, _
   ByVal sc As SeriesCollection _
) As Series
'Usage
 
Dim seriesName As String
Dim sc As SeriesCollection
Dim value As Series
 
value = StatisticalEngine.CorrelationCoefDeterminantion(seriesName, sc)
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(String,Series)), divided by the total amount of variation of the second variable (i.e. Y).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also