Safekipedia

Normal distribution

Discoverer · ages 10+Adapted from Wikipedia
A Galton board, a simple device where falling balls bounce through pegs and pile up in a pattern that shows the normal distribution, often called the bell curve.

In probability theory and statistics, a normal distribution, also called a Gaussian distribution, is a type of continuous probability distribution for a real-valued random variable. Its general form is described by a probability density function. The mean, or expectation, is a key value of the distribution. In a normal distribution, the mean is also the median and the mode. The variance describes how spread out the values are, and the standard deviation is the positive value that measures this spread. A random variable with a Gaussian distribution is said to be normally distributed and is called a normal deviate.

Normal distributions are important in statistics. They are often used in the natural and social sciences to represent real-valued random variables whose distributions are not known. Part of their importance comes from the central limit theorem. This theorem says that the average of many statistically independent samples, or observations, of a random variable is itself a random variable. As the number of samples grows, its distribution converges to a normal distribution. This is why physical quantities that come from the sum of many independent processes, such as measurement errors, often have distributions that are nearly normal.

Normal distributions also have special properties that are useful in analytic studies. For example, any linear combination of a fixed set of independent normal deviates is also a normal deviate. Many results and methods, such as propagation of uncertainty and least squares parameter fitting, can be worked out in explicit form when the variables are normally distributed.

However, normal distributions are often misused. This happens in situations where the data are not normally distributed, and then the normal distribution is a poor model.

A normal distribution is sometimes informally called a bell curve. However, many other distributions are bell-shaped, such as the Cauchy, Student's t, and logistic distributions. For other names, see Naming. If you are looking for other uses of the term, see Bell curve (disambiguation).

The univariate probability distribution can be generalized for vectors in the multivariate normal distribution and for matrices in the matrix normal distribution.

Definitions

The simplest normal distribution is called the standard normal distribution or unit normal distribution, which has a mean of 0 and a variance of 1. Its probability density function peaks at z = 0 and has inflection points at z = +1 and z = −1. A few writers have used the name "standard normal" for other versions. Carl Friedrich Gauss defined one, and Stephen Stigler defined another. Any normal distribution can be made from the standard one by stretching it by σ and shifting it by μ. The reverse also works, which gives the standardized form Z = (X − μ)/σ. A normal distribution is often written as N(μ, σ²) or 𝒩(μ, σ²). Its cumulative distribution function, or CDF, is written with the capital Greek letter Φ. The error function is closely related, and it is one of the special functions whose graph has rotational symmetry. Some writers use precision instead of width, which Stigler says makes formulas simpler, and it is useful in Bayesian inference with a multivariate normal distribution.

About 68% of values from a normal distribution fall within one standard deviation of the mean, about 95% fall within two, and about 99.7% fall within three. This is called the 68–95–99.7 (empirical) rule, or the 3-sigma rule. Further information: Interval estimation and Coverage probability

For the normal distribution, the values less than one standard deviation from the mean account for 68.27% of the set, while two standard deviations from the mean account for 95.45% and three standard deviations account for 99.73%

The quantile function is the inverse of the CDF, and for the standard normal it is called the probit function. These values are used in hypothesis testing, confidence intervals, and Q–Q plots. For example, a normal value will lie outside the range μ ± 1.96σ in only 5% of cases, since the quantile z₀.₉₇₅ is 1.96. A tolerance interval can be found from these values for sample averages and other estimators that are normal or asymptotically normal. Further information: Quantile function § Normal distribution

⁠p⁠zp ⁠p⁠zp
0.801.2815515655450.9993.290526731492
0.901.6448536269510.99993.890591886413
0.951.9599639845400.999994.417173413469
0.982.3263478740410.9999994.891638475699
0.992.5758293035490.99999995.326723886384
0.9952.8070337683440.999999995.730728868236
0.9983.0902323061680.9999999996.109410204869

Properties

