7.2.3.3.2.8. statsmodels.genmod.families.family.Binomial.starting_mu

Binomial.starting_mu(y)[source]

The starting values for the IRLS algorithm for the Binomial family.

A good choice for the binomial family is

starting_mu = (y + .5)/2