statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialResults.resid

ZeroInflatedNegativeBinomialResults.resid

Residuals

Notes

The residuals for Count models are defined as

yp

where p=exp(Xβ). Any exposure and offset variables are also handled.