예제 #1
0
 def get_level(n):
     return scipy.optimize.brentq(find_confidence_interval,
                                  0.,
                                  1.,
                                  args=(f.T, confidence_level(n)))
예제 #2
0
 def get_level(n):
     return scipy.optimize.brentq(find_confidence_interval, 0., 1.,
                                  args=(f.T, confidence_level(n)))