### Navigation

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

# scikits.statsmodels.family.family.Family.resid_dev

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

  The deviance residuals

  Parameters: | Y : array The endogenous response variable mu : array The inverse of the link function at the linear predicted values. scale : float, optional An optional argument to divide the residuals by scale
  Returns: | Deviance residuals. :

  Notes

  The deviance residuals are defined for each family.

### Navigation

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