欢迎来到天天文库
浏览记录
ID:33029596
大小:64.21 KB
页数:6页
时间:2019-02-19
《概率实验-罗世福》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、重庆三峡学院实验报告课程名称工程数学-概率统计简明教程实验名称随机数的产生数据的统计描述系别电子与信息工程学院专业电子信息工程年级班别2009级(1)班开出学期10-11学年(下)期学生姓名罗世福学号200907014144指导老师查中伟2010年6月7日统计分析【实验目的】熟悉matlab在概率论与数理统计中的应用【实验内容】一、熟悉用数理统计中常用的Matlab命令格式、程序及运行结果二、学会用Matlab统计箱来完成数据统计描述和分析方法【实验所使用的仪器设备与软件平台】计算机matlab2010【实验方法与步骤】以下面为例1、某车间用包装机包装白糖,额定标准每袋
2、重0.5kg。根据长期经验知该包装机称得的糖重服从正态分布77(0.5,0.0152),现从该包装机所包装的糖中随机地抽取9袋,称得净重(单位:kg)为0.4970.5060.5780.5240.4880.5110.5100.5120.515能否认为该包装机包装的白糖是正常的?解:总体u和。已知,该问题是当,为已知时,在水平a=0.05下,根据样本值判断口=0.5还是卩工0.5。为此提出假设:原假设:Ho:
3、1=
4、10=0.5备择假设:H】:『0.5»x=[0.4970.5060.5780.5240.4880.5110.5100.5120.515]x=Columns1t
5、hrough70.49700.50600.57800.52400.48800.51100.5100Columns8through90.51200.5150»[h,sig,ci,zval]=ztest(x,0・5,0・015,0.05,0)h=1sig=0.0017ci=0.50590.5255zval=3.1333sig=0.0017结果表明:h=l,说明在水平a=0.05下,可拒绝原假设,即认为包装机工作不正常的均值、方差、协方差矩阵及相关系数矩阵。表2某些地区农民家庭生活消费支出情况表单位:元1193.33043.7709.73060.54049.0109.0402
6、135.20036.40010.47044.16036.4903.940395.00022.8309.30022.44022.8102.8004104.78025.1106.4609.8901&1703.2505128.41027.6308.94012.58023.9903.2706145.68032.38018.37011.81025.2905.2207159.37033.38018.37011.81025.2905.2208115.84030.76012.20053.61933.7703.8509140.54021.59017.64019.19015.9704.94
7、010153.11023.09015.62023.54018.1806.39011221.11038.64012.530116.65050.2805.89012144.98029.12011.67042.60027.3005.740解:»data=[193.33043.7709.73060.54049.0109.040;135.20036.40010.47044.16036.4903.940;95.00022.8309.30022.44022.8102.800;104.78025.1106.4609.8901&1703.250;128.41027.6308.94012.
8、58023.9903.270;45.68032.38018.37011.81025.2905.220;159.37033.38018.37011.81025.2905.220;115.84030.76012.20053.61933.7703.850;140.54021.59017.64019.19015.9704.940;153.11023.09015.62023.54018」806.390;221.11038.64012.530116.65050.2805.890;144.98029.12011.67042.60027.3005.740];»mean(data)ans
9、=144.779230.391712.608335.735828.87924.9625»var(data)ans=1.0e+003*1.25090.04740.01610.95900.13000.0030»cov(data)ans=1.0e+003*1.25090.16960.04090.76880.28330.04820」6960.0474-0.00190.13310.07140.00690.0409-0.00190.0161-0.0198-0.01010.00190.76880.1331-0.01980.95900.30530.021
此文档下载收益归作者所有