Family.resid_dev()

statsmodels.genmod.families.family.Family.resid_dev

Family.resid_dev(endog, mu, scale=1.0) [source]

The deviance residuals

Parameters:

endog : 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.

doc_statsmodels
2017-01-18 16:08:47
Comments
Leave a Comment

Please login to continue.