code: def setup_class(cls):
      yi = np.array([0, 2, 14, 19, 30])
      ni = 40 * np.ones(len(yi))
      xi = np.arange(1, len(yi) + 1)
      exog = np.column_stack((np.ones(len(yi)), xi))
      endog = np.column_stack((yi, ni - yi))
  
      res = GLM(endog, exog, family=families.Binomial()).fit()
  
      cls.infl1 = res.get_influence()
      cls.infl0 = MLEInfluence(res)
      cls.cd_rtol = 5e-5
  
imports: from statsmodels.compat.pandas import testing
  import os.path
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from statsmodels.regression.linear_model import OLS
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.genmod import families
  from statsmodels.stats.outliers_influence import MLEInfluence
label_desc: Use image node_id 1 for calling the TestInfluenceBinomialGLMMLE obj's underlying member method code with example usage: obj.setup_class(cls) without return types