'Residuals
Notes
The residuals for Count models are defined as
.. math:: y - p
where :math:`p = \exp(X\beta)`. Any exposure and offset variables
are also handled.'

@cache_readonly
def resid(self):

    return (self.model.endog - self.predict())
