Learn R Programming

irr (version 0.70)

maxwell: Maxwell's RE coefficient for binary data

Description

Computes Maxwell's RE as an index of the interrater agreement of binary data.

Usage

maxwell(ratings)

Arguments

ratings
n*2 matrix or dataframe, n subjects 2 raters.

Value

  • A list with class '"irrlist"' containing the following components:
  • $methoda character string describing the method applied for the computation of interrater reliability.
  • $subjectsthe number of subjects examined.
  • $ratersthe number of raters (=2).
  • $irr.namea character string specifying the name of the coefficient.
  • $valuevalue of RE.

Details

Missing data are omitted in a listwise way.

References

Maxwell, A.E. (1977). Coefficients of agreement between observers and their interpretation. British Journal of Psychiatry, 130, 79-83.

See Also

kappa2

Examples

Run this code
data(anxiety)
# Median-split to generate binary data
r1 <- ifelse(anxiety$rater1<median(anxiety$rater1),0,1)
r2 <- ifelse(anxiety$rater2<median(anxiety$rater2),0,1)
maxwell(cbind(r1,r2))

Run the code above in your browser using DataLab