code: def setup_class(cls, true, endog, atol=1e-5, rtol=1e-7, **kwargs):
      cls.model = markov_autoregression.MarkovAutoregression(
          endog, **kwargs
      )
      cls.true = true
      cls.result = cls.model.smooth(cls.true["params"])
      cls.atol = atol
      cls.rtol = rtol
  
imports: import warnings
  import os
  import numpy
  from numpy.testing import assert_equal, assert_allclose
  import pandas
  import pytest
  from statsmodels.tools import add_constant
  from statsmodels.tsa.regime_switching import markov_autoregression
label_desc: Use image node_id 1 for calling the MarkovAutoregression obj's underlying member method code with example usage: obj.setup_class(cls, true, endog, atol, rtol) without return types