code: def setup_class(cls):
      np.random.seed(864259)
  
      nobs, k_vars = 100, 4
      sig_e = 1
      x0 = np.random.randn(nobs, k_vars)
      x0[:, 0] = 1
      y_true = x0.sum(1)
      y = y_true + sig_e * np.random.randn(nobs)
  
      x1 = np.random.randn(nobs, 2)
      x = np.column_stack((x0, x1))
  
      cls.exog_full = x
      cls.exog_add = x1
      cls.res_ols = OLS(y, x0).fit()
  
      cls.attach_moment_conditions()
  
      # results from initial run, not reference package (drooped 2 digits)
      cls.results_score = (1.6857659627548, 0.43046770240535, 2)
      cls.results_hc0 = (1.6385932313952, 0.4407415561953, 2)
      cls.results_opg = (1.72226002418488, 0.422684174119544, 2.0)
  
file_path: statsmodels/statsmodels/stats/tests/test_diagnostic_other.py
imports: import numpy
  from numpy.testing import assert_allclose
  from statsmodels.regression.linear_model import OLS
  from statsmodels.stats._diagnostic_other import CMTNewey, CMTTauchen
  import statsmodels.stats._diagnostic_other
label_desc: Use image node_id 1 for calling the TestCMTOLS obj's underlying member method code with example usage: obj.setup_class(cls) without return types