回归二次拟合

回归二次拟合

ID:39923381

大小:63.00 KB

页数:13页

时间:2019-07-15

回归二次拟合_第1页
回归二次拟合_第2页
回归二次拟合_第3页
回归二次拟合_第4页
回归二次拟合_第5页
资源描述:

《回归二次拟合》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库

1、10种小家电产量与成本关系表>>x=[135710152025303540];y1=[924.339.653.5572.9102.6129.6153175.5195.3208.8];y2=[9.826.4643.1258.3179.38111.7141.2166.6191.1208.3227.4];y3=[10.227.5444.8860.6982.62116.3146.9173.4198.9221.3236.6];y4=[2366.55104.6140.1188.6265.7335.8391441.6491.1515.2];y5=[26

2、.575.52120.6161.4217.3298.1386.9450.5508.8565.8593.6];y6=[27.277.52123.6165.6223.1314.2397.1462.4522.2580.7609.3];y7=[2879.8126166.6224315380.8434462509.6560];y8=[3085.5135178.5240337.5408465495546600];y9=[31.790.3142.6188.6253.6356.6431.1491.3523.1576.9634];y10=[32.592.1

3、46.2193.4260365.6442503.7536.2591.5650];>>T=[ones(11,1),x',(x.^2)'];[b1,bint,r,rint,stats]=regress(y1',T)[b2,bint,r,rint,stats]=regress(y2',T)[b3,bint,r,rint,stats]=regress(y3',T)[b4,bint,r,rint,stats]=regress(y4',T)[b5,bint,r,rint,stats]=regress(y5',T)[b6,bint,r,rint,sta

4、ts]=regress(y6',T)[b7,bint,r,rint,stats]=regress(y7',T)[b8,bint,r,rint,stats]=regress(y8',T)[b9,bint,r,rint,stats]=regress(y9',T)[b10,bint,r,rint,stats]=regress(y10',T)b1=2.48457.5807-0.0603bint=0.96404.00497.37987.7815-0.0652-0.0554r=-1.0048-0.38380.71960.95550.6388-0.02

5、71-0.3780-1.3138-0.13461.3595-0.4313rint=-2.54250.5328-2.32221.5546-1.25352.6928-0.98732.8983-1.39692.6745-2.06002.0058-2.33211.5762-2.96060.3330-2.17901.9097-0.18612.9052-1.70490.8424stats=1.0e+004*0.00012.91890.00000.0001b2=2.73468.2675-0.0670bint=0.99164.47768.03738.49

6、77-0.0727-0.0614r=-1.1351-0.47390.72360.98730.67320.0344-0.0730-0.92890.6666-1.68631.2122rint=-2.90610.6359-2.69071.7429-1.56463.0118-1.27803.2525-1.67393.0204-2.29602.3648-2.34392.1978-3.08111.2232-1.60782.9411-3.3670-0.00570.11612.3082stats=1.0e+004*0.00012.59740.00000.

7、0001b3=2.80638.5944-0.0684bint=1.09304.51968.36818.8207-0.0740-0.0629r=-1.1322-0.43350.81281.07650.7136-0.0237-0.4191-1.4928-0.14451.5255-0.4826rint=-2.86490.6005-2.61751.7506-1.41023.0357-1.11283.2658-1.58173.0089-2.31442.2671-2.62211.7838-3.34090.3554-2.44852.1595-0.220

8、43.2715-1.91860.9535stats=1.0e+004*0.00012.95200.00000.0001b4=6.766520.0371-0.1819bint=1.616911.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。