fbpx
Wikipedia

Normal distribution

In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is

Normal distribution
Probability density function
The red curve is the standard normal distribution
Cumulative distribution function
Notation
Parameters = mean (location)
= variance (squared scale)
Support
PDF
CDF
Quantile
Mean
Median
Mode
Variance
MAD
Skewness
Ex. kurtosis
Entropy
MGF
CF
Fisher information

Kullback-Leibler divergence

The parameter is the mean or expectation of the distribution (and also its median and mode), while the parameter is its standard deviation. The variance of the distribution is . 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 and are often used in the natural and social sciences to represent real-valued random variables whose distributions are not known.[1][2] Their importance is partly due to the central limit theorem. It states that, under some conditions, the average of many samples (observations) of a random variable with finite mean and variance is itself a random variable—whose distribution converges to a normal distribution as the number of samples increases. Therefore, physical quantities that are expected to be the sum of many independent processes, such as measurement errors, often have distributions that are nearly normal.[3]

Moreover, Gaussian distributions have some unique properties that are valuable in analytic studies. For instance, any linear combination of a fixed collection of normal deviates is a normal deviate. Many results and methods, such as propagation of uncertainty and least squares parameter fitting, can be derived analytically in explicit form when the relevant variables are normally distributed.

A normal distribution is sometimes informally called a bell curve.[4] However, many other distributions are bell-shaped (such as the Cauchy, Student's t, and logistic distributions). For other names, see Naming.

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

Definitions

Standard normal distribution

The simplest case of a normal distribution is known as the standard normal distribution or unit normal distribution. This is a special case when   and  , and it is described by this probability density function (or density):

 

The variable   has a mean of 0 and a variance and standard deviation of 1. The density   has its peak   at   and inflection points at   and  .

Although the density above is most commonly known as the standard normal, a few authors have used that term to describe other versions of the normal distribution. Carl Friedrich Gauss, for example, once defined the standard normal as

 

which has a variance of 1/2, and Stephen Stigler[5] once defined the standard normal as

 

which has a simple functional form and a variance of  

General normal distribution

Every normal distribution is a version of the standard normal distribution, whose domain has been stretched by a factor   (the standard deviation) and then translated by   (the mean value):

 

The probability density must be scaled by   so that the integral is still 1.

If   is a standard normal deviate, then   will have a normal distribution with expected value   and standard deviation  . This is equivalent to saying that the "standard" normal distribution   can be scaled/stretched by a factor of   and shifted by   to yield a different normal distribution, called  . Conversely, if   is a normal deviate with parameters   and  , then this   distribution can be re-scaled and shifted via the formula   to convert it to the "standard" normal distribution. This variate is also called the standardized form of  .

Notation

The probability density of the standard Gaussian distribution (standard normal distribution, with zero mean and unit variance) is often denoted with the Greek letter   (phi).[6] The alternative form of the Greek letter phi,  , is also used quite often.

The normal distribution is often referred to as   or  .[7] Thus when a random variable   is normally distributed with mean   and standard deviation  , one may write

 

Alternative parameterizations

Some authors advocate using the precision   as the parameter defining the width of the distribution, instead of the deviation   or the variance  . The precision is normally defined as the reciprocal of the variance,  .[8] The formula for the distribution then becomes

 

This choice is claimed to have advantages in numerical computations when   is very close to zero, and simplifies formulas in some contexts, such as in the Bayesian inference of variables with multivariate normal distribution.

Alternatively, the reciprocal of the standard deviation   might be defined as the precision, in which case the expression of the normal distribution becomes

 

According to Stigler, this formulation is advantageous because of a much simpler and easier-to-remember formula, and simple approximate formulas for the quantiles of the distribution.

Normal distributions form an exponential family with natural parameters   and  , and natural statistics x and x2. The dual expectation parameters for normal distribution are η1 = μ and η2 = μ2 + σ2.

Cumulative distribution functions

The cumulative distribution function (CDF) of the standard normal distribution, usually denoted with the capital Greek letter   (phi), is the integral

 

The related error function   gives the probability of a random variable, with normal distribution of mean 0 and variance 1/2 falling in the range  . That is:

 

These integrals cannot be expressed in terms of elementary functions, and are often said to be special functions. However, many numerical approximations are known; see below for more.

The two functions are closely related, namely

 

For a generic normal distribution with density  , mean   and deviation  , the cumulative distribution function is

 

The complement of the standard normal CDF,  , is often called the Q-function, especially in engineering texts.[9][10] It gives the probability that the value of a standard normal random variable   will exceed  :  . Other definitions of the  -function, all of which are simple transformations of  , are also used occasionally.[11]

The graph of the standard normal CDF   has 2-fold rotational symmetry around the point (0,1/2); that is,  . Its antiderivative (indefinite integral) can be expressed as follows:

 

The CDF of the standard normal distribution can be expanded by Integration by parts into a series:

 

where   denotes the double factorial.

An asymptotic expansion of the CDF for large x can also be derived using integration by parts. For more, see Error function#Asymptotic expansion.[12]

A quick approximation to the standard normal distribution's CDF can be found by using a Taylor series approximation:

 

Standard deviation and coverage

 
For the normal distribution, the values less than one standard deviation away 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%.

About 68% of values drawn from a normal distribution are within one standard deviation σ away from the mean; about 95% of the values lie within two standard deviations; and about 99.7% are within three standard deviations.[4] This fact is known as the 68-95-99.7 (empirical) rule, or the 3-sigma rule.

More precisely, the probability that a normal deviate lies in the range between   and   is given by

 

To 12 significant digits, the values for   are:[citation needed]

        OEIS
1 0.682689492137 0.317310507863
3 .15148718753
OEISA178647
2 0.954499736104 0.045500263896
21 .9778945080
OEISA110894
3 0.997300203937 0.002699796063
370 .398347345
OEISA270712
4 0.999936657516 0.000063342484
15787 .1927673
5 0.999999426697 0.000000573303
1744277 .89362
6 0.999999998027 0.000000001973
506797345 .897

For large  , one can use the approximation  .

Quantile function

The quantile function of a distribution is the inverse of the cumulative distribution function. The quantile function of the standard normal distribution is called the probit function, and can be expressed in terms of the inverse error function:

 

For a normal random variable with mean   and variance  , the quantile function is

 

The quantile   of the standard normal distribution is commonly denoted as  . These values are used in hypothesis testing, construction of confidence intervals and Q–Q plots. A normal random variable   will exceed   with probability  , and will lie outside the interval   with probability  . In particular, the quantile   is 1.96; therefore a normal random variable will lie outside the interval   in only 5% of cases.

The following table gives the quantile   such that   will lie in the range   with a specified probability  . These values are useful to determine tolerance interval for sample averages and other statistical estimators with normal (or asymptotically normal) distributions.[citation needed] Note that the following table shows  , not   as defined above.

         
0.80 1.281551565545 0.999 3.290526731492
0.90 1.644853626951 0.9999 3.890591886413
0.95 1.959963984540 0.99999 4.417173413469
0.98 2.326347874041 0.999999 4.891638475699
0.99 2.575829303549 0.9999999 5.326723886384
0.995 2.807033768344 0.99999999 5.730728868236
0.998 3.090232306168 0.999999999 6.109410204869

For small  , the quantile function has the useful asymptotic expansion  [13]

Properties

The normal distribution is the only distribution whose cumulants beyond the first two (i.e., other than the mean and variance) are zero. It is also the continuous distribution with the maximum entropy for a specified mean and variance.[14][15] Geary has shown, assuming that the mean and variance are finite, that the normal distribution is the only distribution where the mean and variance calculated from a set of independent draws are independent of each other.[16][17]

The normal distribution is a subclass of the elliptical distributions. The normal distribution is symmetric about its mean, and is non-zero over the entire real line. As such it may not be a suitable model for variables that are inherently positive or strongly skewed, such as the weight of a person or the price of a share. Such variables may be better described by other distributions, such as the log-normal distribution or the Pareto distribution.

The value of the normal distribution is practically zero when the value   lies more than a few standard deviations away from the mean (e.g., a spread of three standard deviations covers all but 0.27% of the total distribution). Therefore, it may not be an appropriate model when one expects a significant fraction of outliers—values that lie many standard deviations away from the mean—and least squares and other statistical inference methods that are optimal for normally distributed variables often become highly unreliable when applied to such data. In those cases, a more heavy-tailed distribution should be assumed and the appropriate robust statistical inference methods applied.

The Gaussian distribution belongs to the family of stable distributions which are the attractors of sums of independent, identically distributed distributions whether or not the mean or variance is finite. Except for the Gaussian which is a limiting case, all stable distributions have heavy tails and infinite variance. It is one of the few distributions that are stable and that have probability density functions that can be expressed analytically, the others being the Cauchy distribution and the Lévy distribution.

Symmetries and derivatives

The normal distribution with density   (mean   and standard deviation  ) has the following properties:

  • It is symmetric around the point   which is at the same time the mode, the median and the mean of the distribution.[18]
  • It is unimodal: its first derivative is positive for   negative for   and zero only at  
  • The area bounded by the curve and the  -axis is unity (i.e. equal to one).
  • Its first derivative is  
  • Its density has two inflection points (where the second derivative of   is zero and changes sign), located one standard deviation away from the mean, namely at   and  [18]
  • Its density is log-concave.[18]
  • Its density is infinitely differentiable, indeed supersmooth of order 2.[19]

Furthermore, the density   of the standard normal distribution (i.e.   and  ) also has the following properties:

  • Its first derivative is  
  • Its second derivative is  
  • More generally, its nth derivative is   where   is the nth (probabilist) Hermite polynomial.[20]
  • The probability that a normally distributed variable   with known   and   is in a particular set, can be calculated by using the fact that the fraction   has a standard normal distribution.

Moments

The plain and absolute moments of a variable   are the expected values of   and  , respectively. If the expected value   of   is zero, these parameters are called central moments; otherwise, these parameters are called non-central moments. Usually we are interested only in moments with integer order  .

If   has a normal distribution, the non-central moments exist and are finite for any   whose real part is greater than −1. For any non-negative integer  , the plain central moments are:[21]

 

Here   denotes the double factorial, that is, the product of all numbers from   to 1 that have the same parity as  

The central absolute moments coincide with plain moments for all even orders, but are nonzero for odd orders. For any non-negative integer  

 

The last formula is valid also for any non-integer   When the mean   the plain and absolute moments can be expressed in terms of confluent hypergeometric functions   and  [citation needed]

 

These expressions remain valid even if   is not an integer. See also generalized Hermite polynomials.

Order Non-central moment Central moment
1    
2    
3    
4    
5    
6    
7    
8    

The expectation of   conditioned on the event that   lies in an interval   is given by

 

where   and   respectively are the density and the cumulative distribution function of  . For   this is known as the inverse Mills ratio. Note that above, density   of   is used instead of standard normal density as in inverse Mills ratio, so here we have   instead of  .

Fourier transform and characteristic function

The Fourier transform of a normal density   with mean   and standard deviation   is[22]

 

where   is the imaginary unit. If the mean  , the first factor is 1, and the Fourier transform is, apart from a constant factor, a normal density on the frequency domain, with mean 0 and standard deviation  . In particular, the standard normal distribution   is an eigenfunction of the Fourier transform.

In probability theory, the Fourier transform of the probability distribution of a real-valued random variable   is closely connected to the characteristic function   of that variable, which is defined as the expected value of  , as a function of the real variable   (the frequency parameter of the Fourier transform). This definition can be analytically extended to a complex-value variable  .[23] The relation between both is:

 

Moment and cumulant generating functions

The moment generating function of a real random variable   is the expected value of  , as a function of the real parameter  . For a normal distribution with density  , mean   and deviation  , the moment generating function exists and is equal to

 

The cumulant generating function is the logarithm of the moment generating function, namely

 

Since this is a quadratic polynomial in  , only the first two cumulants are nonzero, namely the mean   and the variance  .

Stein operator and class

Within Stein's method the Stein operator and class of a random variable   are   and   the class of all absolutely continuous functions  .

Zero-variance limit

In the limit when   tends to zero, the probability density   eventually tends to zero at any  , but grows without limit if  , while its integral remains equal to 1. Therefore, the normal distribution cannot be defined as an ordinary function when  .

However, one can define the normal distribution with zero variance as a generalized function; specifically, as Dirac's "delta function"   translated by the mean  , that is   Its CDF is then the Heaviside step function translated by the mean  , namely

 

Maximum entropy

Of all probability distributions over the reals with a specified mean   and variance  , the normal distribution   is the one with maximum entropy.[24] If   is a continuous random variable with probability density  , then the entropy of   is defined as[25][26][27]

 

where   is understood to be zero whenever  . This functional can be maximized, subject to the constraints that the distribution is properly normalized and has a specified variance, by using variational calculus. A function with two Lagrange multipliers is defined:

 

where   is, for now, regarded as some density function with mean   and standard deviation  .

At maximum entropy, a small variation   about   will produce a variation   about   which is equal to 0:

 

Since this must hold for any small  , the term in brackets must be zero, and solving for   yields:

 

Using the constraint equations to solve for   and   yields the density of the normal distribution:

 

The entropy of a normal distribution is equal to

 

Other properties

  1. If the characteristic function   of some random variable   is of the form  , where   is a polynomial, then the Marcinkiewicz theorem (named after Józef Marcinkiewicz) asserts that   can be at most a quadratic polynomial, and therefore   is a normal random variable.[28] The consequence of this result is that the normal distribution is the only distribution with a finite number (two) of non-zero cumulants.
  2. If   and   are jointly normal and uncorrelated, then they are independent. The requirement that   and   should be jointly normal is essential; without it the property does not hold.[29][30][proof] For non-normal random variables uncorrelatedness does not imply independence.
  3. The Kullback–Leibler divergence of one normal distribution   from another   is given by:[31]
     
    The Hellinger distance between the same distributions is equal to
     
  4. The Fisher information matrix for a normal distribution w.r.t.   and   is diagonal and takes the form
     
  5. The conjugate prior of the mean of a normal distribution is another normal distribution.[32] Specifically, if   are iid   and the prior is  , then the posterior distribution for the estimator of   will be
     
  6. The family of normal distributions not only forms an exponential family (EF), but in fact forms a natural exponential family (NEF) with quadratic variance function (NEF-QVF). Many properties of normal distributions generalize to properties of NEF-QVF distributions, NEF distributions, or EF distributions generally. NEF-QVF distributions comprises 6 families, including Poisson, Gamma, binomial, and negative binomial distributions, while many of the common families studied in probability and statistics are NEF or EF.
  7. In information geometry, the family of normal distributions forms a statistical manifold with constant curvature  . The same family is flat with respect to the (±1)-connections   and  .[33]

Related distributions

Central limit theorem

 
As the number of discrete events increases, the function begins to resemble a normal distribution
 
Comparison of probability density functions,   for the sum of   fair 6-sided dice to show their convergence to a normal distribution with increasing  , 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).

