经正态分布检测(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