### Navigation

- index
- modules |
- next |
- statsmodels v0.2.0 documentation »
- Generalized Linear Models »
- scikits.statsmodels.family.family.NegativeBinomial »

# scikits.statsmodels.family.family.NegativeBinomial.resid_dev

`NegativeBinomial.``resid_dev`(Y, mu, scale=1.0)

  Negative Binomial Deviance Residual

  Parameters: | Y : array-like Y is the response variable mu : array-like mu is the fitted value of the model scale : float, optional An optional argument to divide the residuals by scale
  Returns: | resid_dev : array The array of deviance residuals

### Navigation

- index
- modules |
- next |
- statsmodels v0.2.0 documentation »
- Generalized Linear Models »
- scikits.statsmodels.family.family.NegativeBinomial »