# stuart.maxwell: Stuart-Maxwell coefficient of concordance for two raters In irr: Various Coefficients of Interrater Reliability and Agreement

## Description

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

## Usage

 `1` ```stuart.maxwell.mh(x) ```

## Arguments

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

## 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.

## Value

A list with class "irrlist" containing the following components:

 `\$method` a character string describing the method. `\$subjects` the number of data objects. `\$raters` the number of raters. `\$irr.name` the name of the coefficient (Chisq). `\$value` the value of the coefficient. `\$stat.name` the name and df of the test statistic. `\$statistic` the value of the test statistic. `\$p.value` the probability of the test statistic.

Jim Lemon

## 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.

`bhapkar`, `rater.bias`
 ```1 2 3 4 5 6 7``` ``` # 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) ```