In probability theory and statistics, the normal distribution (sometimes Gaussian distribution, bell curve) is a probability distribution given by the pdf:

where is the mean and is the variance. Adjusting the mean and variances scales the shape of the distribution. The unit CDF () is:

And the CDF is given by:

Other relevant formulas

The parameter can be produced with the softplus function:

The characteristic function for Gaussian distributions are given by:

Properties

One of the key properties of the normal distribution is that:

  • About 68% of the population lies within one standard deviation of the median.
  • About 95% within two and 99.7% within three.

Because this idea is true for any normal population, we may be motivated to convert into a set of “standard units”. This leads to the idea of the z-score, which we can use to work backwards and calculate the mean/standard deviation/sample.