# statsmodels.stats.contingency_tables.SquareTable.symmetry¶

method

SquareTable.symmetry(method='bowker')[source]

Test for symmetry of a joint distribution.

This procedure tests the null hypothesis that the joint distribution is symmetric around the main diagonal, that is



p_{i, j} = p_{j, i} for all i, j

Returns
A bunch with attributes:
statisticfloat

chisquare test statistic

p-valuefloat

p-value of the test statistic based on chisquare distribution

dfint

degrees of freedom of the chisquare distribution