public static LinearRegression ( double xVals, double yVals, int inclusiveStart, int exclusiveEnd, double &rsquared, double &yintercept, double &slope ) : void | ||
xVals | double | The x-axis values. |
yVals | double | The y-axis values. |
inclusiveStart | int | The inclusive inclusiveStart index. |
exclusiveEnd | int | The exclusive exclusiveEnd index. |
rsquared | double | The r^2 value of the line. |
yintercept | double | The y-intercept value of the line (i.e. y = ax + b, yintercept is b). |
slope | double | The slop of the line (i.e. y = ax + b, slope is a). |
return | void |