WebCab Probability and Statistics Web Services for .NET v3.3 Demo

Correlation.ResidualsAverage Method 

Determines the arithmetic average of the residuals for all pairs of points from the set of pairs of points: (xValues[0], yValues[0]), (xValues[1], yValues[1]),.

public double ResidualsAverage(
   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 residuals average for all pairs of points within the current data set.

Remarks

.. , (xValues[n], yValues[n]); in accordance with the regression line constructed using LeastSquaresRegressionLineX. This method simple determines the arithmetic mean between all values determined by Residuals.

See Also

Correlation Class | Correlation Namespace | Evaluates the residuals for a given pair of points.