statsmodels / 0.9.0 / generated / statsmodels.discrete.discrete_model.countresults.resid.html /

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.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.discrete.discrete_model.CountResults.resid.html