code: def setup_class(cls):
      mdata = statsmodels.datasets.macrodata.load_pandas().data
      mdata = mdata[["realgdp", "realcons", "realinv"]]
      data = mdata.values
      data = np.diff(np.log(data), axis=0)
      A = np.asarray([[1, 0, 0], ["E", 1, 0], ["E", "E", 1]], dtype="U")
      B = np.asarray([["E", 0, 0], [0, "E", 0], [0, 0, "E"]], dtype="U")
      results = SVAR(data, svar_type="AB", A=A, B=B).fit(maxlags=3)
      cls.res1 = results
      # cls.res2 = results_svar.SVARdataResults()
      from .results import results_svar_st
  
      cls.res2 = results_svar_st.results_svar1_small
  
file_path: statsmodels/statsmodels/tsa/vector_ar/tests/test_svar.py
imports: from statsmodels.compat.platform import PLATFORM_WIN
  import numpy
  from numpy.testing import assert_allclose, assert_almost_equal
  import pytest
  import statsmodels.datasets.macrodata
  from statsmodels.tsa.vector_ar.svar_model import SVAR
label_desc: Use image node_id 1 for calling the TestSVAR obj's underlying member method code with example usage: obj.setup_class(cls) without return types