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 \(\mu_0 = (Y_i + 0.5)/2\)