The central limit theorem states that under certain (fairly common) conditions, the sum of many random variables will have an approximately normal distribution. More specifically, where   are independent and identically distributed random variables with the same arbitrary distribution, zero mean, and variance   and   is their mean scaled by  

 

Then, as   increases, the probability distribution of   will tend to the normal distribution with zero mean and variance  .

The theorem can be extended to variables   that are not independent and/or not identically distributed if certain constraints are placed on the degree of dependence and the moments of the distributions.

Many test statistics, scores, and estimators encountered in practice contain sums of certain random variables in them, and even more estimators can be represented as sums of random variables through the use of influence functions. The central limit theorem implies that those statistical parameters will have asymptotically normal distributions.

The central limit theorem also implies that certain distributions can be approximated by the normal distribution, for example:

  • The binomial distribution   is approximately normal with mean   and variance   for large   and for   not too close to 0 or 1.
  • The Poisson distribution with parameter   is approximately normal with mean   and variance  , for large values of  .[34]
  • The chi-squared distribution   is approximately normal with mean   and variance  , for large  .
  • The Student's t-distribution   is approximately normal with mean 0 and variance 1 when   is large.

Whether these approximations are sufficiently accurate depends on the purpose for which they are needed, and the rate of convergence to the normal distribution. It is typically the case that such approximations are less accurate in the tails of the distribution.

