Last active
July 17, 2020 09:10
-
-
Save SaraM92/d0830487a60c7e2d05d42013ed61933b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Import Essential Libraries | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import scipy.stats as stat | |
#Normal Distribution | |
n = np.arange(-100, 100) | |
mean = 0 | |
sd = 15 | |
normalDist = stat.norm.pdf(n, mean, sd) | |
plt.plot(n, normalDist, color="#8d0801") | |
plt.xlabel('Distribution', fontsize=15 ,color="#001427") | |
plt.ylabel('Probability', fontsize=15, color="#001427") | |
plt.title("Normal Distribution", color="#001427") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment