【问题标题】:Friedman's test manual calculation弗里德曼测试手工计算
【发布时间】:2017-11-21 01:26:34
【问题描述】:

我从弗里德曼检验中得到了一个负值。数据为:

        Full    MIC     ReliefF LCorrel InfoGain
equinox 69.939  80.178  78.794  75.205  62.268
lucene  78.175  84.103  79.017  82.044  75.564
mylyn   75.531  78.006  77.161  47.711  81.575
pde     70.282  82.686  81.884  75.07   79.476
jdt     71.675  93.202  95.387  85.878  82.818

排名低于

        Full    MIC     ReliefF LCorrel InfoGain
equinox 2       5       4       3       1
lucene  2       5       3       4       1
mylyn   2       4       3       1       5
pde     1       5       4       2       3
jdt     1       4       5       3       2
Sum     8      23      19      13      12

弗里德曼的 F 计算公式:

F = (5/[5*5*(5+1)] * [8*8 + 23*23 + 19*19 + 13*13 + 12*12] - [5*5*(5+1)]

我得到的值是-107.7666667

我该如何解释?我看到的例子都有积极的结果。

我知道 R 代码,但想手动计算。

【问题讨论】:

  • 试试abs吧?

标签: r statistics calculation


【解决方案1】:

这就是我生成结果的方式并且它起作用了

pacc_part
f1 <- friedman.test(pacc_part) 
print (f1) 
# Post-hoc tests are conducted only if omnimus Kruskal-Wallis test p-value 
is 0.05 or less. 
if ( f1$p.value < 0.05 ) 
{ 

n1 <- posthoc.friedman.nemenyi.test(pacc_part) 
} 
n1; 
# alternate representation of post-hoc test results 
summary(n1); 

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-10
    • 1970-01-01
    • 2014-02-22
    相关资源
    最近更新 更多