@classmethod
def setup_class(cls):
    true = {'params': np.r_[(6.564923, 7.846371, (- 8.064123), (- 15.37636), 1.02719, (- 0.71976), (np.exp((- 0.217003)) ** 2), 0.161489, 0.022536)], 'llf': (- 163.914049), 'llf_fit': (- 161.786477), 'llf_fit_em': (- 163.914049)}
    exog_tvtp = np.c_[(np.ones(len(rgnp)), rec)]
    super(TestHamiltonAR1SwitchTVTP, cls).setup_class(true, rgnp, k_regimes=2, order=1, exog_tvtp=exog_tvtp)
@classmethod
def setup_class(cls):
    true = {'params': np.r_[(6.564923, 7.846371, (- 8.064123), (- 15.37636), 1.02719, (- 0.71976), (np.exp((- 0.217003)) ** 2), 0.161489, 0.022536)], 'llf': (- 163.914049), 'llf_fit': (- 161.786477), 'llf_fit_em': (- 163.914049)}
    exog_tvtp = np.c_[(np.ones(len(rgnp)), rec)]
    super(TestHamiltonAR1SwitchTVTP, cls).setup_class(true, rgnp, k_regimes=2, order=1, exog_tvtp=exog_tvtp)