Normal Distribution
Normal Distribution
Normal distribution
Probability density function
Notation
Parameters μ ∈ R — mean (location)
σ2 > 0 — variance (squared scale)
Support x∈R
PDF
CDF
Mean μ
Median μ
Mode μ
Variance
Skewness 0
Ex. kurtosis 0
Entropy
MGF
CF
Fisher information
In probability theory, the normal (or Gaussian) distribution is a continuous probability distribution that has a
bell-shaped probability density function, known as the Gaussian function or informally as the bell curve:[1]
Normal distribution 2
The parameter μ is the mean or expectation (location of the peak) and σ 2 is the variance. σ is known as the standard
deviation. The distribution with μ = 0 and σ 2 = 1 is called the standard normal distribution or the unit normal
distribution. A normal distribution is often used as a first approximation to describe real-valued random variables
that cluster around a single mean value.
The normal distribution is considered the most prominent probability distribution in statistics. There are several
reasons for this:[2] First, the normal distribution arises from the central limit theorem, which states that under mild
conditions, the mean of a large number of random variables drawn from the same distribution is distributed
approximately normally, irrespective of the form of the original distribution. This gives it exceptionally wide
application in, for example, sampling. Secondly, the normal distribution is very tractable analytically, that is, a large
number of results involving this distribution can be derived in explicit form.
For these reasons, the normal distribution is commonly encountered in practice, and is used throughout statistics, the
natural sciences, and the social sciences[3] as a simple model for complex phenomena. For example, the
observational error in an experiment is usually assumed to follow a normal distribution, and the propagation of
uncertainty is computed using this assumption. Note that a normally distributed variable has a symmetric distribution
about its mean. Quantities that grow exponentially, such as prices, incomes or populations, are often skewed to the
right, and hence may be better described by other distributions, such as the log-normal distribution or the Pareto
distribution. In addition, the probability of seeing a normally distributed value that is far (i.e. more than a few
standard deviations) from the mean drops off extremely rapidly. As a result, statistical inference using a normal
distribution is not robust to the presence of outliers (data that are unexpectedly far from the mean, due to exceptional
circumstances, observational error, etc.). When outliers are expected, data may be better described using a
heavy-tailed distribution such as the Student's t-distribution.
From a technical perspective, alternative characterizations are possible, for example:
• The normal distribution is the only absolutely continuous distribution all of whose cumulants beyond the first two
(i.e. other than the mean and variance) are zero.
• For a given mean and variance, the corresponding normal distribution is the continuous distribution with the
maximum entropy.[4][5]
The normal distributions are a subclass of the elliptical distributions.
Definition
The simplest case of a normal distribution is known as the standard normal distribution, described by this
probability density function :
The factor in this expression ensures that the total area under the curve ϕ(x) is equal to one[proof], and 12 in the
exponent makes the "width" of the curve (measured as half the distance between the inflection points) also equal to
one. It is traditional in statistics to denote this function with the Greek letter ϕ (phi), whereas density functions for all
other distributions are usually denoted with letters f or p.[6] The alternative glyph φ is also used quite often, however
within this article "φ" is reserved to denote characteristic functions.
Every normal distribution is the result of exponentiating a quadratic function (just as an exponential distribution
results from exponentiating a linear function):
This yields the classic "bell curve" shape, provided that a < 0 so that the quadratic function is concave for x close to
0. f(x) > 0 everywhere. One can adjust a to control the "width" of the bell, then adjust b to move the central peak of
the bell along the x-axis, and finally one must choose c such that (which is only possible
when a < 0).
Normal distribution 3
Rather than using a, b, and c, it is far more common to describe a normal distribution by its mean μ = − b2a and
variance σ2 = − 12a. Changing to these new parameters allows one to rewrite the probability density function in a
convenient standard form:
For a standard normal distribution, μ = 0 and σ2 = 1. The last part of the equation above shows that any other normal
distribution can be regarded as a version of the standard normal distribution that has been stretched horizontally by a
factor σ and then translated rightward by a distance μ. Thus, μ specifies the position of the bell curve's central peak,
and σ specifies the "width" of the bell curve.
The parameter μ is at the same time the mean, the median and the mode of the normal distribution. The parameter σ2
is called the variance; as for any random variable, it describes how concentrated the distribution is around its mean.
The square root of σ2 is called the standard deviation and is the width of the density function.
The normal distribution is usually denoted by N(μ, σ2).[7] Thus when a random variable X is distributed normally
with mean μ and variance σ2, we write
Alternative formulations
Some authors advocate using the precision instead of the variance. The precision is normally defined as the
reciprocal of the variance (τ = σ−2), although it is occasionally defined as the reciprocal of the standard deviation (τ
= σ−1).[8] This parametrization has an advantage in numerical applications where σ2 is very close to zero and is more
convenient to work with in analysis as τ is a natural parameter of the normal distribution. This parametrization is
common in Bayesian statistics, as it simplifies the Bayesian analysis of the normal distribution. Another advantage
of using this parametrization is in the study of conditional distributions in the multivariate normal case. The form of
the normal distribution with the more common definition τ = σ−2 is as follows:
The question of which normal distribution should be called the "standard" one is also answered differently by
various authors. Starting from the works of Gauss the standard normal was considered to be the one with variance σ2
= 12 :
Stigler (1982) goes even further and insists the standard normal to be with the variance σ2 = 12π :
According to the author, this formulation is advantageous because of a much simpler and easier-to-remember
formula, the fact that the pdf has unit height at zero, and simple approximate formulas for the quantiles of the
distribution.
Normal distribution 4
Characterization
In the previous section the normal distribution was defined by specifying its probability density function. However
there are other ways to characterize a probability distribution. They include: the cumulative distribution function, the
moments, the cumulants, the characteristic function, the moment-generating function, etc.
This is a proper function only when the variance σ2 is not equal to zero. In that case this is a continuous smooth
function, defined on the entire real line, and which is called the "Gaussian function".
Properties:
• Function f(x) is unimodal and symmetric around the point x = μ, which is at the same time the mode, the median
and the mean of the distribution.[9]
• The inflection points of the curve occur one standard deviation away from the mean (i.e., at x = μ − σ and x = μ +
σ).[9]
• Function f(x) is log-concave.[9]
• The standard normal density ϕ(x) is an eigenfunction of the Fourier transform in that if ƒ is a normalized Gaussian
function with variance σ2, centered at zero, then its Fourier transform is a Gaussian function with variance 1/σ2.
• The function is supersmooth of order 2, implying that it is infinitely differentiable.[10]
• The first derivative of ϕ(x) is ϕ′(x) = −x·ϕ(x); the second derivative is ϕ′′(x) = (x2 − 1)ϕ(x). More generally, the
n-th derivative is given by ϕ(n)(x) = (−1)nHn(x)ϕ(x), where Hn is the Hermite polynomial of order n.[11]
When σ2 = 0, the density function doesn't exist. However a generalized function that defines a measure on the real
line, and it can be used to calculate, for example, expected value is
where δ(x) is the Dirac delta function which is equal to infinity at x = μ and is zero elsewhere.
This integral cannot be expressed in terms of elementary functions, so is simply called a transformation of the error
function, or erf, a special function. Numerical methods for calculation of the standard normal CDF are discussed
below. For a generic normal random variable with mean μ and variance σ2 > 0 the CDF will be equal to
The complement of the standard normal CDF, Q(x) = 1 − Φ(x), is referred to as the Q-function, especially in
engineering texts.[12][13] This represents the upper tail probability of the Gaussian distribution: that is, the probability
that a standard normal random variable X is greater than the number x. Other definitions of the Q-function, all of
which are simple transformations of Φ, are also used occasionally.[14]
Normal distribution 5
Properties:
• The standard normal CDF is 2-fold rotationally symmetric around point (0, ½): Φ(−x) = 1 − Φ(x).
• The derivative of Φ(x) is equal to the standard normal pdf ϕ(x): Φ′(x) = ϕ(x).
• The antiderivative of Φ(x) is: ∫ Φ(x) dx = x Φ(x) + ϕ(x).
For a normal distribution with zero variance, the CDF is the Heaviside step function (with H(0) = 1 convention):
Quantile function
The quantile function of a distribution is the inverse of the CDF. The quantile function of the standard normal
distribution is called the probit function, and can be expressed in terms of the inverse error function:
Quantiles of the standard normal distribution are commonly denoted as zp. The quantile zp represents such a value
that a standard normal random variable X has the probability of exactly p to fall inside the (−∞, zp] interval. The
quantiles are used in hypothesis testing, construction of confidence intervals and Q-Q plots. The most "famous"
normal quantile is 1.96 = z0.975. A standard normal random variable is greater than 1.96 in absolute value in 5% of
cases.
For a normal random variable with mean μ and variance σ2, the quantile function is
The characteristic function can be analytically extended to the entire complex plane: one defines φ(z) = eiμz − 12σ2z2
for all z ∈ C.[16]
The moment generating function is defined as the expected value of etX. For a normal distribution, the moment
generating function exists and is equal to
The cumulant generating function is the logarithm of the moment generating function:
Since this is a quadratic polynomial in t, only the first two cumulants are nonzero.
Normal distribution 6
Moments
The normal distribution has moments of all orders. That is, for a normally distributed X with mean μ and variance σ
2
, the expectation E[|X|p] exists and is finite for all p such that Re[p] > −1. Usually we are interested only in moments
of integer orders: p = 1, 2, 3, ….
• Central moments are the moments of X around its mean μ. Thus, a central moment of order p is the expected
value of (X − μ) p. Using standardization of normal random variables, this expectation will be equal to σ p · E[Zp],
where Z is standard normal.
Here n!! denotes the double factorial, that is the product of every odd number from n to 1.
• Central absolute moments are the moments of |X − μ|. They coincide with regular moments for all even orders,
but are nonzero for all odd p's.
These expressions remain valid even if p is not integer. See also generalized Hermite polynomials.
• First two cumulants are equal to μ and σ 2 respectively, whereas all higher-order cumulants are equal to zero.
1 μ 0 μ
2 μ2 + σ2 σ2 σ2
3 0 0
μ3 + 3μσ2
4 0
μ4 + 6μ2σ2 + 3σ4 3σ 4
5 0 0
μ5 + 10μ3σ2 + 15μσ4
6 0
μ6 + 15μ4σ2 + 45μ2σ4 + 15σ6 15σ 6
7 0 0
μ7 + 21μ5σ2 + 105μ3σ4 + 105μσ6
8 0
μ8 + 28μ6σ2 + 210μ4σ4 + 420μ2σ6 + 105σ8 105σ 8
Normal distribution 7
Properties
has mean zero and unit variance, that is Z has the standard normal distribution. Conversely, having a standard normal
random variable Z we can always construct another normal random variable with specific mean μ and variance σ2:
This "standardizing" transformation is convenient as it allows one to compute the PDF and especially the CDF of a
normal distribution having the table of PDF and CDF values for the standard normal. They will be related via
The next table gives the reverse relation of sigma multiples corresponding to a few often used values for the area
under the bell curve. These values are useful to determine (asymptotic) tolerance intervals of the specified levels
based on normally distributed (or asymptotically normal) estimators:[18]
Normal distribution 8
n n
where the value on the left of the table is the proportion of values that will fall within a given interval and n is a
multiple of the standard deviation that specifies the width of the interval.
Miscellaneous
1. The family of normal distributions is closed under linear transformations. That is, if X is normally distributed
with mean μ and variance σ2, then a linear transform aX + b (for some real numbers a and b) is also normally
distributed:
Also if X1, X2 are two independent normal random variables, with means μ1, μ2 and standard deviations σ1, σ2,
then their linear combination will also be normally distributed: [proof]
2. The converse of (1) is also true: if X1 and X2 are independent and their sum X1 + X2 is distributed normally, then
both X1 and X2 must also be normal.[19] This is known as Cramér's decomposition theorem. The interpretation
of this property is that a normal distribution is only divisible by other normal distributions. Another application of
this property is in connection with the central limit theorem: although the CLT asserts that the distribution of a
sum of arbitrary non-normal iid random variables is approximately normal, the Cramér's theorem shows that it
can never become exactly normal.[20]
3. If the characteristic function φX of some random variable X is of the form φX(t) = eQ(t), where Q(t) is a
polynomial, then the Marcinkiewicz theorem (named after Józef Marcinkiewicz) asserts that Q can be at most a
quadratic polynomial, and therefore X a normal random variable.[20] The consequence of this result is that the
normal distribution is the only distribution with a finite number (two) of non-zero cumulants.
4. If X and Y are jointly normal and uncorrelated, then they are independent. The requirement that X and Y should be
jointly normal is essential, without it the property does not hold.[proof] For non-normal random variables
Normal distribution 10
7. The normal distribution is stable (with exponent α = 2): if X1, X2 are two independent N(μ, σ2) random variables
and a, b are arbitrary real numbers, then
where X3 is also N(μ, σ2). This relationship directly follows from property (1).
8. The Kullback–Leibler divergence between two normal distributions X1 ∼ N(μ1, σ21 )and X2 ∼ N(μ2, σ22 )is given
by:[24]
9. The Fisher information matrix for a normal distribution is diagonal and takes the form
10. Normal distributions belongs to an exponential family with natural parameters and , and natural
statistics x and x . The dual, expectation parameters for normal distribution are η1 = μ and η2 = μ + σ2.
2 2
11. The conjugate prior of the mean of a normal distribution is another normal distribution.[25] Specifically, if x1,
…, xn are iid N(μ, σ2) and the prior is μ ~ N(μ0, σ ), then the posterior distribution for the estimator of μ will be
12. Of all probability distributions over the reals with mean μ and variance σ2, the normal distribution N(μ, σ2) is the
one with the maximum entropy.[26]
13. The family of normal distributions forms a manifold with constant curvature −1. The same family is flat with
respect to the (±1)-connections ∇(e) and ∇(m).[27]
Normal distribution 11
Related distributions
• If X1, …, Xn, Y1, …, Ym are independent standard normal random variables, then the ratio of their normalized
sums of squares will have the F-distribution with (n, m) degrees of freedom:
Normal distribution 12
Extensions
The notion of normal distribution, being one of the most important distributions in probability theory, has been
extended far beyond the standard framework of the univariate (that is one-dimensional) case (Case 1). All these
extensions are also called normal or Gaussian laws, so a certain ambiguity in names exists.
• Multivariate normal distribution describes the Gaussian law in the k-dimensional Euclidean space. A vector X ∈
Rk is multivariate-normally distributed if any linear combination of its components ∑ aj Xj has a
(univariate) normal distribution. The variance of X is a k×k symmetric positive-definite matrix V.
• Rectified Gaussian distribution a rectified version of normal distribution with all the negative elements reset to 0
• Complex normal distribution deals with the complex normal vectors. A complex vector X ∈ Ck is said to be
normal if both its real and imaginary components jointly possess a 2k-dimensional multivariate normal
distribution. The variance-covariance structure of X is described by two matrices: the variance matrix Γ, and the
relation matrix C.
• Matrix normal distribution describes the case of normally distributed matrices.
• Gaussian processes are the normally distributed stochastic processes. These can be viewed as elements of some
infinite-dimensional Hilbert space H, and thus are the analogues of multivariate normal vectors for the case k = ∞.
A random element h ∈ H is said to be normal if for any constant a ∈ H the scalar product (a, h) has a (univariate)
normal distribution. The variance structure of such Gaussian random element can be described in terms of the
linear covariance operator K: H → H. Several Gaussian processes became popular enough to have their own
names:
• Brownian motion,
• Brownian bridge,
• Ornstein–Uhlenbeck process.
• Gaussian q-distribution is an abstract mathematical construction which represents a "q-analogue" of the normal
distribution.
• the q-Gaussian is an analogue of the Gaussian distribution, in the sense that it maximises the Tsallis entropy, and
is one type of Tsallis distribution. Note that this distribution is different from the Gaussian q-distribution above.
One of the main practical uses of the Gaussian law is to model the empirical distributions of many different random
variables encountered in practice. In such case a possible extension would be a richer family of distributions, having
more than two parameters and therefore being able to fit the empirical distribution more accurately. The examples of
such extensions are:
• Pearson distribution — a four-parametric family of probability distributions that extend the normal law to include
different skewness and kurtosis values.
Normal distribution 13
Normality tests
Normality tests assess the likelihood that the given data set {x1, …, xn} comes from a normal distribution. Typically
the null hypothesis H0 is that the observations are distributed normally with unspecified mean μ and variance σ2,
versus the alternative Ha that the distribution is arbitrary. A great number of tests (over 40) have been devised for
this problem, the more prominent of them are outlined below:
• "Visual" tests are more intuitively appealing but subjective at the same time, as they rely on informal human
judgement to accept or reject the null hypothesis.
• Q-Q plot — is a plot of the sorted values from the data set against the expected values of the corresponding
quantiles from the standard normal distribution. That is, it's a plot of point of the form (Φ−1(pk), x(k)), where
plotting points pk are equal to pk = (k − α)/(n + 1 − 2α) and α is an adjustment constant which can be anything
between 0 and 1. If the null hypothesis is true, the plotted points should approximately lie on a straight line.
• P-P plot — similar to the Q-Q plot, but used much less frequently. This method consists of plotting the points
(Φ(z(k)), pk), where . For normally distributed data this plot should lie on a 45° line between
(0, 0) and (1, 1).
• Wilk–Shapiro test employs the fact that the line in the Q-Q plot has the slope of σ. The test compares the least
squares estimate of that slope with the value of the sample variance, and rejects the null hypothesis if these two
quantities differ significantly.
• Normal probability plot (rankit plot)
• Moment tests:
• D'Agostino's K-squared test
• Jarque–Bera test
• Empirical distribution function tests:
• Lilliefors test (an adaptation of the Kolmogorov–Smirnov test)
• Anderson–Darling test
Estimation of parameters
It is often the case that we don't know the parameters of the normal distribution, but instead want to estimate them.
That is, having a sample (x1, …, xn) from a normal N(μ, σ2) population we would like to learn the approximate
values of parameters μ and σ2. The standard approach to this problem is the maximum likelihood method, which
requires maximization of the log-likelihood function:
Taking derivatives with respect to μ and σ2 and solving the resulting system of first order conditions yields the
maximum likelihood estimates:
Estimator is called the sample mean, since it is the arithmetic mean of all observations. The statistic is complete
and sufficient for μ, and therefore by the Lehmann–Scheffé theorem, is the uniformly minimum variance unbiased
(UMVU) estimator.[29] In finite samples it is distributed normally:
The variance of this estimator is equal to the μμ-element of the inverse Fisher information matrix . This implies
that the estimator is finite-sample efficient. Of practical importance is the fact that the standard error of is
proportional to , that is, if one wishes to decrease the standard error by a factor of 10, one must increase the
number of points in the sample by a factor of 100. This fact is widely used in determining sample sizes for opinion
Normal distribution 14
The estimator is called the sample variance, since it is the variance of the sample (x1, …, xn). In practice, another
estimator is often used instead of the . This other estimator is denoted s2, and is also called the sample variance,
which represents a certain ambiguity in terminology; its square root s is called the sample standard deviation. The
estimator s2 differs from by having (n − 1) instead of n in the denominator (the so called Bessel's correction):
The difference between s2 and becomes negligibly small for large n's. In finite samples however, the motivation
behind the use of s2 is that it is an unbiased estimator of the underlying parameter σ2, whereas is biased. Also, by
the Lehmann–Scheffé theorem the estimator s2 is uniformly minimum variance unbiased (UMVU),[29] which makes
it the "best" estimator among all unbiased ones. However it can be shown that the biased estimator is "better"
than the s2 in terms of the mean squared error (MSE) criterion. In finite samples both s2 and have scaled
chi-squared distribution with (n − 1) degrees of freedom:
The first of these expressions shows that the variance of s2 is equal to 2σ4/(n−1), which is slightly greater than the
σσ-element of the inverse Fisher information matrix . Thus, s2 is not an efficient estimator for σ2, and moreover,
since s is UMVU, we can conclude that the finite-sample efficient estimator for σ2 does not exist.
2
Applying the asymptotic theory, both estimators s2 and are consistent, that is they converge in probability to σ2 as
the sample size n → ∞. The two estimators are also both asymptotically normal:
This quantity t has the Student's t-distribution with (n − 1) degrees of freedom, and it is an ancillary statistic
(independent of the value of the parameters). Inverting the distribution of this t-statistics will allow us to construct
the confidence interval for μ;[30] similarly, inverting the χ2 distribution of the statistic s2 will give us the confidence
interval for σ2:[31]
the asymptotic distributions of and s2. The approximate formulas become valid for large values of n, and are more
convenient for the manual calculation since the standard normal quantiles zα/2 do not depend on n. In particular, the
most popular value of α = 5%, results in |z0.025| = 1.96.
Scalar form
The following auxiliary formula is useful for simplifying the posterior update equations, which otherwise become
fairly tedious.
This equation rewrites the sum of two quadratics in x by expanding the squares, grouping the terms in x, and
completing the square. Note the following about the complex constant factors attached to some of the terms:
situation where the reciprocals of quantities a and b add directly, so to combine a and b themselves, it's necessary
to reciprocate, add, and reciprocate the result again to get back into the original units. This is exactly the sort of
operation performed by the harmonic mean, so it is not surprising that is one-half the harmonic mean of a
and b.
Normal distribution 16
Vector form
A similar formula can be written for the sum of two vector quadratics: If are vectors of length , and
and are symmetric, invertible matrices of size , then
where
In other words, it sums up all possible combinations of products of pairs of elements from , with a separate
coefficient for each. In addition, since , only the sum matters for any off-diagonal
elements of , and there is no loss of generality in assuming that is symmetric. Furthermore, if is
symmetric, then the form .
where
In the above derivation, we used the formula above for the sum of two quadratics and eliminated all constant factors
not involving . The result is the kernel of a normal distribution, with mean and precision
, i.e.
This can be written as a set of Bayesian update equations for the posterior parameters in terms of the prior
parameters:
That is, to combine data points with total precision of (or equivalently, total variance of ) and mean of
values , derive a new total precision simply by adding the total precision of the data to the prior total precision,
and form a new mean through a precision-weighted average, i.e. a weighted average of the data mean and the prior
mean, each weighted by the associated total precision. This makes logical sense if the precision is thought of as
indicating the certainty of the observations: In the distribution of the posterior mean, each of the input components is
weighted by its certainty, and the certainty of this distribution is the sum of the individual certainties. (For the
intuition of this, compare the expression "the whole is (or is not) greater than the sum of its parts". In addition,
consider that the knowledge of the posterior comes from a combination of the knowledge of the prior and likelihood,
so it makes sense that we are more certain of it than of either of its components.)
The above formula reveals why it is more convenient to do Bayesian analysis of conjugate priors for the normal
distribution in terms of the precision. The posterior precision is simply the sum of the prior and likelihood precisions,
and the posterior mean is computed through a precision-weighted average, as described above. The same formulas
can be written in terms of variance by reciprocating all the precisions, yielding the more ugly formulas
Normal distribution 18
The likelihood function from above, written in terms of the variance, is:
where
Then:
or equivalently
The respective numbers of pseudo-observations just add the number of actual observations to them. The new mean
hyperparameter is once again a weighted average, this time weighted by the relative numbers of observations.
Finally, the update for is similar to the case with known mean, but in this case the sum of squared deviations
is taken with respect to the observed data mean rather than the true mean, and as a result a new "interaction term"
needs to be added to take care of the additional error source stemming from the deviation between prior and data
mean.
Proof is as follows.
Occurrence
The occurrence of normal distribution in practical problems can be loosely classified into three categories:
1. Exactly normal distributions;
2. Approximately normal laws, for example when such approximation is justified by the central limit theorem; and
3. Distributions modeled as normal – the normal distribution being the distribution with maximum entropy for a
given mean and variance.
Exact normality
Certain quantities in physics are distributed normally, as was first
demonstrated by James Clerk Maxwell. Examples of such quantities
are:
• Velocities of the molecules in the ideal gas. More generally,
velocities of the particles in any system in thermodynamic
equilibrium will have normal distribution, due to the maximum
entropy principle.
• Probability density function of a ground state in a quantum harmonic
oscillator.
• The position of a particle which experiences diffusion. If initially the The ground state of a quantum harmonic
particle is located at a specific point (that is its probability oscillator has the Gaussian distribution.
distribution is the dirac delta function), then after time t its location
is described by a normal distribution with variance t, which satisfies the diffusion equation ∂∂t f(x,t) = 12 ∂2∂x2
f(x,t). If the initial location is given by a certain density function g(x), then the density at time t is the convolution
of g and the normal PDF.
Approximate normality
Approximately normal distributions occur in many situations, as explained by the central limit theorem. When the
outcome is produced by a large number of small effects acting additively and independently, its distribution will be
close to normal. The normal approximation will not be valid if the effects act multiplicatively (instead of additively),
or if there is a single external influence which has a considerably larger magnitude than the rest of the effects.
• In counting problems, where the central limit theorem includes a discrete-to-continuum approximation and where
infinitely divisible and decomposable distributions are involved, such as
• Binomial random variables, associated with binary response variables;
• Poisson random variables, associated with rare events;
• Thermal light has a Bose–Einstein distribution on very short time scales, and a normal distribution on longer
timescales due to the central limit theorem.
Normal distribution 21
Assumed normality
I can only recognize the occurrence of the normal curve – the
Laplacian curve of errors – as a very abnormal phenomenon. It
is roughly approximated to in certain distributions; for this
reason, and on account for its beautiful simplicity, we may,
perhaps, use it as a first approximation, particularly in theoretical
investigations.
—Pearson (1901)
There are statistical methods to empirically test that assumption, see
Histogram of sepal widths for Iris versicolor
the above Normality tests section. from Fisher's Iris flower data set, with
• In biology, the logarithm of various variables tend to have a normal superimposed best-fitting normal distribution.
will both have the standard normal distribution, and will be independent. This formulation arises because for a
bivariate normal random vector (X Y) the squared norm X2 + Y2 will have the chi-squared distribution with two
degrees of freedom, which is an easily generated exponential random variable corresponding to the quantity
−2ln(U) in these equations; and the angle is distributed uniformly around the circle, chosen by the random
variable V.
• Marsaglia polar method is a modification of the Box–Muller method algorithm, which does not require
computation of functions sin() and cos(). In this method U and V are drawn from the uniform (−1,1)
distribution, and then S = U2 + V2 is computed. If S is greater or equal to one then the method starts over,
otherwise two quantities
are returned. Again, X and Y will be independent and standard normally distributed.
• The Ratio method[37] is a rejection method. The algorithm proceeds as follows:
• Generate two independent uniform deviates U and V;
• Compute X = √8/e (V − 0.5)/U;
• If X2 ≤ 5 − 4e1/4U then accept X and terminate algorithm;
Normal distribution 23
where ϕ(x) is the standard normal PDF, and b0 = 0.2316419, b1 = 0.319381530, b2 = −0.356563782, b3 =
1.781477937, b4 = −1.821255978, b5 = 1.330274429.
• Hart (1968) lists almost a hundred of rational function approximations for the erfc() function. His algorithms
vary in the degree of complexity and the resulting precision, with maximum absolute precision of 24 digits. An
algorithm by West (2009) combines Hart's algorithm 5666 with a continued fraction approximation in the tail to
provide a fast computation algorithm with a 16-digit precision.
• Cody (1969) after recalling Hart68 solution is not suited for erf, gives a solution for both erf and erfc, with
maximal relative error bound, via Rational Chebyshev Approximation.
• Marsaglia (2004) suggested a simple algorithm[39] based on the Taylor series expansion
for calculating Φ(x) with arbitrary precision. The drawback of this algorithm is comparatively slow calculation
time (for example it takes over 300 iterations to calculate the function with 16 digits of precision when x = 10).
• The GNU Scientific Library calculates values of the standard normal CDF using Hart's algorithms and
approximations with Chebyshev polynomials.
History
Development
Some authors[40][41] attribute the credit for the discovery of the normal distribution to de Moivre, who in 1738[42]
published in the second edition of his "The Doctrine of Chances" the study of the coefficients in the binomial
expansion of (a + b)n. De Moivre proved that the middle term in this expansion has the approximate magnitude of
, and that "If m or ½n be a Quantity infinitely great, then the Logarithm of the Ratio, which a Term distant
from the middle by the Interval ℓ, has to the middle Term, is ."[43] Although this theorem can be interpreted as
the first obscure expression for the normal probability law, Stigler points out that de Moivre himself did not interpret
Normal distribution 24
his results as anything more than the approximate rule for the binomial coefficients, and in particular de Moivre
lacked the concept of the probability density function.[44]
In 1809 Gauss published his monograph "Theoria motus corporum
coelestium in sectionibus conicis solem ambientium" where among
other things he introduces several important statistical concepts, such
as the method of least squares, the method of maximum likelihood, and
the normal distribution. Gauss used M, M′, M′′, … to denote the
measurements of some unknown quantity V, and sought the "most
probable" estimator: the one which maximizes the probability φ(M−V)
· φ(M′−V) · φ(M′′−V) · … of obtaining the observed experimental
results. In his notation φΔ is the probability law of the measurement
errors of magnitude Δ. Not knowing what the function φ is, Gauss
requires that his method should reduce to the well-known answer: the
arithmetic mean of the measured values.[45] Starting from these
principles, Gauss demonstrates that the only law which rationalizes the
choice of arithmetic mean as an estimator of the location parameter, is
Carl Friedrich Gauss discovered the normal
the normal law of errors:[46]
distribution in 1809 as a way to rationalize the
method of least squares.
where h is "the measure of the precision of the observations". Using this normal law as a generic model for errors in
the experiments, Gauss formulates what is now known as the non-linear weighted least squares (NWLS) method.[47]
Although Gauss was the first to suggest the normal distribution law,
Laplace made significant contributions.[48] It was Laplace who first
posed the problem of aggregating several observations in 1774,[49]
although his own solution led to the Laplacian distribution. It was
Laplace who first calculated the value of the integral ∫ e−t ²dt = √π in
1782, providing the normalization constant for the normal
distribution.[50] Finally, it was Laplace who in 1810 proved and
presented to the Academy the fundamental central limit theorem,
which emphasized the theoretical importance of the normal
distribution.[51]
Naming
Since its introduction, the normal distribution has been known by many different names: the law of error, the law of
facility of errors, Laplace's second law, Gaussian law, etc. Gauss himself apparently coined the term with reference
to the "normal equations" involved in its applications, with normal having its technical meaning of orthogonal rather
than "usual".[55] However, by the end of the 19th century some authors[56] had started using the name normal
distribution, where the word "normal" was used as an adjective – the term now being seen as a reflection of the fact
that this distribution was seen as typical, common – and thus "normal". Peirce (one of those authors) once defined
"normal" thus: "...the 'normal' is not the average (or any other kind of mean) of what actually occurs, but of what
would, in the long run, occur under certain circumstances."[57] Around the turn of the 20th century Pearson
popularized the term normal as a designation for this distribution.[58]
Many years ago I called the Laplace–Gaussian curve the normal curve, which name, while it avoids an
international question of priority, has the disadvantage of leading people to believe that all other distributions
of frequency are in one sense or another 'abnormal'.
—Pearson (1920)
Also, it was Pearson who first wrote the distribution in terms of the standard deviation σ as in modern notation. Soon
after this, in year 1915, Fisher added the location parameter to the formula for normal distribution, expressing it in
the way it is written nowadays:
The term "standard normal" which denotes the normal distribution with zero mean and unit variance came into
general use around 1950s, appearing in the popular textbooks by P.G. Hoel (1947) "Introduction to mathematical
statistics" and A.M. Mood (1950) "Introduction to the theory of statistics".[59]
When the name is used, the "Gaussian distribution" was named after Carl Friedrich Gauss, who introduced the
distribution in 1809 as a way of rationalizing the method of least squares as outlined above. The related work of
Laplace, also outlined above has led to the normal distribution being sometimes called Laplacian, especially in
French-speaking countries. Among English speakers, both "normal distribution" and "Gaussian distribution" are in
common use, with different terms preferred by different communities.
Notes
[1] The designation "bell curve" is ambiguous: many other distributions are "bell"-shaped: the Cauchy distribution, Student's t-distribution, the
generalized normal, the logistic, etc.
[2] Casella & Berger (2001, p. 102)
[3] Normal Distribution (http:/ / findarticles. com/ p/ articles/ mi_g2699/ is_0002/ ai_2699000241), Gale Encyclopedia of Psychology
[4] Cover, Thomas M.; Thomas, Joy A. (2006). Elements of Information Theory. John Wiley and Sons. p. 254.
[5] Park, Sung Y.; Bera, Anil K. (2009). "Maximum Entropy Autoregressive Conditional Heteroskedasticity Model" (http:/ / www. wise. xmu.
edu. cn/ Master/ Download/ . . \. . \UploadFiles\paper-masterdownload\2009519932327055475115776. pdf). Journal of Econometrics
(Elsevier): 219–230. . Retrieved 2011-06-02.
[6] Halperin, Hartley & Hoel (1965, item 7)
[7] McPherson (1990, p. 110)
[8] Bernardo & Smith (2000, p. 121)
[9] Patel & Read (1996, [2.1.4])
[10] Fan (1991, p. 1258)
[11] Patel & Read (1996, [2.1.8])
[12] Scott, Clayton; Nowak, Robert (August 7, 2003). "The Q-function" (http:/ / cnx. org/ content/ m11537/ 1. 2/ ). Connexions. .
[13] Barak, Ohad (April 6, 2006). "Q Function and Error Function" (http:/ / www. eng. tau. ac. il/ ~jo/ academic/ Q. pdf). Tel Aviv University. .
[14] Weisstein, Eric W., " Normal Distribution Function (http:/ / mathworld. wolfram. com/ NormalDistributionFunction. html)" from
MathWorld.
[15] Bryc (1995, p. 23)
[16] Bryc (1995, p. 24)
Normal distribution 26
[17] WolframAlpha.com (http:/ / www. wolframalpha. com/ input/ ?i=Table[{N(Erf(n/ Sqrt(2)),+ 12),+ N(1-Erf(n/ Sqrt(2)),+ 12),+ N(1/
(1-Erf(n/ Sqrt(2))),+ 12)},+ {n,1,6}])
[18] part 1 (http:/ / www. wolframalpha. com/ input/ ?i=Table[Sqrt(2)*InverseErf(x),+ {x,+ N({8/ 10,+ 9/ 10,+ 19/ 20,+ 49/ 50,+ 99/ 100,+ 995/
1000,+ 998/ 1000},+ 13)}]), part 2 (http:/ / www. wolframalpha. com/ input/
?i=Table[{N(1-10^(-x),9),N(Sqrt(2)*InverseErf(1-10^(-x)),13)},{x,3,9}])
[19] Galambos & Simonelli (2004, Theorem 3.5)
[20] Bryc (1995, p. 35)
[21] Bryc (1995, p. 27)
[22] Lukacs & King (1954)
[23] Patel & Read (1996, [2.3.6])
[24] http:/ / www. allisons. org/ ll/ MML/ KL/ Normal/
[25] Jordan, Michael I. (February 8th, 2010). "Stat260: Bayesian Modeling and Inference: The Conjugate Prior for the Normal Distribution"
(http:/ / www. cs. berkeley. edu/ ~jordan/ courses/ 260-spring10/ lectures/ lecture5. pdf). .
[26] Cover & Thomas (2006, p. 254)
[27] Amari & Nagaoka (2000)
[28] Normal Product Distribution (http:/ / mathworld. wolfram. com/ NormalProductDistribution. html), Mathworld
[29] Krishnamoorthy (2006, p. 127)
[30] Krishnamoorthy (2006, p. 130)
[31] Krishnamoorthy (2006, p. 133)
[32] Huxley (1932)
[33] Jaynes, Edwin T. (2003). Probability Theory: The Logic of Science. Cambridge University Press. pp. 592–593.
[34] Oosterbaan, Roland J. (1994). "Chapter 6: Frequency and Regression Analysis of Hydrologic Data" (http:/ / www. waterlog. info/ pdf/
freqtxt. pdf). In Ritzema, Henk P.. Drainage Principles and Applications, Publication 16 (second revised ed.). Wageningen, The Netherlands:
International Institute for Land Reclamation and Improvement (ILRI). pp. 175–224. ISBN 90-70754-33-9. .
[35] Wichura, Michael J. (1988). "Algorithm AS241: The Percentage Points of the Normal Distribution". Applied Statistics (Blackwell
Publishing) 37 (3): 477–484. doi:10.2307/2347330. JSTOR 2347330.
[36] Johnson, Kotz & Balakrishnan (1995, Equation (26.48))
[37] Kinderman & Monahan (1977)
[38] http:/ / www. math. sfu. ca/ ~cbm/ aands/ page_932. htm
[39] For example, this algorithm is given in the article Bc programming language.
[40] Johnson, Kotz & Balakrishnan (1994, p. 85)
[41] Le Cam & Lo Yang (2000, p. 74)
[42] De Moivre first published his findings in 1733, in a pamphlet "Approximatio ad Summam Terminorum Binomii (a + b)n in Seriem Expansi"
that was designated for private circulation only. But it was not until the year 1738 that he made his results publicly available. The original
pamphlet was reprinted several times, see for example Walker (1985).
[43] De Moivre, Abraham (1733), Corollary I – see Walker (1985, p. 77)
[44] Stigler (1986, p. 76)
[45] "It has been customary certainly to regard as an axiom the hypothesis that if any quantity has been determined by several direct
observations, made under the same circumstances and with equal care, the arithmetical mean of the observed values affords the most probable
value, if not rigorously, yet very nearly at least, so that it is always most safe to adhere to it." — Gauss (1809, section 177)
[46] Gauss (1809, section 177)
[47] Gauss (1809, section 179)
[48] "My custom of terming the curve the Gauss–Laplacian or normal curve saves us from proportioning the merit of discovery between the two
great astronomer mathematicians." quote from Pearson (1905, p. 189)
[49] Laplace (1774, Problem III)
[50] Pearson (1905, p. 189)
[51] Stigler (1986, p. 144)
[52] Stigler (1978, p. 243)
[53] Stigler (1978, p. 244)
[54] Maxwell (1860, p. 23)
[55] Jaynes, Edwin J.; Probability Theory: The Logic of Science, Ch 7 (http:/ / www-biba. inrialpes. fr/ Jaynes/ cc07s. pdf)
[56] Besides those specifically referenced here, such use is encountered in the works of Peirce, Galton (Galton (1889, chapter V)) and Lexis
(Lexis (1878), Rohrbasser & Véron (2003)) approximately around 1875.
[57] Peirce, Charles S. (c. 1909 MS), Collected Papers v. 6, paragraph 327
[58] Kruskal & Stigler (1997)
[59] "Earliest uses… (entry STANDARD NORMAL CURVE)" (http:/ / jeff560. tripod. com/ s. html). .
Normal distribution 27
Citations
References
• Aldrich, John; Miller, Jeff. "Earliest Uses of Symbols in Probability and Statistics" (http://jeff560.tripod.com/
stat.html).
• Aldrich, John; Miller, Jeff. "Earliest Known Uses of Some of the Words of Mathematics" (http://jeff560.tripod.
com/mathword.html). In particular, the entries for "bell-shaped and bell curve" (http://jeff560.tripod.com/b.
html), "normal (distribution)" (http://jeff560.tripod.com/n.html), "Gaussian" (http://jeff560.tripod.com/g.
html), and "Error, law of error, theory of errors, etc." (http://jeff560.tripod.com/e.html).
• Amari, Shun-ichi; Nagaoka, Hiroshi (2000). Methods of Information Geometry. Oxford University Press.
ISBN 0-8218-0531-2.
• Bernardo, José M.; Smith, Adrian F. M. (2000). Bayesian Theory. Wiley. ISBN 0-471-49464-X.
• Bryc, Wlodzimierz (1995). The Normal Distribution: Characterizations with Applications. Springer-Verlag.
ISBN 0-387-97990-5.
• Casella, George; Berger, Roger L. (2001). Statistical Inference (2nd ed.). Duxbury. ISBN 0-534-24312-6.
• Cody, William J. (1969). "Rational Chebyshev Approximations for the Error Function". Mathematics of
Computation: 631-638.
• Cover, Thomas M.; Thomas, Joy A. (2006). Elements of Information Theory. John Wiley and Sons.
• de Moivre, Abraham (1738). The Doctrine of Chances. ISBN 0-8218-2103-2.
• Fan, Jianqing (1991). "On the optimal rates of convergence for nonparametric deconvolution problems". The
Annals of Statistics 19 (3): 1257–1272. doi:10.1214/aos/1176348248. JSTOR 2241949.
• Galton, Francis (1889). Natural Inheritance (http://galton.org/books/natural-inheritance/pdf/
galton-nat-inh-1up-clean.pdf). London, UK: Richard Clay and Sons.
• Galambos, Janos; Simonelli, Italo (2004). Products of Random Variables: Applications to Problems of Physics
and to Arithmetical Functions. Marcel Dekker, Inc.. ISBN 0-8247-5402-6.
• Gauss, Carolo Friderico (1809) (in Latin). Theoria motvs corporvm coelestivm in sectionibvs conicis Solem
ambientivm [Theory of the Motion of the Heavenly Bodies Moving about the Sun in Conic Sections]. English
translation (http://books.google.com/books?id=1TIAAAAAQAAJ).
• Gould, Stephen Jay (1981). The Mismeasure of Man (first ed.). W. W. Norton. ISBN 0-393-01489-4.
• Halperin, Max; Hartley, Herman O.; Hoel, Paul G. (1965). "Recommended Standards for Statistical Symbols and
Notation. COPSS Committee on Symbols and Notation". The American Statistician 19 (3): 12–14.
doi:10.2307/2681417. JSTOR 2681417.
• Hart, John F.; et al. (1968). Computer Approximations. New York, NY: John Wiley & Sons, Inc..
ISBN 0-88275-642-7.
• Hazewinkel, Michiel, ed. (2001), "Normal Distribution" (http://www.encyclopediaofmath.org/index.
php?title=p/n067460), Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4
• Herrnstein, Richard J.; Murray, Charles (1994). The Bell Curve: Intelligence and Class Structure in American
Life. Free Press. ISBN 0-02-914673-9.
• Huxley, Julian S. (1932). Problems of Relative Growth. London. ISBN 0-486-61114-0. OCLC 476909537.
• Johnson, Norman L.; Kotz, Samuel; Balakrishnan, Narayanaswamy (1994). Continuous Univariate Distributions,
Volume 1. Wiley. ISBN 0-471-58495-9.
• Johnson, Norman L.; Kotz, Samuel; Balakrishnan, Narayanaswamy (1995). Continuous Univariate Distributions,
Volume 2. Wiley. ISBN 0-471-58494-0.
• Kinderman, Albert J.; Monahan, John F. (1977). "Computer Generation of Random Variables Using the Ratio of
Uniform Deviates". ACM Transactions on Mathematical Software 3: 257-260.
• Krishnamoorthy, Kalimuthu (2006). Handbook of Statistical Distributions with Applications. Chapman &
Hall/CRC. ISBN 1-58488-635-8.
Normal distribution 28
• Kruskal, William H.; Stigler, Stephen M. (1997). Spencer, Bruce D.. ed. Normative Terminology: 'Normal' in
Statistics and Elsewhere. Statistics and Public Policy. Oxford University Press. ISBN 0-19-852341-6.
• Laplace, Pierre-Simon de (1774). "Mémoire sur la probabilité des causes par les événements" (http://gallica.bnf.
fr/ark:/12148/bpt6k77596b/f32). Mémoires de l'Académie royale des Sciences de Paris (Savants étrangers),
tome 6: 621–656. Translated by Stephen M. Stigler in Statistical Science 1 (3), 1986: JSTOR 2245476.
• Laplace, Pierre-Simon (1812). Théorie analytique des probabilités [Analytical theory of probabilities].
• Le Cam, Lucien; Lo Yang, Grace (2000). Asymptotics in Statistics: Some Basic Concepts (second ed.). Springer.
ISBN 0-387-95036-2.
• Lexis, Wilhelm (1878). "Sur la durée normale de la vie humaine et sur la théorie de la stabilité des rapports
statistiques". Annales de démographie internationale (Paris) II: 447-462.
• Lukacs, Eugene; King, Edgar P. (1954). "A Property of Normal Distribution". The Annals of Mathematical
Statistics 25 (2): 389–394. doi:10.1214/aoms/1177728796. JSTOR 2236741.
• McPherson, Glen (1990). Statistics in Scientific Investigation: Its Basis, Application and Interpretation.
Springer-Verlag. ISBN 0-387-97137-8.
• Marsaglia, George; Tsang, Wai Wan (2000). "The Ziggurat Method for Generating Random Variables" (http://
www.jstatsoft.org/v05/i08/paper). Journal of Statistical Software 5 (8).
• Marsaglia, George (2004). "Evaluating the Normal Distribution" (http://www.jstatsoft.org/v11/i05/paper).
Journal of Statistical Software 11 (4).
• Maxwell, James Clerk (1860). "V. Illustrations of the dynamical theory of gases. — Part I: On the motions and
collisions of perfectly elastic spheres". Philosophical Magazine, series 4 19 (124): 19–32.
doi:10.1080/14786446008642818.
• Patel, Jagdish K.; Read, Campbell B. (1996). Handbook of the Normal Distribution (2nd ed.). CRC Press.
ISBN 0-8247-9342-0.
• Pearson, Karl (1905). "'Das Fehlergesetz und seine Verallgemeinerungen durch Fechner und Pearson'. A
rejoinder". Biometrika 4 (1): 169–212. JSTOR 2331536.
• Pearson, Karl (1920). "Notes on the History of Correlation". Biometrika 13 (1): 25–45.
doi:10.1093/biomet/13.1.25. JSTOR 2331722.
• Rohrbasser, Jean-Marc; Véron, Jacques (2003). "Wilhelm Lexis: The Normal Length of Life as an Expression of
the "Nature of Things"" (http://www.persee.fr/web/revues/home/prescript/article/
pop_1634-2941_2003_num_58_3_18444). Population 58 (3): 303-322.
• Stigler, Stephen M. (1978). "Mathematical Statistics in the Early States". The Annals of Statistics 6 (2): 239–265.
doi:10.1214/aos/1176344123. JSTOR 2958876.
• Stigler, Stephen M. (1982). "A Modest Proposal: A New Standard for the Normal". The American Statistician 36
(2): 137–138. doi:10.2307/2684031. JSTOR 2684031.
• Stigler, Stephen M. (1986). The History of Statistics: The Measurement of Uncertainty before 1900. Harvard
University Press. ISBN 0-674-40340-1.
• Stigler, Stephen M. (1999). Statistics on the Table. Harvard University Press. ISBN 0-674-83601-4.
• Walker, Helen M. (1985). "De Moivre on the Law of Normal Probability" (http://www.york.ac.uk/depts/
maths/histstat/demoivre.pdf). In Smith, David Eugene. A Source Book in Mathematics. Dover.
ISBN 0-486-64690-4.
• Weisstein, Eric W.. "Normal Distribution" (http://mathworld.wolfram.com/NormalDistribution.html).
MathWorld.
• West, Graeme (2009). "Better Approximations to Cumulative Normal Functions" (http://www.wilmott.com/
pdfs/090721_west.pdf). Wilmott Magazine: 70–76.
• Zelen, Marvin; Severo, Norman C. (1964). Probability Functions (chapter 26) (http://www.math.sfu.ca/~cbm/
aands/page_931.htm). Handbook of mathematical functions with formulas, graphs, and mathematical tables, by
Abramowitz, M.; and Stegun, I. A.: National Bureau of Standards. New York, NY: Dover. ISBN 0-486-61272-4.
Normal distribution 29
External links
• Hazewinkel, Michiel, ed. (2001), "Normal distribution" (http://www.encyclopediaofmath.org/index.
php?title=p/n067460), Encyclopedia of Mathematics, Springer, ISBN 978-1-55608-010-4
• Normal Distribution Video Tutorial Part 1-2 (http://www.youtube.com/watch?v=kB_kYUbS_ig)
• An 8-foot-tall (2.4 m) Probability Machine (named Sir Francis) comparing stock market returns to the
randomness of the beans dropping through the quincunx pattern. (http://www.youtube.com/
watch?v=AUSKTk9ENzg) YouTube link originating from Index Funds Advisors (http://www.ifa.com)
• An interactive Normal (Gaussian) distribution plot (http://peter.freeshell.org/gaussian/)
Article Sources and Contributors 30
License
Creative Commons Attribution-Share Alike 3.0 Unported
//creativecommons.org/licenses/by-sa/3.0/