| Visual Basic (Declaration) | |
|---|---|
Public Overloads Shared Function CorrelationCoefDeterminantion( _ ByVal seriesName As String, _ ByVal sc As SeriesCollection _ ) As Series | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| 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.
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).