• + 0 comments

    from math import exp, factorial, pi, erf

    Cumulative Probability

    Probility that in a normal distribution the value is less than x.

    def CDF(x, mu, std): return 0.5*(1+erf((x-mu)/(std*((2**0.5)))))