WebCab Probability and Statistics for .NET v3.3 Demo

Correlation.CoefficientOfDetermination Method 

Calculates the coefficient of determination for the set of pairs of points: (xValues[0], yValues[0]), (xValues[1], yValues[1]),.

public double CoefficientOfDetermination(
   double[] xValues,
   double[] yValues
);

Parameters

xValues
The values of the first elements within the pairs.
yValues
The values of the second elements within the pairs.

Return Value

the coefficient of determination of the set of pairs.

Remarks

.. , (xValues[n], yValues[n]).

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 LeastSquaresRegressionLineY), divided by the total amount of variation of the second variable (i.e. Y).

See Also

Correlation Class | WebCab.Libraries.Statistics.Correlation Namespace