Computes Maxwell's RE as an index of the interrater agreement of binary data.
maxwell(ratings)
Arguments
ratings: n*2 matrix or dataframe, n subjects 2 raters.
Details
Missing data are omitted in a listwise way.
Returns
A list with class '"irrlist"' containing the following components: - $method: a character string describing the method applied for the computation of interrater reliability.
$subjects: the number of subjects examined.
$raters: the number of raters (=2).
$irr.name: a character string specifying the name of the coefficient.
$value: value of RE.
References
Maxwell, A.E. (1977). Coefficients of agreement between observers and their interpretation. British Journal of Psychiatry, 130, 79-83.
Author(s)
Matthias Gamer
See Also
kappa2
Examples
data(anxiety)# Median-split to generate binary datar1 <- ifelse(anxiety$rater1<median(anxiety$rater1),0,1)r2 <- ifelse(anxiety$rater2<median(anxiety$rater2),0,1)maxwell(cbind(r1,r2))