statsmodels.genmod.families.family.InverseGaussian.starting_mu

InverseGaussian.starting_mu(y)

Starting value for mu in the IRLS algorithm.

Parameters: y (array) – The untransformed response variable.
Returns: mu_0 – The first guess on the transformed response variable.
Return type: array

Notes

\[\mu_0 = (Y + \overline{Y})/2\]

Only the Binomial family takes a different initial value.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.families.family.InverseGaussian.starting_mu.html