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

Next topic

scikits.statsmodels.family.family.NegativeBinomial.deviance

This Page