t检验 matlab 结果,[求助]matlab做最小二乘回归的t统计量如何显示?谢谢!

最小二乘拟合,我看书上是用 polyfit 和 regress 。 下面是regress的help说明,但里面却只是显示了 R 和F 统计量,那么 t 统计量如何显示,请高人指点,谢谢了!

REGRESS Multiple linear regression using least squares.

b = REGRESS(y,X) returns the vector of regression coefficients, b,

in the linear model  y = Xb, (X is an nxp matrix, y is the nx1

vector of observations).

[B,BINT,R,RINT,STATS] = REGRESS(y,X,alpha) uses the input, ALPHA

to calculate 100(1 - ALPHA) confidence intervals for B and the

residual vector, R, in BINT and RINT respectively.  The vector

STATS contains the R-square statistic along with the F and p

values for the regression.

The X matrix should include a column of ones so that the model

contains a constant term.  The F and p values are computed under

the assumption that the model contains a constant term, and they

are not correct for models without a constant.  The R-square

value is the ratio of the regression sum of squares to the

total sum of squares.

[此贴子已经被作者于2008-4-30 4:57:44编辑过]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值