Mathematical notation for 'value generated from normal distribution'

6.4k Views Asked by At

What is the correct mathematical notation for expressing that say 'x is a value generated from the given range with the probability given by normal distribution with given mu and sigma'? I am writing a pseudoalgorithm and I need to express:

a = b + x,

where x comes from range (-inf, inf) and is picked randomly with respect to the normal distribution N(mu, sigma).

2

There are 2 best solutions below

0
On

One often sees $$X\sim\mathcal N(\mu,\sigma^2)$$ indicating that $X$ is a random variable with the specified distribution.

In fact, I've even seen the distribution symbol itself used to stand for a quantity so distributed, e.g.,

$$\mu + \mathcal N(0,\sigma^2) =\mathcal N(\mu,\sigma^2)$$

though I don't much care for this much of a stretch of the notation.

0
On

You could write $x \leftarrow N(\mu, \sigma)$ to indicate the instruction "Select $x$ randomly from the distribution $N(\mu, \sigma)$."