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 μ0=(Yi+0.5)/2