statsmodels.genmod.families.family.Family.starting_mu

Family.starting_mu(y)[source]

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

μ0=(Y+¯Y)/2

Only the Binomial family takes a different initial value.