欢迎来到天天文库
浏览记录
ID:59330449
大小:218.50 KB
页数:7页
时间:2020-09-04
《Stata基本操作和数据分析入门第08章多组独立定量资料统计分析Stata实现.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、第八章多组独立定量资料的统计分析本章应用的STATA命令为:单因素方差分析onewayresponse_varfactor_var,bonferroni非参数多组比较kwallisvarname,by(groupvar)例8-1为研究茶多酚保健饮料对急性缺氧的影响,某研究者将60只小白鼠随机分为低、中、高三个剂量组和一个对照组,每组15只小白鼠。对照组给予蒸馏水0.25ml灌胃,低、中、高剂量组分别给予2.0g∕kg、4.0g∕kg、8.0g∕kg的饮料溶于0.2~0.3ml蒸馏水后灌胃。每天一次,40天后,对小白鼠进行耐缺氧存活时间试验,结果如表8-1。试比较不同剂量的茶多酚
2、保健饮料对延长小白鼠的平均耐缺氧存活时间有无差别。表8-1各组小白鼠耐缺氧时间组别耐缺氧时间(min)对照组()20.7922.9127.2119.3417.8523.7922.6018.531521.323.4023.2320.1426.7119.3617.2224.1315.85低剂量组()22.2224.7421.5319.6625.8929.1018.9318.641523.233.5226.3925.4920.4322.6929.6720.3622.74中剂量组()28.5628.6725.2830.3823.1323.4728.8829.621528.144.002
3、4.8234.6422.2929.2225.6335.1232.32高剂量组()31.9337.9439.7627.9429.6534.2332.6329.131532.844.6639.6236.1528.8524.0729.2935.2436.13合计6026.385.92解:STATA数据为:gx120.79122.91127.21119.34117.85123.79122.6118.53123.23120.14126.71119.36117.22124.13115.85222.22224.74221.53219.66225.89229.1218.93218.64226.
4、39225.49220.43222.69229.67220.36222.74328.56328.67325.28330.38323.13323.47328.88329.62324.82334.64322.29329.22325.63335.12332.32431.93437.94439.76427.94429.65434.23432.63429.13439.62436.15428.85424.07429.29435.24436.13:四个总体均数相等:四个总体均数不等或不全相等STATA命令为:onewayxg结果为:AnalysisofVarianceSourceSSdfMS
5、FProb>F------------------------------------------------------------------------Betweengroups1205.795823401.93194126.090.0000Withingroups862.7969125615.4070877------------------------------------------------------------------------Total2068.592735935.0608938Bartlett'stestforequalvariances:chi
6、2(3)=1.7256Prob>chi2=0.631检验统计量F=26.09,p<0.0001。按=0.05水平,拒绝H0,接受H1,可认为不同剂量的茶多酚保健饮料对延长小白鼠的平均耐缺氧存活时间有影响。例8-2某研究者为了了解男性高校教师的血脂水平,随机抽取了不同年龄组男性各10名,检测他们的总胆固醇(TC)含量(mmol/L),结果见表8-2所示。问:各年龄组的人群总胆固醇平均含量是否不同?表8-2男性各年龄组总胆固醇含量组别总胆固醇(TC)含量(mmol/L)青年组5.064.914.995.245.014.845.244.955.135.27105.511.50中年组5
7、.185.194.955.265.055.205.225.045.225.31105.160.11老年组5.305.325.295.165.375.295.275.045.215.25105.250.09合计305.160.14解:STATA数据为: gx115.06214.91314.99415.24515.01614.84715.24814.95915.131015.271125.181225.191324.951425.261525.051625.21725.221825.041925
此文档下载收益归作者所有