¿在两组使用偏好排名问卷进行Friedmast测试后,是否有任何事后多重比较测试?

问题描述 投票:0回答:1

我有这个数据框:

组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 中的两个矩阵进行多重比较的事后测试。

如果没有事后测试,您能否告诉我另一个测试来使用矩阵(或数据帧)及其多重比较来比较两组。

r testing comparison posthoc
1个回答
0
投票

您可以使用posthoc.friedman.conover.test,这是示例代码

posthoc.friedman.conover.test(y=y, p.adjust="none")

Nemenyi 测试

posthoc.friedman.nemenyi.test(y)

y = 矩阵

© www.soinside.com 2019 - 2024. All rights reserved.