コード例 #1
0
def normal_lower_bound(probability, mu=0, sigma=1):
    """returns the z for which P(>= z) = probability"""
    return inverse_normal_cdf(1 - probability, mu, sigma)
コード例 #2
0
def normal_upper_bound(probability, mu=0, sigma=1):
    """returns the z for which P(Z <= z) = probablity"""
    return inverse_normal_cdf(probability, mu, sigma)