Deviance of (Y,mu) pair.
Deviance is usually defined as twice the loglikelihood ratio.
Y : array-like
The endogenous response variable
mu : array-like
The inverse of the link function at the linear predicted values.
scale : float, optional
An optional scale argument.
DEV : array
The value of deviance function defined below.
Notes
The deviance functions are analytically defined for each family.
scikits.statsmodels.family.family.Family
scikits.statsmodels.family.family.Family.devresid
Enter search terms or a module, class or function name.