mdipierro/nlib

Monte Carlo/Statistics symbols consistency

Opened this issue · 1 comments

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

  • Distribution parameters are marked with Greek letters/symbols
  • Sampling results are marked with Latin letters/symbols

$\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)

I like this!