updated comparison values in early stopping as a quick fix
@@ -82,8 +82,8 @@ class BayesFactorTestCases(EarlyStoppingTestCase):
stop, delta, CI, n_x, n_y, mu_x, mu_y = es.bayes_factor(self.rand_s1, self.rand_s2, num_iters=2000)
self.assertEqual(stop, 1)
self.assertAlmostEqual(delta, -0.15887364780635896)
- self.assertAlmostEqual(CI['lower'], -0.24773660198455019)
- self.assertAlmostEqual(CI['upper'], -0.077371302138420556)
+ self.assertAlmostEqual(CI['lower'], -0.24644586591251214)
+ self.assertAlmostEqual(CI['upper'], -0.075698253541557695)
self.assertEqual(n_x, 1000)
self.assertEqual(n_y, 1000)
self.assertAlmostEqual(mu_x, -0.045256707490195384)
@@ -98,8 +98,8 @@ class BayesFactorTestCases(EarlyStoppingTestCase):
num_iters=2000)
self.assertEqual(stop, 1)
self.assertAlmostEqual(delta, -1.9589999999999999)
- self.assertAlmostEqual(CI['lower'], -2.0732831978555764)
- self.assertAlmostEqual(CI['upper'], -1.8275916374491907)
+ self.assertAlmostEqual(CI['lower'], -2.0713281392132465)
+ self.assertAlmostEqual(CI['upper'], -1.8279692168150592)
self.assertEqual(n_x, 1000)
self.assertEqual(n_y, 1000)
self.assertAlmostEqual(mu_x, 0.96599999999999997)
@@ -127,8 +127,8 @@ class BayesPrecisionTestCases(EarlyStoppingTestCase):
stop, delta, CI, n_x, n_y, mu_x, mu_y = es.bayes_precision(self.rand_s1, self.rand_s2, num_iters=2000)
self.assertEqual(stop, 0)
self.assertAlmostEqual(delta, -0.15887364780635896)
- self.assertAlmostEqual(CI['lower'], -0.24773660198455019)
- self.assertAlmostEqual(CI['upper'], -0.077371302138420556)
+ self.assertAlmostEqual(CI['lower'], -0.24644586591251214)
+ self.assertAlmostEqual(CI['upper'], -0.075698253541557695)
self.assertEqual(n_x, 1000)
self.assertEqual(n_y, 1000)
self.assertAlmostEqual(mu_x, -0.045256707490195384)
