Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.
3.5.2.47 Slope
Description
This function is used to calculate the slope of the linear regression of the given curve, which is defined as:
where
and
are the means of x and y.
Syntax
double Slope(vector vx, vector vy)
Parameters
vx
- Input vector for independent variable.
vy
- Input vector for dependent variable.
Return
Return the the slope of the linear regression of the given curve.
Example
newbook; col(A) = data(1,5); col(B) = uniform(5); Slope(col(A),col(B)) = ;