statsmodels.genmod.families.family.Poisson.resid_anscombe

Poisson.resid_anscombe(endog, mu)[source]

Anscombe residuals for the Poisson exponential family distribution

Parameters:

endog : array-like

Endogenous response variable

mu : array-like

Fitted mean response variable

Returns:

resid_anscombe : array

The Anscome residuals for the Poisson family defined below

Notes

resid_anscombe is defined