Probability, Data Science, Python, Python Programming, Statistics.
mu) / math.sqrt(2) / sigma)) / 2 # plot xs = [x / 10.0 for x in range(-50, 50)] plt.plot(xs, [normal_cdf(x, sigma=1) for x in xs], '-', label='mu=0,sigma=1') In both cases, the area under the curve for the standard normal distribution and the cumulative distribution function is 1.0, thus summing