A general upper bound for the approximation error in the central limit theorem is given by the Berry–Esseen theorem, improvements of the approximation are given by the Edgeworth expansions.

This theorem can also be used to justify modeling the sum of many uniform noise sources as Gaussian noise. See AWGN.

Operations and functions of normal variables

 
a: Probability density of a function   of a normal variable   with   and  . b: Probability density of a function   of two normal variables   and  , where  ,  ,  ,  , and  . c: Heat map of the joint probability density of two functions of two correlated normal variables   and  , where  ,  ,  ,  , and  . d: Probability density of a function   of 4 iid standard normal variables. These are computed by the numerical method of ray-tracing.[35]

The probability density, cumulative distribution, and inverse cumulative distribution of any function of one or more independent or correlated normal variables can be computed with the numerical method of ray-tracing[35] (Matlab code). In the following sections we look at some special cases.

Operations on a single normal variable

If   is distributed normally with mean   and variance  , then

  •  , for any real numbers   and  , is also normally distributed, with mean   and standard deviation  . That is, the family of normal distributions is closed under linear transformations.
  • The exponential of   is distributed log-normally: eX ~ ln(N (μ, σ2)).
  • The absolute value of   has folded normal distribution: |X| ~ Nf (μ, σ2). If   this is known as the half-normal distribution.
  • The absolute value of normalized residuals, |Xμ|/σ, has chi distribution with one degree of freedom:  .
  • The square of X/σ has the noncentral chi-squared distribution with one degree of freedom:  . If  , the distribution is called simply chi-squared.
  • The log likelihood of a normal variable
