我正在使用该软件包PMCMR
执行博士后 Kruskal-Nemenyi 测试。当我使用默认设置运行测试时:
posthoc.kruskal.nemenyi.test(x=coastal$HIGH_MORTGAGE, g=coastal$SIZECLASS, method="Tukey")
我得到以下结果和警告:
Pairwise comparisons using Tukey and Kramer (Nemenyi) test
with Tukey-Dist approximation for independent samples
data: coastal$HIGH_MORTGAGE and coastal$SIZECLASS
Large Medium
Medium 0.931 -
Small 0.746 0.078
P value adjustment method: none
Warning message:
In posthoc.kruskal.nemenyi.test.default(x = coastal$HIGH_MORTGAGE, :
Ties are present, p-values are not corrected.*
当我运行测试将分布更改为 Chisq 以对关系应用校正时,我仍然得到相同的结果并且不使用卡方分布。
posthoc.kruskal.nemenyi.test(x=coastal$HIGH_MORTGAGE, g=coastal$SIZECLASS, method="Chisq")
Pairwise comparisons using Tukey and Kramer (Nemenyi) test
with Tukey-Dist approximation for independent samples
data: coastal$HIGH_MORTGAGE and coastal$SIZECLASS
Large Medium
Medium 0.931 -
Small 0.746 0.078
P value adjustment method: none
Warning message:
In posthoc.kruskal.nemenyi.test.default(x = coastal$HIGH_MORTGAGE, :
Ties are present, p-values are not corrected.
我想知道包中是否有错误,或者是否有任何我不知道的方法来解决这个问题。