def testinverseCDF5_4(self): x = N.TDistribution(location=0.0, scale=1.0, shape=5).inverseCDF(0.999)[0] self.assertAlmostEqual(x, 5.893, places=2)
def testinverseCDF5_1(self): x = N.TDistribution(location=0.0, scale=1.0, shape=5).inverseCDF(0.9)[0] self.assertAlmostEqual(x, 1.476, places=3)
def testinverseCDF5_2(self): x = N.TDistribution(location=0.0, scale=1.0, shape=5).inverseCDF(0.95)[0] self.assertAlmostEqual(x, 2.020, places=2)
def testinverseCDF1_4(self): x = N.TDistribution(location=0.0, scale=1.0, shape=2).inverseCDF(0.999)[0] self.assertAlmostEqual(x, 22.328, places=1)