statsmodels.discrete.count_model.ZeroInflatedGeneralizedPoissonResults.resid

ZeroInflatedGeneralizedPoissonResults.resid

Residuals

Notes

The residuals for Count models are defined as

\[y - p\]

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


Last update: Nov 14, 2024