normal, distribution, bell, curve, redirects, here, other, uses, bell, curve, disambiguation, statistics, normal, distribution, gaussian, distribution, type, continuous, probability, distribution, real, valued, random, variable, general, form, probability, den. Bell curve redirects here For other uses see Bell curve disambiguation In statistics a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real valued random variable The general form of its probability density function isNormal distributionProbability density functionThe red curve is the standard normal distributionCumulative distribution functionNotationN m s 2 displaystyle mathcal N mu sigma 2 Parametersm R displaystyle mu in mathbb R mean location s 2 R gt 0 displaystyle sigma 2 in mathbb R gt 0 variance squared scale Supportx R displaystyle x in mathbb R PDF1 s 2 p e 1 2 x m s 2 displaystyle frac 1 sigma sqrt 2 pi e frac 1 2 left frac x mu sigma right 2 CDF1 2 1 erf x m s 2 displaystyle frac 1 2 left 1 operatorname erf left frac x mu sigma sqrt 2 right right Quantilem s 2 erf 1 2 p 1 displaystyle mu sigma sqrt 2 operatorname erf 1 2p 1 Meanm displaystyle mu Medianm displaystyle mu Modem displaystyle mu Variances 2 displaystyle sigma 2 MADs 2 p displaystyle sigma sqrt 2 pi Skewness0 displaystyle 0 Ex kurtosis0 displaystyle 0 Entropy1 2 ln 2 p s 2 1 2 displaystyle frac 1 2 ln 2 pi sigma 2 frac 1 2 MGFexp m t s 2 t 2 2 displaystyle exp mu t sigma 2 t 2 2 CFexp i m t s 2 t 2 2 displaystyle exp i mu t sigma 2 t 2 2 Fisher informationI m s 1 s 2 0 0 2 s 2 displaystyle mathcal I mu sigma begin pmatrix 1 sigma 2 amp 0 0 amp 2 sigma 2 end pmatrix I m s 2 1 s 2 0 0 1 2 s 4 displaystyle mathcal I mu sigma 2 begin pmatrix 1 sigma 2 amp 0 0 amp 1 2 sigma 4 end pmatrix Kullback Leibler divergence1 2 s 0 s 1 2 m 1 m 0 2 s 1 2 1 ln s 1 2 s 0 2 displaystyle 1 over 2 left left frac sigma 0 sigma 1 right 2 frac mu 1 mu 0 2 sigma 1 2 1 ln sigma 1 2 over sigma 0 2 right f x 1 s 2 p e 1 2 x m s 2 displaystyle f x frac 1 sigma sqrt 2 pi e frac 1 2 left frac x mu sigma right 2 The parameter m displaystyle mu is the mean or expectation of the distribution and also its median and mode while the parameter s displaystyle sigma is its standard deviation The variance of the distribution is s 2 displaystyle sigma 2 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 and are often used in the natural and social sciences to represent real valued random variables whose distributions are not known 1 2 Their importance is partly due to the central limit theorem It states that under some conditions the average of many samples observations of a random variable with finite mean and variance is itself a random variable whose distribution converges to a normal distribution as the number of samples increases Therefore physical quantities that are expected to be the sum of many independent processes such as measurement errors often have distributions that are nearly normal 3 Moreover Gaussian distributions have some unique properties that are valuable in analytic studies For instance any linear combination of a fixed collection of normal deviates is a normal deviate Many results and methods such as propagation of uncertainty and least squares parameter fitting can be derived analytically in explicit form when the relevant variables are normally distributed A normal distribution is sometimes informally called a bell curve 4 However many other distributions are bell shaped such as the Cauchy Student s t and logistic distributions For other names see Naming The univariate probability distribution is generalized for vectors in the multivariate normal distribution and for matrices in the matrix normal distribution Contents 1 Definitions 1 1 Standard normal distribution 1 2 General normal distribution 1 3 Notation 1 4 Alternative parameterizations 1 5 Cumulative distribution functions 1 5 1 Standard deviation and coverage 1 5 2 Quantile function 2 Properties 2 1 Symmetries and derivatives 2 2 Moments 2 3 Fourier transform and characteristic function 2 4 Moment and cumulant generating functions 2 5 Stein operator and class 2 6 Zero variance limit 2 7 Maximum entropy 2 8 Other properties 3 Related distributions 3 1 Central limit theorem 3 2 Operations and functions of normal variables 3 2 1 Operations on a single normal variable 3 2 1 1 Operations on two independent normal variables 3 2 1 2 Operations on two independent standard normal variables 3 2 2 Operations on multiple independent normal variables 3 2 3 Operations on multiple correlated normal variables 3 3 Operations on the density function 3 4 Infinite divisibility and Cramer s theorem 3 5 Bernstein s theorem 3 6 Extensions 4 Statistical inference 4 1 Estimation of parameters 4 1 1 Sample mean 4 1 2 Sample variance 4 2 Confidence intervals 4 3 Normality tests 4 4 Bayesian analysis of the normal distribution 4 4 1 Sum of two quadratics 4 4 1 1 Scalar form 4 4 1 2 Vector form 4 4 2 Sum of differences from the mean 4 5 With known variance 4 5 1 With known mean 4 5 2 With unknown mean and unknown variance 5 Occurrence and applications 5 1 Exact normality 5 2 Approximate normality 5 3 Assumed normality 5 4 Methodological problems and peer review 6 Computational methods 6 1 Generating values from normal distribution 6 2 Numerical approximations for the normal CDF and normal quantile function 7 History 7 1 Development 7 2 Naming 8 See also 9 Notes 10 References 10 1 Citations 10 2 Sources 11 External linksDefinitions EditStandard normal distribution Edit The simplest case of a normal distribution is known as the standard normal distribution or unit normal distribution This is a special case when m 0 displaystyle mu 0 and s 1 displaystyle sigma 1 and it is described by this probability density function or density f z e z 2 2 2 p displaystyle varphi z frac e z 2 2 sqrt 2 pi The variable z displaystyle z has a mean of 0 and a variance and standard deviation of 1 The density f z displaystyle varphi z has its peak 1 2 p displaystyle 1 sqrt 2 pi at z 0 displaystyle z 0 and inflection points at z 1 displaystyle z 1 and z 1 displaystyle z 1 Although the density above is most commonly known as the standard normal a few authors have used that term to describe other versions of the normal distribution Carl Friedrich Gauss for example once defined the standard normal as f z e z 2 p displaystyle varphi z frac e z 2 sqrt pi which has a variance of 1 2 and Stephen Stigler 5 once defined the standard normal as f z e p z 2 displaystyle varphi z e pi z 2 which has a simple functional form and a variance of s 2 1 2 p displaystyle sigma 2 1 2 pi General normal distribution Edit Every normal distribution is a version of the standard normal distribution whose domain has been stretched by a factor s displaystyle sigma the standard deviation and then translated by m displaystyle mu the mean value f x m s 2 1 s f x m s displaystyle f x mid mu sigma 2 frac 1 sigma varphi left frac x mu sigma right The probability density must be scaled by 1 s displaystyle 1 sigma so that the integral is still 1 If Z displaystyle Z is a standard normal deviate then X s Z m displaystyle X sigma Z mu will have a normal distribution with expected value m displaystyle mu and standard deviation s displaystyle sigma This is equivalent to saying that the standard normal distribution Z displaystyle Z can be scaled stretched by a factor of s displaystyle sigma and shifted by m displaystyle mu to yield a different normal distribution called X displaystyle X Conversely if X displaystyle X is a normal deviate with parameters m displaystyle mu and s 2 displaystyle sigma 2 then this X displaystyle X distribution can be re scaled and shifted via the formula Z X m s displaystyle Z X mu sigma to convert it to the standard normal distribution This variate is also called the standardized form of X displaystyle X Notation Edit The probability density of the standard Gaussian distribution standard normal distribution with zero mean and unit variance is often denoted with the Greek letter ϕ displaystyle phi phi 6 The alternative form of the Greek letter phi f displaystyle varphi is also used quite often The normal distribution is often referred to as N m s 2 displaystyle N mu sigma 2 or N m s 2 displaystyle mathcal N mu sigma 2 7 Thus when a random variable X displaystyle X is normally distributed with mean m displaystyle mu and standard deviation s displaystyle sigma one may write X N m s 2 displaystyle X sim mathcal N mu sigma 2 Alternative parameterizations Edit Some authors advocate using the precision t displaystyle tau as the parameter defining the width of the distribution instead of the deviation s displaystyle sigma or the variance s 2 displaystyle sigma 2 The precision is normally defined as the reciprocal of the variance 1 s 2 displaystyle 1 sigma 2 8 The formula for the distribution then becomes f x t 2 p e t x m 2 2 displaystyle f x sqrt frac tau 2 pi e tau x mu 2 2 This choice is claimed to have advantages in numerical computations when s displaystyle sigma is very close to zero and simplifies formulas in some contexts such as in the Bayesian inference of variables with multivariate normal distribution Alternatively the reciprocal of the standard deviation t 1 s displaystyle tau prime 1 sigma might be defined as the precision in which case the expression of the normal distribution becomes f x t 2 p e t 2 x m 2 2 displaystyle f x frac tau prime sqrt 2 pi e tau prime 2 x mu 2 2 According to Stigler this formulation is advantageous because of a much simpler and easier to remember formula and simple approximate formulas for the quantiles of the distribution Normal distributions form an exponential family with natural parameters 8 1 m s 2 displaystyle textstyle theta 1 frac mu sigma 2 and 8 2 1 2 s 2 displaystyle textstyle theta 2 frac 1 2 sigma 2 and natural statistics x and x2 The dual expectation parameters for normal distribution are h1 m and h2 m2 s2 Cumulative distribution functions Edit The cumulative distribution function CDF of the standard normal distribution usually denoted with the capital Greek letter F displaystyle Phi phi is the integral F x 1 2 p x e t 2 2 d t displaystyle Phi x frac 1 sqrt 2 pi int infty x e t 2 2 dt The related error function erf x displaystyle operatorname erf x gives the probability of a random variable with normal distribution of mean 0 and variance 1 2 falling in the range x x displaystyle x x That is erf x 2 p 0 x e t 2 d t displaystyle operatorname erf x frac 2 sqrt pi int 0 x e t 2 dt These integrals cannot be expressed in terms of elementary functions and are often said to be special functions However many numerical approximations are known see below for more The two functions are closely related namely F x 1 2 1 erf x 2 displaystyle Phi x frac 1 2 left 1 operatorname erf left frac x sqrt 2 right right For a generic normal distribution with density f displaystyle f mean m displaystyle mu and deviation s displaystyle sigma the cumulative distribution function is F x F x m s 1 2 1 erf x m s 2 displaystyle F x Phi left frac x mu sigma right frac 1 2 left 1 operatorname erf left frac x mu sigma sqrt 2 right right The complement of the standard normal CDF Q x 1 F x displaystyle Q x 1 Phi x is often called the Q function especially in engineering texts 9 10 It gives the probability that the value of a standard normal random variable X displaystyle X will exceed x displaystyle x P X gt x displaystyle P X gt x Other definitions of the Q displaystyle Q function all of which are simple transformations of F displaystyle Phi are also used occasionally 11 The graph of the standard normal CDF F displaystyle Phi has 2 fold rotational symmetry around the point 0 1 2 that is F x 1 F x displaystyle Phi x 1 Phi x Its antiderivative indefinite integral can be expressed as follows F x d x x F x f x C displaystyle int Phi x dx x Phi x varphi x C The CDF of the standard normal distribution can be expanded by Integration by parts into a series F x 1 2 1 2 p e x 2 2 x x 3 3 x 5 3 5 x 2 n 1 2 n 1 displaystyle Phi x frac 1 2 frac 1 sqrt 2 pi cdot e x 2 2 left x frac x 3 3 frac x 5 3 cdot 5 cdots frac x 2n 1 2n 1 cdots right where displaystyle denotes the double factorial An asymptotic expansion of the CDF for large x can also be derived using integration by parts For more see Error function Asymptotic expansion 12 A quick approximation to the standard normal distribution s CDF can be found by using a Taylor series approximation F x 1 2 1 2 p k 0 n 1 k x 2 k 1 2 k k 2 k 1 displaystyle Phi x approx frac 1 2 frac 1 sqrt 2 pi sum k 0 n frac left 1 right k x left 2k 1 right 2 k k left 2k 1 right Standard deviation and coverage Edit Further information Interval estimation and Coverage probability For the normal distribution the values less than one standard deviation away 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 About 68 of values drawn from a normal distribution are within one standard deviation s away from the mean about 95 of the values lie within two standard deviations and about 99 7 are within three standard deviations 4 This fact is known as the 68 95 99 7 empirical rule or the 3 sigma rule More precisely the probability that a normal deviate lies in the range between m n s displaystyle mu n sigma and m n s displaystyle mu n sigma is given by F m n s F m n s F n F n erf n 2 displaystyle F mu n sigma F mu n sigma Phi n Phi n operatorname erf left frac n sqrt 2 right To 12 significant digits the values for n 1 2 6 displaystyle n 1 2 ldots 6 are citation needed n displaystyle n p F m n s F m n s displaystyle p F mu n sigma F mu n sigma i e 1 p displaystyle text i e 1 p or 1 in p displaystyle text or 1 text in p OEIS1 0 682689 492 137 0 317310 507 863 3 151487 187 53 OEIS A1786472 0 954499 736 104 0 045500 263 896 21 977894 5080 OEIS A1108943 0 997300 203 937 0 002699 796 063 370 398347 345 OEIS A2707124 0 999936 657 516 0 000063 342 484 15787 19276735 0 999999 426 697 0 000000 573 303 1744 277 893626 0 999999 998 027 0 000000 001 973 506797 345 897For large n displaystyle n one can use the approximation 1 p e n 2 2 n p 2 displaystyle 1 p approx frac e n 2 2 n sqrt pi 2 Quantile function Edit Further information Quantile function Normal distribution The quantile function of a distribution is the inverse of the cumulative distribution function The quantile function of the standard normal distribution is called the probit function and can be expressed in terms of the inverse error function F 1 p 2 erf 1 2 p 1 p 0 1 displaystyle Phi 1 p sqrt 2 operatorname erf 1 2p 1 quad p in 0 1 For a normal random variable with mean m displaystyle mu and variance s 2 displaystyle sigma 2 the quantile function is F 1 p m s F 1 p m s 2 erf 1 2 p 1 p 0 1 displaystyle F 1 p mu sigma Phi 1 p mu sigma sqrt 2 operatorname erf 1 2p 1 quad p in 0 1 The quantile F 1 p displaystyle Phi 1 p of the standard normal distribution is commonly denoted as z p displaystyle z p These values are used in hypothesis testing construction of confidence intervals and Q Q plots A normal random variable X displaystyle X will exceed m z p s displaystyle mu z p sigma with probability 1 p displaystyle 1 p and will lie outside the interval m z p s displaystyle mu pm z p sigma with probability 2 1 p displaystyle 2 1 p In particular the quantile z 0 975 displaystyle z 0 975 is 1 96 therefore a normal random variable will lie outside the interval m 1 96 s displaystyle mu pm 1 96 sigma in only 5 of cases The following table gives the quantile z p displaystyle z p such that X displaystyle X will lie in the range m z p s displaystyle mu pm z p sigma with a specified probability p displaystyle p These values are useful to determine tolerance interval for sample averages and other statistical estimators with normal or asymptotically normal distributions citation needed Note that the following table shows 2 erf 1 p F 1 p 1 2 displaystyle sqrt 2 operatorname erf 1 p Phi 1 left frac p 1 2 right not F 1 p displaystyle Phi 1 p as defined above p displaystyle p z p displaystyle z p p displaystyle p z p displaystyle z p 0 80 1 281551 565 545 0 999 3 290526 731 4920 90 1 644853 626 951 0 9999 3 890591 886 4130 95 1 959963 984 540 0 99999 4 417173 413 4690 98 2 326347 874 041 0 999999 4 891638 475 6990 99 2 575829 303 549 0 9999999 5 326723 886 3840 995 2 807033 768 344 0 99999999 5 730728 868 2360 998 3 090232 306 168 0 999999999 6 109410 204 869For small p displaystyle p the quantile function has the useful asymptotic expansion F 1 p ln 1 p 2 ln ln 1 p 2 ln 2 p o 1 displaystyle Phi 1 p sqrt ln frac 1 p 2 ln ln frac 1 p 2 ln 2 pi mathcal o 1 13 Properties EditThe normal distribution is the only distribution whose cumulants beyond the first two i e other than the mean and variance are zero It is also the continuous distribution with the maximum entropy for a specified mean and variance 14 15 Geary has shown assuming that the mean and variance are finite that the normal distribution is the only distribution where the mean and variance calculated from a set of independent draws are independent of each other 16 17 The normal distribution is a subclass of the elliptical distributions The normal distribution is symmetric about its mean and is non zero over the entire real line As such it may not be a suitable model for variables that are inherently positive or strongly skewed such as the weight of a person or the price of a share Such variables may be better described by other distributions such as the log normal distribution or the Pareto distribution The value of the normal distribution is practically zero when the value x displaystyle x lies more than a few standard deviations away from the mean e g a spread of three standard deviations covers all but 0 27 of the total distribution Therefore it may not be an appropriate model when one expects a significant fraction of outliers values that lie many standard deviations away from the mean and least squares and other statistical inference methods that are optimal for normally distributed variables often become highly unreliable when applied to such data In those cases a more heavy tailed distribution should be assumed and the appropriate robust statistical inference methods applied The Gaussian distribution belongs to the family of stable distributions which are the attractors of sums of independent identically distributed distributions whether or not the mean or variance is finite Except for the Gaussian which is a limiting case all stable distributions have heavy tails and infinite variance It is one of the few distributions that are stable and that have probability density functions that can be expressed analytically the others being the Cauchy distribution and the Levy distribution Symmetries and derivatives Edit The normal distribution with density f x displaystyle f x mean m displaystyle mu and standard deviation s gt 0 displaystyle sigma gt 0 has the following properties It is symmetric around the point x m displaystyle x mu which is at the same time the mode the median and the mean of the distribution 18 It is unimodal its first derivative is positive for x lt m displaystyle x lt mu negative for x gt m displaystyle x gt mu and zero only at x m displaystyle x mu The area bounded by the curve and the x displaystyle x axis is unity i e equal to one Its first derivative is f x x m s 2 f x displaystyle f prime x frac x mu sigma 2 f x Its density has two inflection points where the second derivative of f displaystyle f is zero and changes sign located one standard deviation away from the mean namely at x m s displaystyle x mu sigma and x m s displaystyle x mu sigma 18 Its density is log concave 18 Its density is infinitely differentiable indeed supersmooth of order 2 19 Furthermore the density f displaystyle varphi of the standard normal distribution i e m 0 displaystyle mu 0 and s 1 displaystyle sigma 1 also has the following properties Its first derivative is f x x f x displaystyle varphi prime x x varphi x Its second derivative is f x x 2 1 f x displaystyle varphi prime prime x x 2 1 varphi x More generally its n th derivative is f n x 1 n He n x f x displaystyle varphi n x 1 n operatorname He n x varphi x where He n x displaystyle operatorname He n x is the n th probabilist Hermite polynomial 20 The probability that a normally distributed variable X displaystyle X with known m displaystyle mu and s displaystyle sigma is in a particular set can be calculated by using the fact that the fraction Z X m s displaystyle Z X mu sigma has a standard normal distribution Moments Edit See also List of integrals of Gaussian functions The plain and absolute moments of a variable X displaystyle X are the expected values of X p displaystyle X p and X p displaystyle X p respectively If the expected value m displaystyle mu of X displaystyle X is zero these parameters are called central moments otherwise these parameters are called non central moments Usually we are interested only in moments with integer order p displaystyle p If X displaystyle X has a normal distribution the non central moments exist and are finite for any p displaystyle p whose real part is greater than 1 For any non negative integer p displaystyle p the plain central moments are 21 E X m p 0 if p is odd s p p 1 if p is even displaystyle operatorname E left X mu p right begin cases 0 amp text if p text is odd sigma p p 1 amp text if p text is even end cases Here n displaystyle n denotes the double factorial that is the product of all numbers from n displaystyle n to 1 that have the same parity as n displaystyle n The central absolute moments coincide with plain moments for all even orders but are nonzero for odd orders For any non negative integer p displaystyle p E X m p s p p 1 2 p if p is odd 1 if p is even s p 2 p 2 G p 1 2 p displaystyle begin aligned operatorname E left X mu p right amp sigma p p 1 cdot begin cases sqrt frac 2 pi amp text if p text is odd 1 amp text if p text is even end cases amp sigma p cdot frac 2 p 2 Gamma left frac p 1 2 right sqrt pi end aligned The last formula is valid also for any non integer p gt 1 displaystyle p gt 1 When the mean m 0 displaystyle mu neq 0 the plain and absolute moments can be expressed in terms of confluent hypergeometric functions 1 F 1 displaystyle 1 F 1 and U displaystyle U citation needed E X p s p i 2 p U p 2 1 2 1 2 m s 2 E X p s p 2 p 2 G 1 p 2 p 1 F 1 p 2 1 2 1 2 m s 2 displaystyle begin aligned operatorname E left X p right amp sigma p cdot i sqrt 2 p U left frac p 2 frac 1 2 frac 1 2 left frac mu sigma right 2 right operatorname E left X p right amp sigma p cdot 2 p 2 frac Gamma left frac 1 p 2 right sqrt pi 1 F 1 left frac p 2 frac 1 2 frac 1 2 left frac mu sigma right 2 right end aligned These expressions remain valid even if p displaystyle p is not an integer See also generalized Hermite polynomials Order Non central moment Central moment1 m displaystyle mu 0 displaystyle 0 2 m 2 s 2 displaystyle mu 2 sigma 2 s 2 displaystyle sigma 2 3 m 3 3 m s 2 displaystyle mu 3 3 mu sigma 2 0 displaystyle 0 4 m 4 6 m 2 s 2 3 s 4 displaystyle mu 4 6 mu 2 sigma 2 3 sigma 4 3 s 4 displaystyle 3 sigma 4 5 m 5 10 m 3 s 2 15 m s 4 displaystyle mu 5 10 mu 3 sigma 2 15 mu sigma 4 0 displaystyle 0 6 m 6 15 m 4 s 2 45 m 2 s 4 15 s 6 displaystyle mu 6 15 mu 4 sigma 2 45 mu 2 sigma 4 15 sigma 6 15 s 6 displaystyle 15 sigma 6 7 m 7 21 m 5 s 2 105 m 3 s 4 105 m s 6 displaystyle mu 7 21 mu 5 sigma 2 105 mu 3 sigma 4 105 mu sigma 6 0 displaystyle 0 8 m 8 28 m 6 s 2 210 m 4 s 4 420 m 2 s 6 105 s 8 displaystyle mu 8 28 mu 6 sigma 2 210 mu 4 sigma 4 420 mu 2 sigma 6 105 sigma 8 105 s 8 displaystyle 105 sigma 8 The expectation of X displaystyle X conditioned on the event that X displaystyle X lies in an interval a b displaystyle a b is given by E X a lt X lt b m s 2 f b f a F b F a displaystyle operatorname E left X mid a lt X lt b right mu sigma 2 frac f b f a F b F a where f displaystyle f and F displaystyle F respectively are the density and the cumulative distribution function of X displaystyle X For b displaystyle b infty this is known as the inverse Mills ratio Note that above density f displaystyle f of X displaystyle X is used instead of standard normal density as in inverse Mills ratio so here we have s 2 displaystyle sigma 2 instead of s displaystyle sigma Fourier transform and characteristic function Edit The Fourier transform of a normal density f displaystyle f with mean m displaystyle mu and standard deviation s displaystyle sigma is 22 f t f x e i t x d x e i m t e 1 2 s t 2 displaystyle hat f t int infty infty f x e itx dx e i mu t e frac 1 2 sigma t 2 where i displaystyle i is the imaginary unit If the mean m 0 displaystyle mu 0 the first factor is 1 and the Fourier transform is apart from a constant factor a normal density on the frequency domain with mean 0 and standard deviation 1 s displaystyle 1 sigma In particular the standard normal distribution f displaystyle varphi is an eigenfunction of the Fourier transform In probability theory the Fourier transform of the probability distribution of a real valued random variable X displaystyle X is closely connected to the characteristic function f X t displaystyle varphi X t of that variable which is defined as the expected value of e i t X displaystyle e itX as a function of the real variable t displaystyle t the frequency parameter of the Fourier transform This definition can be analytically extended to a complex value variable t displaystyle t 23 The relation between both is f X t f t displaystyle varphi X t hat f t Moment and cumulant generating functions Edit The moment generating function of a real random variable X displaystyle X is the expected value of e t X displaystyle e tX as a function of the real parameter t displaystyle t For a normal distribution with density f displaystyle f mean m displaystyle mu and deviation s displaystyle sigma the moment generating function exists and is equal to M t E e t X f i t e m t e 1 2 s 2 t 2 displaystyle M t operatorname E e tX hat f it e mu t e tfrac 1 2 sigma 2 t 2 The cumulant generating function is the logarithm of the moment generating function namely g t ln M t m t 1 2 s 2 t 2 displaystyle g t ln M t mu t tfrac 1 2 sigma 2 t 2 Since this is a quadratic polynomial in t displaystyle t only the first two cumulants are nonzero namely the mean m displaystyle mu and the variance s 2 displaystyle sigma 2 Stein operator and class Edit Within Stein s method the Stein operator and class of a random variable X N m s 2 displaystyle X sim mathcal N mu sigma 2 are A f x s 2 f x x m f x displaystyle mathcal A f x sigma 2 f x x mu f x and F displaystyle mathcal F the class of all absolutely continuous functions f R R such that E f X lt displaystyle f mathbb R to mathbb R mbox such that mathbb E f X lt infty Zero variance limit Edit In the limit when s displaystyle sigma tends to zero the probability density f x displaystyle f x eventually tends to zero at any x m displaystyle x neq mu but grows without limit if x m displaystyle x mu while its integral remains equal to 1 Therefore the normal distribution cannot be defined as an ordinary function when s 0 displaystyle sigma 0 However one can define the normal distribution with zero variance as a generalized function specifically as Dirac s delta function d displaystyle delta translated by the mean m displaystyle mu that is f x d x m displaystyle f x delta x mu Its CDF is then the Heaviside step function translated by the mean m displaystyle mu namely F x 0 if x lt m 1 if x m displaystyle F x begin cases 0 amp text if x lt mu 1 amp text if x geq mu end cases Maximum entropy Edit Of all probability distributions over the reals with a specified mean m displaystyle mu and variance s 2 displaystyle sigma 2 the normal distribution N m s 2 displaystyle N mu sigma 2 is the one with maximum entropy 24 If X displaystyle X is a continuous random variable with probability density f x displaystyle f x then the entropy of X displaystyle X is defined as 25 26 27 H X f x log f x d x displaystyle H X int infty infty f x log f x dx where f x log f x displaystyle f x log f x is understood to be zero whenever f x 0 displaystyle f x 0 This functional can be maximized subject to the constraints that the distribution is properly normalized and has a specified variance by using variational calculus A function with two Lagrange multipliers is defined L f x ln f x d x l 0 1 f x d x l s 2 f x x m 2 d x displaystyle L int infty infty f x ln f x dx lambda 0 left 1 int infty infty f x dx right lambda left sigma 2 int infty infty f x x mu 2 dx right where f x displaystyle f x is for now regarded as some density function with mean m displaystyle mu and standard deviation s displaystyle sigma At maximum entropy a small variation d f x displaystyle delta f x about f x displaystyle f x will produce a variation d L displaystyle delta L about L displaystyle L which is equal to 0 0 d L d f x ln f x 1 l 0 l x m 2 d x displaystyle 0 delta L int infty infty delta f x left ln f x 1 lambda 0 lambda x mu 2 right dx Since this must hold for any small d f x displaystyle delta f x the term in brackets must be zero and solving for f x displaystyle f x yields f x e l 0 1 l x m 2 displaystyle f x e lambda 0 1 lambda x mu 2 Using the constraint equations to solve for l 0 displaystyle lambda 0 and l displaystyle lambda yields the density of the normal distribution f x m s 1 2 p s 2 e x m 2 2 s 2 displaystyle f x mu sigma frac 1 sqrt 2 pi sigma 2 e frac x mu 2 2 sigma 2 The entropy of a normal distribution is equal to H X 1 2 1 log 2 s 2 p displaystyle H X tfrac 1 2 1 log 2 sigma 2 pi Other properties Edit If the characteristic function ϕ X displaystyle phi X of some random variable X displaystyle X is of the form ϕ X t exp Q t displaystyle phi X t exp Q t where Q t displaystyle Q t is a polynomial then the Marcinkiewicz theorem named after Jozef Marcinkiewicz asserts that Q displaystyle Q can be at most a quadratic polynomial and therefore X displaystyle X is a normal random variable 28 The consequence of this result is that the normal distribution is the only distribution with a finite number two of non zero cumulants If X displaystyle X and Y displaystyle Y are jointly normal and uncorrelated then they are independent The requirement that X displaystyle X and Y displaystyle Y should be jointly normal is essential without it the property does not hold 29 30 proof For non normal random variables uncorrelatedness does not imply independence The Kullback Leibler divergence of one normal distribution X 1 N m 1 s 1 2 displaystyle X 1 sim N mu 1 sigma 1 2 from another X 2 N m 2 s 2 2 displaystyle X 2 sim N mu 2 sigma 2 2 is given by 31 D K L X 1 X 2 m 1 m 2 2 2 s 2 2 1 2 s 1 2 s 2 2 1 ln s 1 2 s 2 2 displaystyle D mathrm KL X 1 X 2 frac mu 1 mu 2 2 2 sigma 2 2 frac 1 2 left frac sigma 1 2 sigma 2 2 1 ln frac sigma 1 2 sigma 2 2 right The Hellinger distance between the same distributions is equal to H 2 X 1 X 2 1 2 s 1 s 2 s 1 2 s 2 2 e 1 4 m 1 m 2 2 s 1 2 s 2 2 displaystyle H 2 X 1 X 2 1 sqrt frac 2 sigma 1 sigma 2 sigma 1 2 sigma 2 2 e frac 1 4 frac mu 1 mu 2 2 sigma 1 2 sigma 2 2 The Fisher information matrix for a normal distribution w r t m displaystyle mu and s 2 displaystyle sigma 2 is diagonal and takes the form I m s 2 1 s 2 0 0 1 2 s 4 displaystyle mathcal I mu sigma 2 begin pmatrix frac 1 sigma 2 amp 0 0 amp frac 1 2 sigma 4 end pmatrix The conjugate prior of the mean of a normal distribution is another normal distribution 32 Specifically if x 1 x n displaystyle x 1 ldots x n are iid N m s 2 displaystyle sim N mu sigma 2 and the prior is m N m 0 s 0 2 displaystyle mu sim N mu 0 sigma 0 2 then the posterior distribution for the estimator of m displaystyle mu will be m x 1 x n N s 2 n m 0 s 0 2 x s 2 n s 0 2 n s 2 1 s 0 2 1 displaystyle mu mid x 1 ldots x n sim mathcal N left frac frac sigma 2 n mu 0 sigma 0 2 bar x frac sigma 2 n sigma 0 2 left frac n sigma 2 frac 1 sigma 0 2 right 1 right The family of normal distributions not only forms an exponential family EF but in fact forms a natural exponential family NEF with quadratic variance function NEF QVF Many properties of normal distributions generalize to properties of NEF QVF distributions NEF distributions or EF distributions generally NEF QVF distributions comprises 6 families including Poisson Gamma binomial and negative binomial distributions while many of the common families studied in probability and statistics are NEF or EF In information geometry the family of normal distributions forms a statistical manifold with constant curvature 1 displaystyle 1 The same family is flat with respect to the 1 connections e displaystyle nabla e and m displaystyle nabla m 33 Related distributions EditCentral limit theorem Edit As the number of discrete events increases the function begins to resemble a normal distribution Comparison of probability density functions p k displaystyle p k for the sum of n displaystyle n fair 6 sided dice to show their convergence to a normal distribution with increasing n a displaystyle 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 Main article Central limit theorem The central limit theorem states that under certain fairly common conditions the sum of many random variables will have an approximately normal distribution More specifically where X 1 X n displaystyle X 1 ldots X n are independent and identically distributed random variables with the same arbitrary distribution zero mean and variance s 2 displaystyle sigma 2 and Z displaystyle Z is their mean scaled by n displaystyle sqrt n Z n 1 n i 1 n X i displaystyle Z sqrt n left frac 1 n sum i 1 n X i right Then as n displaystyle n increases the probability distribution of Z displaystyle Z will tend to the normal distribution with zero mean and variance s 2 displaystyle sigma 2 The theorem can be extended to variables X i displaystyle X i that are not independent and or not identically distributed if certain constraints are placed on the degree of dependence and the moments of the distributions Many test statistics scores and estimators encountered in practice contain sums of certain random variables in them and even more estimators can be represented as sums of random variables through the use of influence functions The central limit theorem implies that those statistical parameters will have asymptotically normal distributions The central limit theorem also implies that certain distributions can be approximated by the normal distribution for example The binomial distribution B n p displaystyle B n p is approximately normal with mean n p displaystyle np and variance n p 1 p displaystyle np 1 p for large n displaystyle n and for p displaystyle p not too close to 0 or 1 The Poisson distribution with parameter l displaystyle lambda is approximately normal with mean l displaystyle lambda and variance l displaystyle lambda for large values of l displaystyle lambda 34 The chi squared distribution x 2 k displaystyle chi 2 k is approximately normal with mean k displaystyle k and variance 2 k displaystyle 2k for large k displaystyle k The Student s t distribution t n displaystyle t nu is approximately normal with mean 0 and variance 1 when n displaystyle nu is large Whether these approximations are sufficiently accurate depends on the purpose for which they are needed and the rate of convergence to the normal distribution It is typically the case that such approximations are less accurate in the tails of the distribution A general upper bound for the approximation error in the central limit theorem is given by the Berry Esseen theorem improvements of the approximation are given by the Edgeworth expansions This theorem can also be used to justify modeling the sum of many uniform noise sources as Gaussian noise See AWGN Operations and functions of normal variables Edit a Probability density of a function cos x 2 displaystyle cos x 2 of a normal variable x displaystyle x with m 2 displaystyle mu 2 and s 3 displaystyle sigma 3 b Probability density of a function x y displaystyle x y of two normal variables x displaystyle x and y displaystyle y where m x 1 displaystyle mu x 1 m y 2 displaystyle mu y 2 s x 0 1 displaystyle sigma x 0 1 s y 0 2 displaystyle sigma y 0 2 and r x y 0 8 displaystyle rho xy 0 8 c Heat map of the joint probability density of two functions of two correlated normal variables x displaystyle x and y displaystyle y where m x 2 displaystyle mu x 2 m y 5 displaystyle mu y 5 s x 2 10 displaystyle sigma x 2 10 s y 2 20 displaystyle sigma y 2 20 and r x y 0 495 displaystyle rho xy 0 495 d Probability density of a function i 1 4 x i textstyle sum i 1 4 vert x i vert of 4 iid standard normal variables These are computed by the numerical method of ray tracing 35 The probability density cumulative distribution and inverse cumulative distribution of any function of one or more independent or correlated normal variables can be computed with the numerical method of ray tracing 35 Matlab code In the following sections we look at some special cases Operations on a single normal variable Edit If X displaystyle X is distributed normally with mean m displaystyle mu and variance s 2 displaystyle sigma 2 then a X b displaystyle aX b for any real numbers a displaystyle a and b displaystyle b is also normally distributed with mean a m b displaystyle a mu b and standard deviation a s displaystyle a sigma That is the family of normal distributions is closed under linear transformations The exponential of X displaystyle X is distributed log normally eX ln N m s2 The absolute value of X displaystyle X has folded normal distribution X Nf m s2 If m 0 displaystyle mu 0 this is known as the half normal distribution The absolute value of normalized residuals X m s has chi distribution with one degree of freedom X m s x 1 displaystyle X mu sigma sim chi 1 The square of X s has the noncentral chi squared distribution with one degree of freedom X 2 s 2 x 1 2 m 2 s 2 textstyle X 2 sigma 2 sim chi 1 2 mu 2 sigma 2 If m 0 displaystyle mu 0 the distribution is called simply chi squared The log likelihood of a normal variable x displaystyle x span data class, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.