我有这个数据框:
组1<- matrix(c(rep(1,5),rep(2,5),rep(3,5),rep(4,5)), ncol=4)
组2<- matrix(c(rep(4,5),rep(3,5),rep(2,5),rep(1,5)), ncol=4)
我想将这两组与偏好排名问卷的数据进行比较。据我所知,这两组的比较可以使用两个矩阵进行 Friedman.test。
friedman.test(group1,group2)
但是,我不知道使用 Friedman.test 中的两个矩阵进行多重比较的事后测试。
如果没有事后测试,您能否告诉我另一个测试来使用矩阵(或数据帧)及其多重比较来比较两组。
您可以使用posthoc.friedman.conover.test,这是示例代码
posthoc.friedman.conover.test(y=y, p.adjust="none")
posthoc.friedman.nemenyi.test(y)
y = 矩阵