stats.inter_rater.cohens_kappa()

statsmodels.stats.inter_rater.cohens_kappa

statsmodels.stats.inter_rater.cohens_kappa(table, weights=None, return_results=True, wt=None) [source]

Compute Cohen’s kappa with variance and equal-zero test

Parameters:

table : array_like, 2-Dim

square array with results of two raters, one rater in rows, second rater in columns

weights : array_like

The interpretat