欢迎来到天天文库
浏览记录
ID:31631398
大小:97.50 KB
页数:6页
时间:2019-01-16
《matlab多元线性回归与逐步回归实验1》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、《模糊数学》实验报告实验名称:多元线性回归与逐步回归实验目的1.熟练掌握现行回归模型的建模方法,掌握regress命令的使用方法。2.掌握编程求总离差平方和TSS、回归平方和RSS、残差平方和ESS等相关统计量。stepwise命令的使用方法。3.掌握逐步回归的思想与方法,掌握W一、实验数据与实验内容:选取1989--2003年的全国的统计数据,考虑的口变量包括:工业总产值(西),农业总产值(兀2),建筑业总产值(心),社会商品零售总额(兀),全民人口数(兀5),受灾面积(耳),国家财政收入(刃,单位均为亿元。数据见表3・17o表11989至2003年统计数据年份X1x2x3x4x
2、5x6y实验19896484.004100.60794.008101.40112704.046991.002664.9019906858.004954.30859.408300.10114333.038474.002937.10主19918087.105146.401015.109415.60115823.055472.003149.48要1199210284.505588.001415.0010993.70117171.051333.003483.37内199314143.806605.102284.7012462.10118517.048829.004348.95容199419
3、359.609169.203012.6016264.70119850.055043.00521&10(具体199524718.3011884.603819.6020620.00121121.045821.006242.20199629082.6013539.804530.5024774.10122389.046989.007407.99题199732412.1013852.504810.6027298.90123626.053429.008651.14冃、199833387.9014241.905231.4029152.50124761.050145.009875.95解19993
4、5087.2014106.205470.6031134.70125786.049981.0011444.08答过200039047.3013873.605888.0034152.60126743.054688.0013395.23程200142374.6014462.806375.4037595.20127627.052215.0016386.04及程200245975.2014931.507005.0042027.10128453.047119.0018903.64200353092.9014870.108181.3045842.00129227.054506.0021715.2
5、5序)(1)建立多元回归模型;(2)用逐步冋归求国家财政收入y与6个因素的冋归关系.二、实验程序:程序1clear,clcA=[6484.004100.60794.008101.40112704.046991.002664.90;6858.004954.30859.408300.10114333.038474.002937.10;8087.105146.401015.109415.60115823.055472.003149.48;10284.50558&001415.0010993.70117171.051333.003483.37;14143.806605.102284.701
6、2462.10118517.048829.004348.95;19359.609169.203012-6016264.70119850.055043.00521&10;24718.3011884.603819.6020620.00121121.045821.006242.20;29082.6013539.804530.5024774.10122389.046989.007407.99;32412.1013852.504810.6027298.90123626.053429.008651.14;33387.9014241.905231.4029152.50124761.050145.
7、009875.95;35087.2014106.205470.6031134.70125786.049981.0011444.08;39047.3013873.605888.0034152.60126743.054688.0013395.23;42374.6014462.806375.4037595.20127627.052215.0016386.04;45975.2014931.507005.0042027.10128453.047119.0018903.64;53
此文档下载收益归作者所有