Behavior Research Methods, Instruments, & Computers

, Volume 26, Issue 1, pp 60–61

Computing Cohen’s kappa coefficients using SPSS MATRIX


  • Claude A. M. Valiquette
    • Department of PsychologyUniversité de Montréal
  • Alain D. Lesage
    • Department of PsychologyUniversité de Montréal
  • Mireille Cyr
    • Department of PsychologyUniversité de Montréal
  • Jean Toupin
    • University of Sherbrooke
Program Abstracts/Algorithms

DOI: 10.3758/BF03204566


This short paper proposes a general computing strategy to compute Kappa coefficients using the SPSS MATRIX routine. The method is based on the following rationale. If the contingency table is considered as a square matrix, then the observed proportions of agreement lie in the main diagonal’s cells, and their sum equals the trace of the matrix, whereas the proportions of agreement expected by chance are the joint product of marginals. The generalization to weighted kappa, which requires an additional square matrix of disagreement weights, both matrices having the same order, becomes possible by the use of the Hadamard product-that is, the elementwise direct product of two matrices.

Copyright information

© Psychonomic Society, Inc. 1994