InverseGaussian exponential family.
Parameters : | link : a link instance, optional
|
---|
See also
statsmodels.genmod.families.family.Family
Notes
The inverse Guassian distribution is sometimes referred to in the literature as the wald distribution.
Attributes
InverseGaussian.link | a link instance | The link function of the inverse Gaussian instance |
InverseGaussian.variance | varfunc instance | variance is an instance of statsmodels.family.varfuncs.mu_cubed |
Methods
deviance(Y, mu[, scale]) | Inverse Gaussian deviance function |
fitted(eta) | Fitted values based on linear predictors eta. |
loglike(Y, mu[, scale]) | Loglikelihood function for inverse Gaussian distribution. |
predict(mu) | Linear predictors based on given mu values. |
resid_anscombe(Y, mu) | The Anscombe residuals for the inverse Gaussian distribution |
resid_dev(Y, mu[, scale]) | Returns the deviance residuals for the inverse Gaussian family. |
starting_mu(y) | Starting value for mu in the IRLS algorithm. |
weights(mu) | Weights for IRLS steps |