Constructs the regression line of Y
on X
using the method of least squares.
an array d
with two elements, where the regression line will be given in functional form by the following formula: Y(y)=d[0]*X+d[1]
That is, the regression line using the least squares method is constructed when the second element of the pairs from which the data set of constructed is plot against the first elements of the pairs.
CorrelationStateful Class | WebCab.Libraries.Statistics.Correlation Namespace | leastSquaresRegressionLineX