全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
9504 7
2010-09-19
数据请见附件。
我的目的是要计算第一列与其它各列的差异,请问应如何作统计分析?
附件列表

data.rar

大小:168 Bytes

 马上下载

本附件包括:

  • data.csv

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2010-9-19 18:10:11
经正态分布检测(shapiro.test),只有第二列和第六列数据不符正态分布。因而用t检验不合适,但用wilcox.test检测了一下,但出现了警告信息”In wilcox.test.default(A, B[, 1]) : cannot compute exact p-value with ties“,不知道相应的结果还对不对,请高手指正!

> wilcox.test(A,B[,1])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 1]
W = 49, p-value = 0.00184
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 1]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,2])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 2]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 2]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,3])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 3]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 3]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,4])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 4]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 4]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,5])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 5]
W = 49, p-value = 0.00184
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 5]) : cannot compute exact p-value with ties
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-9-19 18:15:03
经正态分布检测(shapiro.test),只有第二列和第六列数据不符正态分布。因而用t检验不合适,但用wilcox.test检测了一下,但出现了警告信息”In wilcox.test.default(A, B[, 1]) : cannot compute exact p-value with ties“,不知道相应的结果还对不对,请高手指正!(A为数据的第一列, B 1-5为数据的第2-6列)

> wilcox.test(A,B[,1])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 1]
W = 49, p-value = 0.00184
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 1]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,2])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 2]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 2]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,3])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 3]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 3]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,4])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 4]
W = 49, p-value = 0.002045
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 4]) : cannot compute exact p-value with ties
> wilcox.test(A,B[,5])

        Wilcoxon rank sum test with continuity correction

data:  A and B[, 5]
W = 49, p-value = 0.00184
alternative hypothesis: true location shift is not equal to 0

Warning message:
In wilcox.test.default(A, B[, 5]) : cannot compute exact p-value with ties
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-9-19 18:21:39
是用wilcox.test还是用kruskal.test呢?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-9-19 18:30:41
经正态分布检测(shapiro.test),只有第二列和第六列数据不符正态分布。因而用t检验不合适,但用wilcox.test检测了一下,但出现了警告信息”In wilcox.test.default(A, B[, 1]) : cannot compute exact p-value with ties“,不知道相应的结果还对不对,请高手指正!(A为数据的第一列, B 1-5为数据的第2-6列)
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2010-9-19 18:31:28
不知道怎么搞的,提交了几次都没返回结果页面,然后返回,却造成重复,请版主见谅!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群