The normal distribution is special in several ways. It is the only distribution whose cumulants beyond the first two, the mean and the variance, are all zero. It is symmetric about its mean and is non-zero across the entire real line. Because of this, it may not fit things that are always positive or strongly skewed, such as a person's weight or the price of a share of stock. Those are often better described by the log-normal distribution or the Pareto distribution. The normal density is practically zero more than a few standard deviations from the mean, so it can be a poor model when many outliers are expected. In those cases, a more heavy-tailed distribution and robust statistical inference methods should be used.

The mean, median, and mode of a normal distribution are all at the same central point, and its curve forms a symmetric bell shape. The central limit theorem states that, under certain common conditions, the sum of many random variables will have an approximately normal distribution. This is why many other distributions, such as the binomial distribution and the Poisson distribution, can be approximated by the normal distribution when their numbers are large. The approximations are usually less accurate in the tails of the distribution.

Comparison of probability density functions, p(k) for the sum of n fair 6-sided dice to show their convergence to a normal distribution with increasing na, in accordance to the central limit theorem. In the bottom-right graph, smoothed profiles of the previous graphs are rescaled, superimposed and compared with a normal distribution (black curve).

See also: List of integrals of Gaussian functions

OrderNon-central moment, E⁡[Xp]Central moment, E⁡[(X−μ)p]
0⁠1⁠⁠1⁠
1⁠μ⁠⁠0⁠
2μ2+σ2σ2
3μ3+3μσ2⁠0⁠
4μ4+6μ2σ2+3σ43σ4
5μ5+10μ3σ2+15μσ4⁠0⁠
6μ6+15μ4σ2+45μ2σ4+15σ615σ6
7μ7+21μ5σ2+105μ3σ4+105μσ6⁠0⁠
8μ8+28μ6σ2+210μ4σ4+420μ2σ6+105σ8105σ8

Statistical inference

Often we do not know the parameters of a normal distribution, so we want to estimate them from a sample. The standard way to do this is the maximum likelihood method. It gives the sample mean, which is the average of all the observations, as the estimate of the mean. The sample mean becomes more precise as the sample gets bigger. To make the standard error ten times smaller, the sample must have 100 times as many points. The sample variance estimates the spread of the data, and a slightly different version of it is often used in practice. A confidence interval gives a range that likely contains the true value. Statisticians usually use 95% confidence intervals. Normality tests check how likely it is that a set of data comes from a normal distribution.

Bayesian analysis of normal data can be done in many different ways, depending on whether the mean, the variance, or both are treated as unknown. In these cases, new information is combined with earlier knowledge to update the estimates.

Occurrence and applications

The ground state of a quantum harmonic oscillator has the Gaussian distribution.

The normal distribution appears in real-world problems in a few ways. Sometimes it describes a situation exactly, such as the velocity distribution of moving, perfectly bouncing spheres, the ground state wave function of the quantum harmonic oscillator, and the position of a particle that spreads out through diffusion. It is also a good approximation when many small effects add together independently, as explained by the central limit theorem. This works for binomial and Poisson counts, and for thermal radiation over longer timescales.

Many other fields assume normality, even when it is not exact. In biology, the logarithm of some measurements often follows a normal pattern, which is called a log-normal distribution. In finance, the Black–Scholes model assumes normality, though Benoit Mandelbrot argued that other models may fit better. In standardized testing, scores can be shaped to follow a normal curve, and the SAT range of 200–800 is based on a mean of 500 and a standard deviation of 100. Measurement errors in experiments are also often modeled this way, and hydrology uses it for long-term rainfall and river totals. John Ioannidis argued that relying on normal standard deviations to check research can leave falsifiable predictions about non-normal phenomena untested.

Computational methods

The bean machine, a device invented by Francis Galton, can be called the first generator of normal random variables. This machine consists of a vertical board with interleaved rows of pins. Small balls are dropped from the top and then bounce randomly left or right as they hit the pins. The balls are collected into bins at the bottom and settle down into a pattern resembling the Gaussian curve.

