[b,bint,r,rint]=regress(y,x)分别代表什么?为啥老得出来结果不对X=[1,11040;1,12631;1,13773;1,14762;1,17255;1,19398;1,20992];>> Y=[14867166831864520668236622667528838]Y =14867166831864520668236622667528838>> [b,bint,r,rint]=regress(Y,X)b
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 07:34:45
[b,bint,r,rint]=regress(y,x)分别代表什么?为啥老得出来结果不对X=[1,11040;1,12631;1,13773;1,14762;1,17255;1,19398;1,20992];>> Y=[14867166831864520668236622667528838]Y =14867166831864520668236622667528838>> [b,bint,r,rint]=regress(Y,X)b
[b,bint,r,rint]=regress(y,x)分别代表什么?为啥老得出来结果不对
X=[1,11040;1,12631;1,13773;1,14762;1,17255;1,19398;1,20992];
>> Y=[
14867
16683
18645
20668
23662
26675
28838
]
Y =
14867
16683
18645
20668
23662
26675
28838
>> [b,bint,r,rint]=regress(Y,X)
b =
-840.4673
1.4194
bint =
1.0e+003 *
-2.2893 0.6084
0.0013 0.0015
r =
37.4157
-404.8317
-63.7736
555.4509
10.9148
-17.8352
-117.3409
rint =
-651.0551 725.8866
-979.7792 170.1158
-871.5637 744.0165
133.2168 977.6850
-808.6834 830.5130
-763.8031 728.1326
-740.3083 505.6266
为啥得到的数据这么多 还跟答案不对呢?
[b,bint,r,rint]=regress(y,x)分别代表什么?为啥老得出来结果不对X=[1,11040;1,12631;1,13773;1,14762;1,17255;1,19398;1,20992];>> Y=[14867166831864520668236622667528838]Y =14867166831864520668236622667528838>> [b,bint,r,rint]=regress(Y,X)b
改为[b,bint,r,rint]=regress(Y,X'),你再试试