mdipierro / nlib

The book "Annotated Algorithms in Python" and the nlib.py library
1.33k stars 115 forks source link

Monte Carlo/Statistics symbols consistency #21

Open Oleg-Krivosheev opened 7 years ago

Oleg-Krivosheev commented 7 years ago

In general, convention for Statistics and Monte Carlo is as following:

$\mu$ vs $m$, and $\sigma$ vs $s$ For example,

distribution parameters, in Greek

mu = 0.0 sigma = 1.0 v = np.random.normal(mu, sigma, 1000)

Sampling parameters, in Latin

m = np.mean(v) s = np.std(v)

mdipierro commented 7 years ago

I like this!