statsmodels.genmod.generalized_linear_model.GLMResults.pearson_chi2¶ GLMResults.pearson_chi2[source]¶ Pearson’s Chi-Squared statistic is defined as the sum of the squares of the Pearson residuals.