1. Probability Density Function
1
2
3
4
5
6
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm
X = np.arange(-10, 10, 0.001)
plt.plot(X, norm.pdf(X, 0, 2));
PREVIOUSEtc
1
2
3
4
5
6
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import norm
X = np.arange(-10, 10, 0.001)
plt.plot(X, norm.pdf(X, 0, 2));