我的数据框(Test1)格式正确n * m(n = 300科目,m = 15评分者):
x rater1 rater2 rater3 ...... rater15
y
Case1 1 1 NA
Case2 1 NA NA
Case3 2 1 2
.
.
.
Case300
Fleiss&错误消息 -
`kappam.fleiss(Test1)'
Error in ratings[i, ] : subscript out of bounds
同意&错误消息 -
agree(Test1, tolerance=0)
Percentage agreement (Tolerance=0)
Subjects = 0
Raters = 15
%-agree = NaN
我查看了示例数据(诊断)
> kappam.fleiss(diagnoses)
Fleiss' Kappa for m Raters
Subjects = 30
Raters = 6
Kappa = 0.43
z = 17.7
p-value = 0
> agree(diagnoses, tolerance=0)
Percentage agreement (Tolerance=0)
Subjects = 30
Raters = 6
%-agree = 16.7
>
有人可以帮帮我 - 为什么我的科目= 0?我相信这就是为什么我的kappam.fleiss没有工作的原因。我的row.names被标记了。
答案 0 :(得分:0)