statsmodels.stats.contingency_tables.SquareTable.resid_pearson

method

SquareTable.resid_pearson()

Returns Pearson residuals.

The Pearson residuals are calculated under a model where the rows and columns of the table are independent.