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