statsmodels.discrete.discrete_model.BinaryResults.resid_pearson

BinaryResults.resid_pearson

Pearson residuals

Notes

Pearson residuals are defined to be

rj=(yMjpj)Mjpj(1pj)

where pj=cdf(Xβ) and Mj is the total number of observations sharing the covariate pattern j.

For now Mj is always set to 1.