Logo

scikits.statsmodels.genmod.families.family.InverseGaussian.resid_anscombe

InverseGaussian.resid_anscombe(Y, mu)[source]

The Anscombe residuals for the inverse Gaussian distribution

Parameters :

Y : array

Endogenous response variable

mu : array

Fitted mean response variable

Returns :

resid_anscombe : array

The Anscombe residuals for the inverse Gaussian distribution as defined below

Notes

resid_anscombe = log(Y/mu)/sqrt(mu)

Previous topic

sm.genmod.families.family.InverseGaussian.predict

Next topic

sm.genmod.families.family.InverseGaussian.resid_dev

This Page