code: def setup_class(cls):
      from .test_diagnostic import get_duncan_data
  
      endog, exog, labels = get_duncan_data()
      data = pd.DataFrame(
          np.column_stack((endog, exog)),
          columns="y const var1 var2".split(),
          index=labels,
      )
  
      res = GLM.from_formula("y ~ const + var1 + var2 - 1", data).fit()
      # res = GLM(endog, exog).fit()
  
      cls.infl1 = res.get_influence()
      cls.infl0 = MLEInfluence(res)
  
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 TestInfluenceGaussianGLMMLE obj's underlying member method code with example usage: obj.setup_class(cls) without return types