def starting_mu(self, y):
        """
        The starting values for the IRLS algorithm for the Binomial family.
        A good choice for the binomial family is :math:`\mu_0 = (Y_i + 0.5)/2`
        """
        return (y + .5)/2
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/genmod/families/family.py/Binomial.starting_mu/original