def loglike(self, params):
        q = 2*self.endog - 1
        X = self.exog
        return np.sum(np.log(self.cdf(q*np.dot(X,params))))
Computes the arithmetic-geometric mean agm(1,a) for a nonnegative
dataset/ETHPy150Open statsmodels/statsmodels/statsmodels/discrete/discrete_model.py/Logit.loglike--crossover with--dataset/ETHPy150Open fredrik-johansson/mpmath/mpmath/libmp/libhyper.py/mpf_agm1