statsmodels.genmod.families.family.Gaussian.starting_mu¶
- Gaussian.starting_mu(y)¶
Starting value for mu in the IRLS algorithm.
- Parameters:¶
- y
ndarray
The untransformed response variable.
- y
- Returns:¶
- mu_0
ndarray
The first guess on the transformed response variable.
- mu_0
Notes
\[\mu_0 = (Y + \overline{Y})/2\]Only the Binomial family takes a different initial value.
Last update:
Dec 23, 2024