I am looking to create a standard normal distribution (mean=0, Std Deviation=1) curve in python and then shade area to the left, right and the middle of z-score(s). I also want to print the z-score(s) and the associated probability with the shaded area.
Say for example, the shaded areas I am interested in are:
Probability(z < -0.75)
Probability(z > 0.75)
Probability(-0.75 < z < 0.75)
I used the following lines to create the standard normal distribution curve. How can I add the shaded region for associated z-scores and print the z-scores along with the probabilities?
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm
range = np.arange(-3,3,0.001)
plt.plot(range, norm.pdf(range, 0, 1))
plt.show()





