### Navigation

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

# scikits.statsmodels.family.family.NegativeBinomial.devresid

`NegativeBinomial.``devresid`(Y, mu)

  Negative Binomial Deviance Residual

  Parameters: | Y : array-like Y is the response variable mu : array-like mu is the fitted value of the model
  Returns: | resid_dev : array The array of deviance residuals

### Navigation

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