statsmodels.gam.generalized_additive_model.GLMGamResults.pearson_chi2

method

GLMGamResults.pearson_chi2()

Pearson’s Chi-Squared statistic is defined as the sum of the squares of the Pearson residuals.