Closed AlessandroChecco closed 7 years ago
I close this because these degenerate cases are not handled well by Kappa index, not by your code.
Hi Alessandro, You're correct. This is an issue with the kappa formulation as opposed to the mKAPPA function. In your case, I might recommend using mSCOTTPI. Please let me know if you have any other issues or questions.
Thank you very much for your answer. I'll look into it!
mSCOTTPI([1,1,1,1,1],[1,2],'ordinal') ans = NaN
mSCOTTPI([1,1,1,1,2],[1,2],'ordinal') ans = -0.2500
mSCOTTPI([1,1,1,2,2],[1,2],'ordinal') ans = -0.2500
mSCOTTPI([1,1,2,2,2],[1,2],'ordinal') ans = -0.2500
mSCOTTPI([1,2,2,2,2],[1,2],'ordinal') ans = -0.2500
mSCOTTPI([1,2,2,2,2],[1,2],'ordinal') ans = -0.2500
It seems that for one document and 5 raters this kind of systems doesn't make sense...
I tested mKAPPA with one document and 5 raters and the results are very strange
(while I would expect to get 1)
and
(while I would expect to get a number close to 1)