mcnemar.mh {concord}R Documentation

2 way reliability coefficient for nominal data

Description

calculates a coefficient of reliability for nominal data

Usage

mcnemar.mh(x)

Arguments

x 2x2 classification matrix or matrix of dichotomous classification scores.

Details

mcnemar.mh calculates a reliability coefficient for two raters classifying n objects into two categories. It will accept either a 2x2 classification matrix of counts of objects falling into two categories or a 2xn or nx2 matrix of classification scores.

Value

kappa value of kappa
Z the Z-score approximation
p the probability of Z

Author(s)

Jim Lemon

References

Siegel, S. & Castellan, N.J.Jr. (1988) Nonparametric statistics for the behavioral sciences. Boston, MA: McGraw-Hill.

See Also

stuart.maxwell.mh

Examples

 xt<-table(sample(0:1,50,TRUE),sample(0:1,50,TRUE))
 mcnemar.mh(xt)

[Package concord version 1.4-9 Index]