@cache_readonly
def resid(self):
    'Response residual'
    return (self.model.endog - self.fittedvalues)
Response residual
@cache_readonly
def resid(self):
    
    return (self.model.endog - self.fittedvalues)