- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
生物统计学 2009年度 计算生物所 非参数检验 6月19日 例10.4 Wilcoxon signed-rank test wilcox.test(A,B) Wilcoxon rank sum test with continuity correction data: A and B W = 54, p-value = 0.02364 alternative hypothesis: true location shift is not equal to 0 例10.7 weight=c(55, 49, 42, 21, 52, 61, 112, 30, 89, 63, 42, 97, 81, 95, 92, 169, 137, 168, 85, 154) group=as.factor(c(rep(1:4,each=5))) Kruskal-Wallis rank sum test kruskal.test(weight~group) Kruskal-Wallis rank sum test data: weight by group Kruskal-Wallis chi-squared = 11.4114, df = 3, p-value = 0.009697 例10.8 beat=c(85, 81, 75, 74, 85, 83, 86, 77, 76, 89, 80, 83, 76, 75, 88, 82, 78, 78, 80, 82) type=as.factor(c(rep(1:4,each=5))) subject=as.factor(c(rep(1:5,4))) Friedman rank sum test friedman.test(beat~type|subject) Friedman rank sum test data: beat and type and subject Friedman chi-squared = 3.48, df = 3, p-value = 0.3234 Pearson定理 趋向于自由度为r-1的卡方分布。 Goodness of Fit. 例10.10 chisq.test(c(335, 125, 160),p=c(9,3,4)/16) Chi-squared test for given probabilities data: c(335, 125, 160) X-squared = 1.362, df = 2, p-value = 0.5061 例10.11 prop.test(35,35+46,p=0.5,correct=F) 1-sample proportions test without continuity correction data: 35 out of 35 + 46, null probability 0.5 X-squared = 1.4938, df = 1, p-value = 0.2216 alternative hypothesis: true p is not equal to 0.5 95 percent confidence interval: 0.3297208 0.5406256 sample estimates: p 0.4320988 例10.11 prop.test(35,35+46, p=0.5) 1-sample proportions test with continuity correction data: 35 out of 35 + 46, null probability 0.5 X-squared = 1.2346, df = 1, p-value = 0.2665 alternative hypothesis: true p is not equal to 0.5 95 percent confidence interval: 0.3240072 0.5466829 sample estimates: p 0.4320988 列联表的检验 卡方检验 Fisher严格检验 例10.15 M=matrix(c(252,224,145,136,103,140),c(2,3)) M [,1] [,2] [,3] [1,] 252 145 103 [2,] 224 136 140 例10.15 chisq.test(M) Pearsons Chi-squared test data: M X-squared = 7.5691, df = 2, p-value =
您可能关注的文档
最近下载
- 2025秋人教版八年级上英语教学计划及教学进度安排.docx VIP
- (完整版)元素周期表(word全面版) .pdf VIP
- 《中华人民共和国监察法》试题库附参考答案.docx VIP
- 房屋市政工程生产安全重大事故隐患判定标准(2024版)(宣讲培训).pptx VIP
- 监察法试题库完整.doc VIP
- 水稳运输车驾驶员安全技术交底.pdf VIP
- 外墙保温工程监理实施细则.docx VIP
- 林草--森林火灾危险性评估技术规范.pdf VIP
- 人教版(2019)必修第一册Unit 4 Natural Disasters reading and thinking课件(共38张PPT)(含音频+视频).pptx VIP
- 矿产行业审计风险分析报告 .pdf VIP
文档评论(0)