Safekipedia

Normal distribution

Adventurer · ages 7–10Adapted 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 kind of continuous probability distribution for a real-valued random variable. Its shape 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 tells how spread out the values are. The standard deviation is a positive number 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. Scientists in the natural and social sciences often use them to describe random variables when the true pattern is 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 also a random variable. As the number of samples grows, its distribution converges to a normal distribution. This is why measurements that come from adding up many separate small effects, such as measurement errors, often have nearly normal distributions.

Normal distributions also have special properties that make them useful for math 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 clearly when the variables are normally distributed.

However, normal distributions are sometimes used wrongly. This happens when the data are not normally distributed. 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 extended to vectors in the multivariate normal distribution and to matrices in the matrix normal distribution.

Definitions

The simplest normal distribution is called the standard normal distribution or unit normal distribution. It 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. Some writers have used the name "standard normal" for other versions too. 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 μ. You can also go the other way, 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. It is one of the special functions whose graph has rotational symmetry. Some writers use precision instead of width. Stigler says this makes formulas simpler. 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 works in the opposite direction to the CDF. 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, because 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 has some special features. It is the only distribution where the cumulants past the first two, the mean and the variance, are all zero. It is symmetric around its mean, and it has values across the whole number line. Because of this, it may not fit things that are always positive or very lopsided, such as a person's weight or the price of a share of stock. These are often better described by the log-normal distribution or the Pareto distribution. The normal curve is almost zero more than a few standard deviations away from the mean. So it may not work well when many outliers are expected. In those cases, a heavy-tailed distribution and robust statistical inference methods are better choices.

The mean, median, and mode of a normal distribution are all at the same central point, and its graph makes a symmetric bell shape. The central limit theorem says that, under certain common conditions, the sum of many random values will be close to a normal distribution. This is why other distributions, such as the binomial distribution and the Poisson distribution, can be approximated by the normal distribution when their numbers are large. These approximations are usually less accurate at the far ends 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 numbers that describe a normal distribution. We can estimate them from a sample. The usual 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 how spread out the data is, and a slightly different version of it is often used. 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. It depends on whether the mean, the variance, or both are unknown. In these cases, new information is combined with what we already knew to update the estimates.

Occurrence and applications

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

The normal distribution shows up 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 periods of time.

Many other fields assume normality, even when it is not exact. In biology, the logarithm of some measurements often follows a normal pattern. This is called a log-normal distribution. In finance, the Black–Scholes model assumes normality, but Benoit Mandelbrot argued that other models may fit better. In standardized testing, scores can be shaped to follow a normal curve. 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. 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.

Computer simulations, especially those using the Monte-Carlo method, often need values that follow a normal distribution. These methods all start with a random number generator, which makes numbers that are spread evenly. One simple idea uses the probability integral transform. That idea needs the probit function, which cannot be worked out exactly, so approximate methods are used instead. You can read about these in Hart (1968) and in the erf article.

A quick and easy method is based on the central limit theorem. It adds together 12 random numbers and then subtracts 6. The result is close to a normal distribution, but its range is limited. Its exact shape is called an Irwin–Hall distribution.

The Box–Muller method uses two independent random numbers that are uniformly spread. 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 is still exact, because it usually needs only a few simple steps. Some researchers are also studying the Hadamard transform. It uses only addition and subtraction, and it can turn many kinds of data into normally distributed data.

The standard normal cumulative distribution function is used a lot 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. These include 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. Very accurate approximations based on Response Modeling Methodology are shown in Shore (2005). You can find more approximations at Error function#Approximation with elementary functions.

History

Some authors give de Moivre credit for discovering the normal distribution. In 1738 he published a study of the numbers in the binomial expansion of (a + b)n. This was in the second edition of his book The Doctrine of Chances. Stigler points out that de Moivre did not see his results as more than a rule for those numbers. He also did not have the idea of a probability density function. In 1823 Gauss published his book Theoria combinationis observationum erroribus minimis obnoxiae. In it he introduced the method of least squares, the method of maximum likelihood, and the normal distribution. Gauss showed that the normal law of errors supports using the arithmetic mean as the best estimate. He also 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 that Laplace had come first. 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 derivations of the normal law. They had flaws, and his work was mostly 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 been the first to use the term. By the late 19th century, "normal" was used to mean typical or common. Peirce described "normal" as what would, in the long run, happen under certain conditions. Around 1900, Pearson made the name popular. He noted, though, that calling it "normal" could make people think other distributions are "abnormal." Later, Fisher wrote the formula in the form used today. The term standard normal distribution became common in the 1950s, through textbooks by P. G. Hoel and Alexander M. Mood.

Quiz time!

4 questions about Normal distribution

Question 1 of 4

What is a normal distribution sometimes informally called?

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.