def test_smoothed_regimes(self):
    res = self.result
    assert_equal(len(res.smoothed_marginal_probabilities[:, 1]), self.model.nobs)
    assert_allclose(res.smoothed_marginal_probabilities[:, 1], hamilton_ar4_smoothed, atol=1e-05)
def test_smoothed_regimes(self):
    res = self.result
    assert_equal(len(res.smoothed_marginal_probabilities[:, 1]), self.model.nobs)
    assert_allclose(res.smoothed_marginal_probabilities[:, 1], hamilton_ar4_smoothed, atol=1e-05)