Learn R Programming

eba (version 1.10-0)

kendall.u: Kendall's Coefficient of Agreement

Description

Kendall's u coefficient of agreement between judges.

Usage

kendall.u(M, correct = TRUE)

Arguments

M

a square matrix or a data frame consisting of absolute choice frequencies; row stimuli are chosen over column stimuli

correct

logical, if TRUE (default) a continuity correction is applied when computing the test statistic (by subtracting one from the sum of agreeing pairs)

Value

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

Details

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.

References

Kendall, M.G., & Babington Smith, B. (1940). On the method of paired comparisons. Biometrika, 31, 324--345. 10.1093/biomet/31.3-4.324

See Also

schoolsubjects, eba, strans, circular.

Examples

Run this code
# NOT RUN {
data(schoolsubjects)
lapply(schoolsubjects, kendall.u)  # better-than-chance agreement
# }

Run the code above in your browser using DataLab