# Cohen’s kappa (/docs/analyses/cohens-kappa)



## When to use it [#when-to-use-it]

Use Cohen’s kappa when two raters assign the same cases to categories and you want agreement beyond what chance would produce.

## Assumptions [#assumptions]

Each row is one case rated twice. Both columns are categories with a small number of levels.

## Running it in Tensr [#running-it-in-tensr]

<Steps>
  <Step>
    Analyze → Descriptive Statistics → Crosstabs → Kappa. In chat: “Cohen’s kappa for rater A and rater B.”
  </Step>

  <Step>
    Column A and column B are the two raters.
  </Step>
</Steps>

## Options [#options]

<TypeTable
  type="{
  column_a: {
    type: 'string',
    description: 'First rater.',
  },
  column_b: {
    type: 'string',
    description: 'Second rater.',
  },
  decimal_places: {
    type: '0–6',
    description: 'Report output. Decimal places.',
    default: '3',
  },
  apa_format: {
    type: 'boolean',
    description: 'Report output. APA-style p-values.',
    default: 'true',
  },
  include_charts: {
    type: 'boolean',
    description: 'Report output. Shared chart switch.',
    default: 'true',
  },
}"
/>

## Reading the output [#reading-the-output]

Two raters, 80 essays, categories 1, 2, and 3. Each rater keeps the true category most of the time and slips to a neighbour otherwise.

|    |  1 |  2 |  3 |
| -: | -: | -: | -: |
|  1 | 13 |  4 |  0 |
|  2 | 12 | 17 |  7 |
|  3 |  1 |  8 | 18 |

Cohen's κ = 0.396 (fair agreement; κ \< 0 poor, 0 ≤ κ \< 0.2 slight, 0.2 ≤ κ \< 0.4 fair, 0.4 ≤ κ \< 0.6 moderate, 0.6 ≤ κ \< 0.8 substantial, κ ≥ 0.8 almost perfect) for `rater_a` vs `rater_b`, n = 80. Cutoffs: Landis & Koch, 1977. The primary result is significant (p = \< .001). This is large enough, in this sample, to treat the comparison this page is about as a real association rather than noise. Metrics: κ = 0.396; SE = 0.078; z = 5.079; 95% CI = \[0.243, 0.549]; p-value = \< .001; Observed agreement = 0.6.

## Reporting (APA 7) [#reporting-apa-7]

Cohen's κ = 0.396 (fair agreement; κ \< 0 poor, 0 ≤ κ \< 0.2 slight, 0.2 ≤ κ \< 0.4 fair, 0.4 ≤ κ \< 0.6 moderate, 0.6 ≤ κ \< 0.8 substantial, κ ≥ 0.8 almost perfect) for `rater_a` vs `rater_b`, n = 80. Cutoffs: Landis & Koch, 1977. This result is significant (p = \< .001). The effect is moderate, so report its size with the p-value.

## Coming from SPSS [#coming-from-spss]

Crosstabs → Statistics → Kappa. SPSS prints kappa, an asymptotic standard error, and an approximate significance.
