Fix unit tests for bayes functions
@@ -72,8 +72,8 @@ class BayesFactorTestCases(EarlyStoppingTestCase):
stop,delta,CI,n_x,n_y,mu_x,mu_y = es.bayes_factor(self.rand_s1, self.rand_s2)
self.assertEqual(stop, 1)
self.assertAlmostEqual(delta, -0.15887364780635896)
- self.assertAlmostEqual(CI['lower'], -0.25165623415486293)
- self.assertAlmostEqual(CI['upper'], -0.075628298460462456)
+ self.assertAlmostEqual(CI['lower'], -0.24873596733759926)
+ self.assertAlmostEqual(CI['upper'], -0.07428422893227539)
self.assertEqual(n_x, 1000)
self.assertEqual(n_y, 1000)
self.assertAlmostEqual(mu_x, -0.045256707490195384)
@@ -106,8 +106,8 @@ class BayesPrecisionTestCases(EarlyStoppingTestCase):
stop,delta,CI,n_x,n_y,mu_x,mu_y = es.bayes_precision(self.rand_s1, self.rand_s2)
self.assertEqual(stop, 0)
self.assertAlmostEqual(delta, -0.15887364780635896)
- self.assertAlmostEqual(CI['lower'], -0.25165623415486293)
- self.assertAlmostEqual(CI['upper'], -0.075628298460462456)
+ self.assertAlmostEqual(CI['lower'], -0.24873596733759926)
+ self.assertAlmostEqual(CI['upper'], -0.07428422893227539)
self.assertEqual(n_x, 1000)
self.assertEqual(n_y, 1000)
self.assertAlmostEqual(mu_x, -0.045256707490195384)
