statsmodels.genmod.families.family.InverseGaussian.starting_mu

InverseGaussian.starting_mu(y)

Starting value for mu in the IRLS algorithm.

Parameters:
yndarray

The untransformed response variable.

Returns:
mu_0ndarray

The first guess on the transformed response variable.

Notes

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

Only the Binomial family takes a different initial value.


Last update: Oct 12, 2024