statsmodels.sandbox.stats.runs.symmetry_bowker
statsmodels.sandbox.stats.runs.symmetry_bowker(table) [source]
Test for symmetry of a (k, k) square contingency table This is an extension of the McNemar test to test the Null hypothesis that the contingency table is symmetric around the main diagonal, that is n_{i, j} = n_{j, i} for all i, j Parameters:
table : array_like, 2d, (k, k) a square contingency table that contains the count for k categories in rows and columns. Returns:
statistic