3.2.2.3.5.1.21. statsmodels.discrete.discrete_model.CountResults.resid

CountResults.resid()[source]

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.