Learn R Programming

irr (version 0.70)

stuart.maxwell.mh: Stuart-Maxwell coefficient of concordance for two raters

Description

Calculates the Stuart-Maxwell coefficient of concordance for two raters.

Usage

stuart.maxwell.mh(x)

Arguments

x
c x c classification matrix or matrix of classification scores into c categories.

Value

  • A list with class "irrlist" containing the following components:
  • $methoda character string describing the method.
  • $subjectsthe number of data objects.
  • $ratersthe number of raters.
  • $irr.namethe name of the coefficient (Chisq).
  • $valuethe value of the coefficient.
  • $stat.namethe name and df of the test statistic.
  • $statisticthe value of the test statistic.
  • $p.valuethe probability of the test statistic.

Details

stuart.maxwell.mh calculates a reliability coefficient for two raters classifying n objects into any number of categories. It will accept either a c x c classification matrix of counts of objects falling into c categories or a c x n or n x c matrix of classification scores.

References

Stuart A.A. (1955) A test for homogeneity of the marginal distributions in a two-way classification. Biometrika, 42, 412-416. Maxwell A.E. (1970) Comparing the classification of subjects by two independent judges. British Journal of Psychiatry, 116, 651-655.

See Also

bhapkar, rater.bias

Examples

Run this code
# fake a 2xn matrix of three way classification scores
 ratings<-matrix(sample(1:3,60,TRUE), nrow=2)
 stuart.maxwell.mh(ratings)
 
 # Example used from Stuart (1955)
 data(vision)
 stuart.maxwell.mh(vision)

Run the code above in your browser using DataLab