statsmodels.genmod.families.family.Poisson.resid_anscombe¶
method
- 
Poisson.resid_anscombe(endog, mu, var_weights=1.0, scale=1.0)[source]¶ The Anscombe residuals
- Parameters
 - endogarray
 The endogenous response variable
- muarray
 The inverse of the link function at the linear predicted values.
- var_weightsarray-like
 1d array of variance (analytic) weights. The default is 1.
- scalefloat, optional
 An optional argument to divide the residuals by sqrt(scale). The default is 1.
- Returns
 - resid_anscombearray
 The Anscome residuals for the Poisson family defined below
Notes
\[resid\_anscombe_i = (3/2) * (endog_i^{2/3} - \mu_i^{2/3}) / \mu_i^{1/6} * \sqrt(var\_weights)\]
