statsmodels.stats.contingency_tables.Table.chi2_contribs

Table.chi2_contribs

Returns the contributions to the chi^2 statistic for independence.

The returned table contains the contribution of each cell to the chi^2 test statistic for the null hypothesis that the rows and columns are independent.