statsmodels.stats.contingency_tables.SquareTable.resid_pearson¶ SquareTable.resid_pearson¶ Returns Pearson residuals. The Pearson residuals are calculated under a model where the rows and columns of the table are independent.