mcnemar.mh {concord} | R Documentation |
calculates a coefficient of reliability for nominal data
mcnemar.mh(x)
x |
2x2 classification matrix or matrix of dichotomous classification scores. |
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.
kappa |
value of kappa |
Z |
the Z-score approximation |
p |
the probability of Z |
Jim Lemon
Siegel, S. & Castellan, N.J.Jr. (1988) Nonparametric statistics for the behavioral sciences. Boston, MA: McGraw-Hill.
xt<-table(sample(0:1,50,TRUE),sample(0:1,50,TRUE)) mcnemar.mh(xt)