statsmodels.discrete.discrete_model.ProbitResults.resid_dev

ProbitResults.resid_dev

Deviance residuals

Notes

Deviance residuals are defined

dj=±(2[Yjln(YjMjpj)+(MjYjln(MjYjMj(1pj))])1/2

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.