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