예제 #1
0
 def test_pval_significant(self):
   values = Values([1, 1, 1, 1, 1])
   self.assertAlmostEqual(0.992, values.pval([10, 10, 10, 10, 10]), places=3)
예제 #2
0
 def test_pval_identical(self):
   identical_list = [1, 10, 1]
   values = Values(identical_list)
   self.assertEqual(0, values.pval(identical_list))