MATLAB 多元线性回归(regress)
MATLAB 多元线性回归(regress) 语法 b = regress(y,X) [b,bint] = regress(y,X) [b,bint,r] = regress(y,X) [b,bint,r,rint] = regress(y,X) [b,bint,r,rint,stats] = regress(y,X) [___] = regress(y,X,alpha) 说明 b = regress(y,X) returns a vector b of coefficient estimates for a multiple linear regression of the responses in vector y on the predictors in matrix X. To compute coefficient estimates for a model with a constant term (intercept), include a column of ones in the matrix X. b=回归(y,X)返回一个系数估计向量b,用于矩阵X中预测器上向量y中的响应的多元线性回归。若要计算具有常数项(截距)的模型的系数估计,请在矩阵X中包含一列。 [b,bint] = regress(y,X) also returns a matrix bint of