statsmodels.discrete.discrete_model.LogitResults.resid_pearson

LogitResults.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.


Last update: Oct 03, 2024