Foundations of Probability in Python
Alexander A. Ramírez M.
CEO @ Synergy Vision
$$ $$
$$ $$
$$ $$
$$ $$
# Import norm, matplotlib.pyplot, and seaborn
from scipy.stats import norm
import matplotlib.pyplot as plt
import seaborn as sns
# Create the sample using norm.rvs()
sample = norm.rvs(loc=0, scale=1, size=10000, random_state=13)
# Plot the sample
sns.distplot(sample)
plt.show()
Foundations of Probability in Python