kendall.u {eba} | R Documentation |
Kendall's u coefficient of agreement between judges.
kendall.u(M, correct = TRUE)
M |
a square matrix or a data frame consisting of absolute choice frequencies; row stimuli are chosen over column stimuli |
correct |
logical, if |
Kendall's u (Kendall and Babington Smith, 1940) takes on values between
min.u
(minimum agreement) and 1 (maximum agreement).
The minimum min.u
equals -1/(m - 1)
, if m
is even,
and -1/m
, if m
is odd, where m
is the number of subjects
(judges).
The null hypothesis in the chi-square test is that the agreement between judges is by chance.
It is assumed that there is an equal number of observations per pair and that each subject judges each pair only once.
u |
Kendall's u coefficient of agreement |
min.u |
the minimum value for u |
chi2 |
the chi-square statistic for a test that the agreement is by chance |
df |
the degrees of freedom |
p.value |
the p-value of the test |
Kendall, M.G., & Babington Smith, B. (1940). On the method of paired comparisons. Biometrika, 31, 324–345. doi: 10.1093/biomet/31.3-4.324
schoolsubjects
, eba
, strans
,
circular
.
data(schoolsubjects)
lapply(schoolsubjects, kendall.u) # better-than-chance agreement