def test_compGroups(self): ci = compGroups.oneProportion() self.assertAlmostEqual(ci[0], 0.130, places=2) chi2 = compGroups.chiSquare() self.assertAlmostEqual(chi2[0], 4.141, places=2) fisher = compGroups.fisherExact() self.assertAlmostEqual(fisher[1], 0.035, places=2)
def test_compGroups(self): compGroups.oneProportion() compGroups.chiSquare() compGroups.fisherExact()