cls.atol = 1e-3
+@pytest.mark.xfail(reason="flaky convergence, https://bugs.debian.org/944054")
class TestPenalizedPoissonOraclePenalized2(CheckPenalizedPoisson):
@classmethod
assert_equal(self.res1.bse[self.k_nonzero:], 0)
+@pytest.mark.xfail(reason="flaky convergence, https://bugs.debian.org/944054")
class TestPenalizedPoissonOraclePenalized2HC(CheckPenalizedPoisson):
@classmethod
assert_almost_equal(jt1, jtest[0][3:5], decimal=13)
jt2 = smsdia.compare_j(res, res2)
- assert_almost_equal(jt2, jtest[1][3:5], decimal=14)
+ assert_almost_equal(jt2, jtest[1][3:5], decimal=13)
#Estimate Std. Error z value Pr(>|z|)
coxtest = [('fitted(M1) ~ M2', -0.782030488930356, 0.599696502782265,
-5.727181590258883, 1.021128495098556e-08, '***')]
ct1 = smsdia.compare_cox(res, res2)
- assert_almost_equal(ct1, coxtest[0][3:5], decimal=13)
+ assert_almost_equal(ct1, coxtest[0][3:5], decimal=12)
ct2 = smsdia.compare_cox(res2, res)
assert_almost_equal(ct2, coxtest[1][3:5], decimal=12)
# we can't increase it too much more than this because then we start get
# numerical errors (e.g. 1e11 works but 1e12 doesn't pass)
approximate_diffuse_variance = 5e10
+ rtol = 1e-6
class TestDFM_KFAS(CheckKFASMixin, CheckDFM):