statsmodels.stats.contingency_tables.SquareTable.chi2_contribs#

SquareTable.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.