In computer simulations, especially those using the Monte-Carlo method, it is often useful to create values that follow a normal distribution. These methods all start from a random number generator that produces evenly spread random numbers. One simple idea uses the probability integral transform, but it needs the probit function, which cannot be worked out exactly, so approximate methods are used instead, as described in Hart (1968) and in the erf article. A quick and easy approach, based on the central limit theorem, adds together 12 random numbers and subtracts 6. The result is close to a normal distribution, but it has a limited range, and its exact shape is an Irwin–Hall distribution. The Box–Muller method uses two independent random numbers that are uniformly spread, and it gives two normal values that are also independent. The Marsaglia polar method is a version of this idea that avoids some harder calculations. The ziggurat algorithm is faster than the Box–Muller method and still exact, because it usually needs only a few simple steps. Some researchers are also studying the Hadamard transform, which uses only addition and subtraction, to turn many kinds of data into normally distributed data.

The standard normal cumulative distribution function is widely used in science and statistics. Its values can be estimated very accurately using numerical integration, Taylor series, asymptotic series and continued fractions. Many researchers have created approximations, including Zelen & Severo (1964), West (2009), and Cody (1969), who used Rational Chebyshev Approximation. Marsaglia (2004) suggested a simple method, though it can be slow. The GNU Scientific Library uses Chebyshev polynomials for its calculations, and Dia (2023) proposed another approximation. Highly accurate approximations based on Response Modeling Methodology are shown in Shore (2005). More approximations can be found at Error function#Approximation with elementary functions.

History

Some authors credit de Moivre with discovering the normal distribution. In 1738 he published, in the second edition of his book The Doctrine of Chances, a study of the numbers in the binomial expansion of (a + b)n. Stigler points out that de Moivre did not see his results as more than a rule for those numbers, and he did not have the idea of a probability density function. In 1823 Gauss published his monograph Theoria combinationis observationum erroribus minimis obnoxiae, in which he introduced the method of least squares, the method of maximum likelihood, and the normal distribution. Gauss showed that the normal law of errors is the rule that supports using the arithmetic mean as the best estimate, and he used it in what is now called the non-linear weighted least squares method.

In 1809, Carl Friedrich Gauss showed that the normal distribution provides a way to rationalize the method of least squares.

Laplace also made important contributions. In 1782 he calculated the value of the integral ∫ e−t2 dt = √π, and Gauss acknowledged his priority. In 1810 Laplace presented the central limit theorem, which showed how important the normal distribution is in theory. In 1809 Robert Adrain published two early but flawed derivations of the normal law, and his work was largely ignored until Abbe brought it back to attention in 1871. In the middle of the 19th century, Maxwell showed that the normal distribution can also appear in nature. Today the concept is usually called the normal distribution or Gaussian distribution. Gauss may have first used the term, and by the late 19th century "normal" was used to mean typical or common. Peirce described "normal" as what would, in the long run, occur under certain circumstances. Around 1900, Pearson made the name popular, though he noted that calling it "normal" could make people think other distributions are "abnormal." Later, Fisher wrote the formula in the form used today, and the term standard normal distribution became common in the 1950s through textbooks by P. G. Hoel and Alexander M. Mood.

Quiz time!

5 questions about Normal distribution

Question 1 of 5

Why do measurement errors often have distributions that are nearly normal?

Pictures

An animated illustration showing how the bell-shaped normal distribution can approximate the binomial distribution when there are many trials.
A portrait painting of Pierre-Simon Laplace, a French scientist who helped develop the nebular hypothesis about how the solar system formed.

Keep exploring

This article is a child-friendly adaptation of the Wikipedia article on Normal distribution, available under CC BY-SA 4.0.

Images from Wikimedia Commons. Tap any image to view credits and license.