Fleiss' kappa

Fleiss' kappa (named after Joseph L. Fleiss) is a statistical measure for assessing the reliability of agreement between a fixed number of raters when assigning categorical ratings to a number of items or classifying items. This contrasts with other kappas such as Cohen's kappa, which only work when assessing the agreement between not more than two raters or the intra-rater reliability (for one appraiser versus themself). The measure calculates the degree of agreement in classification over that which would be expected by chance.
Fleiss' kappa can be used with binary or nominal-scale. It can also be applied to ordinal data (ranked data): the MiniTab online documentation gives an example. However, this document notes: "When you have ordinal ratings, such as defect severity ratings on a scale of 1–5, Kendall's coefficients, which account for ordering, are usually more appropriate statistics to determine association than kappa alone." Keep in mind however, that Kendall rank coefficients are only appropriate for rank data.
Fleiss' kappa is a generalisation of Scott's pi statistic, a statistical measure of inter-rater reliability. It is also related to Cohen's kappa statistic and Youden's J statistic which may be more appropriate in certain instances. Whereas Scott's pi and Cohen's kappa work for only two raters, Fleiss' kappa works for any number of raters giving categorical ratings, to a fixed number of items, at the condition that for each item raters are randomly sampled. It can be interpreted as expressing the extent to which the observed amount of agreement among raters exceeds what would be expected if all raters made their ratings completely randomly. It is important to note that whereas Cohen's kappa assumes the same two raters have rated a set of items, Fleiss' kappa specifically allows that although there are a fixed number of raters (e.g., three), different items may be rated by different individuals. That is, Item 1 is rated by Raters A, B, and C; but Item 2 could be rated by Raters D, E, and F. The condition of random sampling among raters makes Fleiss' kappa not suited for cases where all raters rate all patients.
Agreement can be thought of as follows, if a fixed number of people assign numerical ratings to a number of items then the kappa will give a measure for how consistent the ratings are. The kappa, κ {\displaystyle \kappa \,} , can be defined as,
(1) κ = P ¯ − P e ¯ 1 − P e ¯ {\displaystyle \kappa ={\frac {{\bar {P}}-{\bar {P_{e}}}}{1-{\bar {P_{e}}}}}}
The factor 1 − P e ¯ {\displaystyle 1-{\bar {P_{e}}}} gives the degree of agreement that is attainable above chance, and, P ¯ − P e ¯ {\displaystyle {\bar {P}}-{\bar {P_{e}}}} gives the degree of agreement actually achieved above chance. If the raters are in complete agreement then κ = 1 {\displaystyle \kappa =1~} . If there is no agreement among the raters (other than what would be expected by chance) then κ ≤ 0 {\displaystyle \kappa \leq 0} .
An example of using Fleiss' kappa may be the following: consider several psychiatrists who are asked to look at ten patients. For each patient, 14 psychiatrists give one of possibly five diagnoses. These are compiled into a matrix, and Fleiss' kappa can be computed from this matrix (see example below) to show the degree of agreement between the psychiatrists above the level of agreement expected by chance.
Let N be the total number of elements, let n be the number of ratings per element, and let k be the number of categories into which assignments are made. The elements are indexed by i = 1, ..., N and the categories are indexed by j = 1, ..., k. Let nij represent the number of raters who assigned the i-th element to the j-th category.
First calculate pj, the proportion of all assignments which were to the j-th category:
(2) p j = 1 N n ∑ i = 1 N n i j , 1 = ∑ j = 1 k p j {\displaystyle p_{j}={\frac {1}{Nn}}\sum _{i=1}^{N}n_{ij},\quad \quad 1=\sum _{j=1}^{k}p_{j}}
Now calculate P i {\displaystyle P_{i}\,} , the extent to which raters agree for the i-th element (i.e., compute how many rater-rater pairs are in agreement, relative to the number of all possible rater-rater pairs):
(3)
Note that P i {\displaystyle P_{i}} is bound between 0, when ratings are assigned equally over all categories, and 1, when all ratings are assigned to a single category.
Now compute P ¯ {\displaystyle {\bar {P}}} , the mean of the P i {\displaystyle P_{i}} 's, and P e ¯ {\displaystyle {\bar {P_{e}}}} , which go into the formula for κ {\displaystyle \kappa } :
(4) P ¯ = 1 N ∑ i = 1 N P i = 1 N n ( n − 1 ) [ ∑ i = 1 N ∑ j = 1 k ( n i j 2 ) − N n ] {\displaystyle {\begin{aligned}{\bar {P}}&={\frac {1}{N}}\sum _{i=1}^{N}P_{i}\\&={\frac {1}{Nn(n-1)}}{\biggl [}\sum _{i=1}^{N}\sum _{j=1}^{k}{\bigl (}n_{ij}^{2}{\bigr )}-Nn{\biggr ]}\end{aligned}}}
(5) P e ¯ = ∑ j = 1 k p j 2 {\displaystyle {\bar {P_{e}}}=\sum _{j=1}^{k}p_{j}^{2}}
In the following example, for each of ten "subjects" ( N {\displaystyle N} ) fourteen raters ( n {\displaystyle n} ), sampled from a larger group, assign a total of five categories ( k {\displaystyle k} ). The categories are presented in the columns, while the subjects are presented in the rows. Each cell lists the number of raters who assigned the indicated (row) subject to the indicated (column) category.
In the following table, given that N = 10 {\displaystyle N=10} , n = 14 {\displaystyle n=14} , and k = 5 {\displaystyle k=5} . The value p j {\displaystyle p_{j}} is the proportion of all assignments that were made to the j {\displaystyle j} th category. For example, taking the first column p 1 = 0 + 0 + 0 + 0 + 2 + 7 + 3 + 2 + 6 + 0 140 = 0.143 , {\displaystyle p_{1}={\frac {0+0+0+0+2+7+3+2+6+0}{140}}=0.143,} and taking the second row, P 2 = 1 14 ( 14 − 1 ) ( 0 2 + 2 2 + 6 2 + 4 2 + 2 2 − 14 ) = 0.253. {\displaystyle P_{2}={\frac {1}{14(14-1)}}\left(0^{2}+2^{2}+6^{2}+4^{2}+2^{2}-14\right)=0.253.}
In order to calculate P ¯ {\displaystyle {\bar {P}}} , we need to know the sum of P i {\displaystyle P_{i}} , ∑ i = 1 N P i = 1.000 + 0.253 + ⋯ + 0.286 + 0.286 = 3.780. {\displaystyle \sum _{i=1}^{N}P_{i}=1.000+0.253+\cdots +0.286+0.286=3.780.}
Over the whole sheet,
Landis & Koch (1977) gave the following table for interpreting κ {\displaystyle \kappa } values for a 2-annotator 2-class example. This table is however by no means universally accepted. They supplied no evidence to support it, basing it instead on personal opinion. It has been noted that these guidelines may be more harmful than helpful, as the number of categories and subjects will affect the magnitude of the value. For example, the kappa is higher when there are fewer categories.
Statistical packages can calculate a standard score (Z-score) for Cohen's kappa or Fleiss's Kappa, which can be converted into a P-value. However, even when the P value reaches the threshold of statistical significance (typically less than 0.05), it only indicates that the agreement between raters is significantly better than would be expected by chance. The p-value does not tell, by itself, whether the agreement is good enough to have high predictive value.