regress - regression coefficients of two variables

Sequence d'appel

coefs=regress(x,y)

Parametres

Description

This function computes the regresion coefficients of two variables x and y, both numerical vectors of same number of elements n. coefs=[a b] be a 1x2 matrix such that Y=a+bX will be the equation of the ordinary least square approximation to our data.

REFERENCES

Exemples

Voir aussi

Auteur