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