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