Minimum Origin Version Required: 2019 SR0
This function performs linear regression on a group of XY data to calculate or predict Y at the given X value. The Y value is predicted as :
and are the means of x and y.
double Forecast( double x, vector vx, vector vy)
Return the calculated or predicted y coordinate at specified x coordinate.
worksheet -a 2;