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 interpretation of weights depends on the wt argument. If both are None, then the simple kappa is computed. see wt for the case when wt is not N