.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > StatisticalEngine Class > CorrelationCoefDeterminantion Method : CorrelationCoefDeterminantion(String,Series) Method
The name of the element which will be displayed on the chart, i.e. its label.
A statistical series.
CorrelationCoefDeterminantion(String,Series) Method
Calculates the coefficient of determination for the YValues of the series.
Syntax
'Declaration
 
Public Overloads Shared Function CorrelationCoefDeterminantion( _
   ByVal elementName As String, _
   ByVal s As Series _
) As Element
'Usage
 
Dim elementName As String
Dim s As Series
Dim value As Element
 
value = StatisticalEngine.CorrelationCoefDeterminantion(elementName, s)
public static Element CorrelationCoefDeterminantion( 
   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

The coefficient of determination of the 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