1、關(guān)于正態(tài)函數(shù) cdf pdf 隨機(jī)數(shù)
from scipy.stats import norm
# cdf(x < val)
## cdf
print (norm.cdf(val, m, s))
## pdf
print (norm.pdf(val, m, s))
## 隨機(jī)數(shù)
random.rand()
2、分位數(shù)
-
當(dāng)前所在分位數(shù)
scipy.stats.percentileofscore
image.png -
計(jì)算分為數(shù)
np.percentile()
image.png
未完待續(xù)

