maxwell: Maxwell's RE coefficient for binary data

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
maxwell(ratings)

Arguments

ratings

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

Details

Missing data are omitted in a listwise way.

Value

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.

Author(s)

Matthias Gamer

References

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

See Also

kappa2

Examples

1
2
3
4
5
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))

Example output

Loading required package: lpSolve
 Maxwell's RE

 Subjects = 20 
   Raters = 2 
       RE = 0.6 

irr documentation built on May 2, 2019, 8:50 a.m.

Related to maxwell in irr...