Determines the residual for a given pair of points from the set of pairs of points: (xValues[0], yValues[0]), (xValues[1], yValues[1]),... , (xValues[n], yValues[n]); in accordance with the regression line constructed using LeastSquaresRegressionLineX.
0; and hence 0 corresponds to the first pair of points (xValues[0], yValues[0]), 1 to the second pair of points (xValues[0], yValues[0]) and so on.the residual for a given pair of points within the current data set.
Recall that the
residual is the variation of the second variable (i.e. Y) around the
regression line.
Correlation Class | WebCab.Libraries.Statistics.Correlation Namespace | Evaluates the arithmetic average of the residuals.