예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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)
예제 #4
0
 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)