In [7]:
import numpy as np
import scipy.stats as st
In [5]:
np.random.uniform(low=0,high=1,size=10)
Out[5]:
In [6]:
np.random.randint(low=0, high=100, size=10)
Out[6]:
In [15]:
dist = st.norm(loc=0.0,scale=1.0)
x = np.array([-0.5,0.,0.5])
dist.pdf(x)
Out[15]:
In [17]:
dist = st.norm(loc=0.0,scale=1.0)
dist.pdf(1.645)
Out[17]:
In [19]:
dist.cdf(1.645)
Out[19]:
In [ ]: