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
Excess kurtosis
Entropy
MGF
CF
Fisher information

Kullback–Leibler divergence
Expected shortfall [1]

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.[2][3] 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.[4]

Moreover, Gaussian distributions have some unique properties that are valuable in analytic studies. For instance, any linear combination of a fixed collection of independent normal deviates is a normal deviate. Many results and methods, such as propagation of uncertainty and least squares[5] 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.[6] 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 edit

Standard 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   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[7] once defined the standard normal as

 

which has a simple functional form and a variance of  

General normal distribution edit

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 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   (phi).[8] The alternative form of the Greek letter phi,  , is also used quite often.

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

 

Alternative parameterizations edit

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,  .[10] 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 function edit

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

 

Error Function edit

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 cumulative distribution function,  , is often called the Q-function, especially in engineering texts.[11][12] 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.[13]

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

 

The cumulative distribution function 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 cumulative distribution function for large x can also be derived using integration by parts. For more, see Error function#Asymptotic expansion.[14]

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

 

Recursive computation with Taylor series expansion edit

The recursive nature of the  family of derivatives may be used to easily construct a rapidly converging Taylor series expansion using recursive entries about any point of known value of the distribution, :

 

where:

 

Using the Taylor series and Newton's method for the inverse function edit

An application for the above Taylor series expansion is to use Newton's method to reverse the computation. That is, if we have a value for the cumulative distribution function,  , but do not know the x needed to obtain the  , we can use Newton's method to find x, and use the Taylor series expansion above to minimize the number of computations. Newton's method is ideal to solve this problem because the first derivative of  , which is an integral of the normal standard distribution, is the normal standard distribution, and is readily available to use in the Newton's method solution.

To solve, select a known approximate solution,  , to the desired  .   may be a value from a distribution table, or an intelligent estimate followed by a computation of   using any desired means to compute. Use this value of   and the Taylor series expansion above to minimize computations.

Repeat the following process until the difference between the computed   and the desired  , which we will call  , is below a chosen acceptably small error, such as 10−5, 10−15, etc.:

 

where

  is the   from a Taylor series solution using   and  
 

When the repeated computations converge to an error below the chosen acceptably small value, x will be the value needed to obtain a   of the desired value,  .

Standard deviation and coverage edit

 
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.[6] 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 edit

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.[15] 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  [citation needed]

Properties edit

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.[16][17] 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.[18][19]

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 edit

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.[20]
  • 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 second 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  [20]
  • Its density is log-concave.[20]
  • Its density is infinitely differentiable, indeed supersmooth of order 2.[21]

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.[22]
  • 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 edit

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:[23]

 

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  [24]

 

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 edit

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

 

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  .[26] The relation between both is:

 

Moment- and cumulant-generating functions edit

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  .

Some authors prefer to instead work with E[eitX] = eiμtσ2t2/2 and ln E[eitX] = iμt1/2σ2t2.

Stein operator and class edit

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 edit

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 a Dirac delta function   translated by the mean  , that is   Its cumulative distribution function is then the Heaviside step function translated by the mean  , namely

 

Maximum entropy edit

Of all probability distributions over the reals with a specified finite mean   and finite variance  , the normal distribution   is the one with maximum entropy.[27] To see this, let   be a continuous random variable with probability density  . The entropy of   is defined as[28][29][30]

 

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 mean and variance, by using variational calculus. A function with three Lagrange multipliers is defined:

 

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 factor multiplying   must be zero, and solving for   yields:

 

The Lagrange constraints that   is properly normalized and has the specified mean and variance are satisfied if and only if  ,  , and   are chosen so that

 

The entropy of a normal distribution   is equal to

 

which is independent of the mean  .

Other properties edit

  1. If the characteristic function   of some random variable   is of the form   in a neighborhood of zero, 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.[31] 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.[32][33][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:[34]
     
    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.[35] 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  .[36]
  8. If
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 function The red curve is the standard normal distribution Cumulative 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 CDFF x m s 1 2 1 erf x m s 2 displaystyle Phi left frac x mu sigma right 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 Excess kurtosis0 displaystyle 0 Entropy1 2 log 2 p e s 2 displaystyle frac 1 2 log 2 pi e sigma 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 Expected shortfallm s 1 2 p e q p X m s 2 2 1 p displaystyle mu sigma frac frac 1 sqrt 2 pi e frac left q p left frac X mu sigma right right 2 2 1 p 1 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 2 3 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 4 Moreover Gaussian distributions have some unique properties that are valuable in analytic studies For instance any linear combination of a fixed collection of independent normal deviates is a normal deviate Many results and methods such as propagation of uncertainty and least squares 5 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 6 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 function 1 6 Error Function 1 6 1 Recursive computation with Taylor series expansion 1 6 2 Using the Taylor series and Newton s method for the inverse function 1 6 3 Standard deviation and coverage 1 6 4 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 cumulative distribution function 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 nbsp and s 1 displaystyle sigma 1 nbsp 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 nbsp The variable z displaystyle z nbsp has a mean of 0 and a variance and standard deviation of 1 The density f z displaystyle varphi z nbsp has its peak 1 2 p displaystyle 1 sqrt 2 pi nbsp at z 0 displaystyle z 0 nbsp and inflection points at z 1 displaystyle z 1 nbsp and z 1 displaystyle z 1 nbsp 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 nbsp which has a variance of 1 2 and Stephen Stigler 7 once defined the standard normal as f z e p z 2 displaystyle varphi z e pi z 2 nbsp which has a simple functional form and a variance of s 2 1 2 p displaystyle sigma 2 1 2 pi nbsp 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 nbsp the standard deviation and then translated by m displaystyle mu nbsp 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 nbsp The probability density must be scaled by 1 s displaystyle 1 sigma nbsp so that the integral is still 1 If Z displaystyle Z nbsp is a standard normal deviate then X s Z m displaystyle X sigma Z mu nbsp will have a normal distribution with expected value m displaystyle mu nbsp and standard deviation s displaystyle sigma nbsp This is equivalent to saying that the standard normal distribution Z displaystyle Z nbsp can be scaled stretched by a factor of s displaystyle sigma nbsp and shifted by m displaystyle mu nbsp to yield a different normal distribution called X displaystyle X nbsp Conversely if X displaystyle X nbsp is a normal deviate with parameters m displaystyle mu nbsp and s 2 displaystyle sigma 2 nbsp then this X displaystyle X nbsp distribution can be re scaled and shifted via the formula Z X m s displaystyle Z X mu sigma nbsp to convert it to the standard normal distribution This variate is also called the standardized form of X displaystyle X nbsp 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 nbsp phi 8 The alternative form of the Greek letter phi f displaystyle varphi nbsp is also used quite often The normal distribution is often referred to as N m s 2 displaystyle N mu sigma 2 nbsp or N m s 2 displaystyle mathcal N mu sigma 2 nbsp 9 Thus when a random variable X displaystyle X nbsp is normally distributed with mean m displaystyle mu nbsp and standard deviation s displaystyle sigma nbsp one may write X N m s 2 displaystyle X sim mathcal N mu sigma 2 nbsp Alternative parameterizations edit Some authors advocate using the precision t displaystyle tau nbsp as the parameter defining the width of the distribution instead of the deviation s displaystyle sigma nbsp or the variance s 2 displaystyle sigma 2 nbsp The precision is normally defined as the reciprocal of the variance 1 s 2 displaystyle 1 sigma 2 nbsp 10 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 nbsp This choice is claimed to have advantages in numerical computations when s displaystyle sigma nbsp 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 1 sigma nbsp 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 sqrt 2 pi e tau 2 x mu 2 2 nbsp 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 nbsp and 8 2 1 2 s 2 displaystyle textstyle theta 2 frac 1 2 sigma 2 nbsp and natural statistics x and x2 The dual expectation parameters for normal distribution are h1 m and h2 m2 s2 Cumulative distribution function edit The cumulative distribution function CDF of the standard normal distribution usually denoted with the capital Greek letter F displaystyle Phi nbsp 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 nbsp Error Function edit The related error function erf x displaystyle operatorname erf x nbsp 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 nbsp That is erf x 1 p x x e t 2 d t 2 p 0 x e t 2 d t displaystyle operatorname erf x frac 1 sqrt pi int x x e t 2 dt frac 2 sqrt pi int 0 x e t 2 dt nbsp 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 nbsp For a generic normal distribution with density f displaystyle f nbsp mean m displaystyle mu nbsp and deviation s displaystyle sigma nbsp 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 nbsp The complement of the standard normal cumulative distribution function Q x 1 F x displaystyle Q x 1 Phi x nbsp is often called the Q function especially in engineering texts 11 12 It gives the probability that the value of a standard normal random variable X displaystyle X nbsp will exceed x displaystyle x nbsp P X gt x displaystyle P X gt x nbsp Other definitions of the Q displaystyle Q nbsp function all of which are simple transformations of F displaystyle Phi nbsp are also used occasionally 13 The graph of the standard normal cumulative distribution function F displaystyle Phi nbsp has 2 fold rotational symmetry around the point 0 1 2 that is F x 1 F x displaystyle Phi x 1 Phi x nbsp 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 nbsp The cumulative distribution function 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 nbsp where displaystyle nbsp denotes the double factorial An asymptotic expansion of the cumulative distribution function for large x can also be derived using integration by parts For more see Error function Asymptotic expansion 14 A quick approximation to the standard normal distribution s cumulative distribution function 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 1 k x 2k 1 2 k k 2k 1 nbsp Recursive computation with Taylor series expansion edit The recursive nature of the e a x 2 displaystyle e ax 2 nbsp family of derivatives may be used to easily construct a rapidly converging Taylor series expansion using recursive entries about any point of known value of the distribution F x 0 displaystyle Phi x 0 nbsp F x n 0 F n x 0 n x x 0 n displaystyle Phi x sum n 0 infty frac Phi n x 0 n x x 0 n nbsp where F 0 x 0 1 2 p x 0 e t 2 2 d t F 1 x 0 1 2 p e x 0 2 2 F n x 0 x 0 F n 1 x 0 n 2 F n 2 x 0 n 2 displaystyle begin aligned Phi 0 x 0 amp frac 1 sqrt 2 pi int infty x 0 e t 2 2 dt Phi 1 x 0 amp frac 1 sqrt 2 pi e x 0 2 2 Phi n x 0 amp left x 0 Phi n 1 x 0 n 2 Phi n 2 x 0 right amp n geq 2 end aligned nbsp Using the Taylor series and Newton s method for the inverse function edit An application for the above Taylor series expansion is to use Newton s method to reverse the computation That is if we have a value for the cumulative distribution function F x displaystyle Phi x nbsp but do not know the x needed to obtain the F x displaystyle Phi x nbsp we can use Newton s method to find x and use the Taylor series expansion above to minimize the number of computations Newton s method is ideal to solve this problem because the first derivative of F x displaystyle Phi x nbsp which is an integral of the normal standard distribution is the normal standard distribution and is readily available to use in the Newton s method solution To solve select a known approximate solution x 0 displaystyle x 0 nbsp to the desired F x displaystyle Phi x nbsp x 0 displaystyle x 0 nbsp may be a value from a distribution table or an intelligent estimate followed by a computation of F x 0 displaystyle Phi x 0 nbsp using any desired means to compute Use this value of x 0 displaystyle x 0 nbsp and the Taylor series expansion above to minimize computations Repeat the following process until the difference between the computed F x n displaystyle Phi x n nbsp and the desired F displaystyle Phi nbsp which we will call F desired displaystyle Phi text desired nbsp is below a chosen acceptably small error such as 10 5 10 15 etc x n 1 x n F x n x 0 F x 0 F desired F x n displaystyle x n 1 x n frac Phi x n x 0 Phi x 0 Phi text desired Phi x n nbsp where F x x 0 F x 0 displaystyle Phi x x 0 Phi x 0 nbsp is the F x displaystyle Phi x nbsp from a Taylor series solution using x 0 displaystyle x 0 nbsp and F x 0 displaystyle Phi x 0 nbsp F x n 1 2 p e x n 2 2 displaystyle Phi x n frac 1 sqrt 2 pi e x n 2 2 nbsp When the repeated computations converge to an error below the chosen acceptably small value x will be the value needed to obtain a F x displaystyle Phi x nbsp of the desired value F desired displaystyle Phi text desired nbsp Standard deviation and coverage edit Further information Interval estimation and Coverage probability nbsp 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 6 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 nbsp and m n s displaystyle mu n sigma nbsp 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 nbsp To 12 significant digits the values for n 1 2 6 displaystyle n 1 2 ldots 6 nbsp are citation needed n displaystyle n nbsp p F m n s F m n s displaystyle p F mu n sigma F mu n sigma nbsp i e 1 p displaystyle text i e 1 p nbsp or 1 in p displaystyle text or 1 text in p nbsp OEIS 1 0 682689 492 137 0 317310 507 863 3 151487 187 53 OEIS A178647 2 0 954499 736 104 0 045500 263 896 21 977894 5080 OEIS A110894 3 0 997300 203 937 0 002699 796 063 370 398347 345 OEIS A270712 4 0 999936 657 516 0 000063 342 484 15787 1927673 5 0 999999 426 697 0 000000 573 303 1744 277 89362 6 0 999999 998 027 0 000000 001 973 506797 345 897 For large n displaystyle n nbsp 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 nbsp 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 nbsp For a normal random variable with mean m displaystyle mu nbsp and variance s 2 displaystyle sigma 2 nbsp 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 nbsp The quantile F 1 p displaystyle Phi 1 p nbsp of the standard normal distribution is commonly denoted as z p displaystyle z p nbsp These values are used in hypothesis testing construction of confidence intervals and Q Q plots A normal random variable X displaystyle X nbsp will exceed m z p s displaystyle mu z p sigma nbsp with probability 1 p displaystyle 1 p nbsp and will lie outside the interval m z p s displaystyle mu pm z p sigma nbsp with probability 2 1 p displaystyle 2 1 p nbsp In particular the quantile z 0 975 displaystyle z 0 975 nbsp is 1 96 therefore a normal random variable will lie outside the interval m 1 96 s displaystyle mu pm 1 96 sigma nbsp in only 5 of cases The following table gives the quantile z p displaystyle z p nbsp such that X displaystyle X nbsp will lie in the range m z p s displaystyle mu pm z p sigma nbsp with a specified probability p displaystyle p nbsp These values are useful to determine tolerance interval for sample averages and other statistical estimators with normal or asymptotically normal distributions 15 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 nbsp not F 1 p displaystyle Phi 1 p nbsp as defined above p displaystyle p nbsp z p displaystyle z p nbsp p displaystyle p nbsp z p displaystyle z p nbsp 0 80 1 281551 565 545 0 999 3 290526 731 492 0 90 1 644853 626 951 0 9999 3 890591 886 413 0 95 1 959963 984 540 0 99999 4 417173 413 469 0 98 2 326347 874 041 0 999999 4 891638 475 699 0 99 2 575829 303 549 0 9999999 5 326723 886 384 0 995 2 807033 768 344 0 99999999 5 730728 868 236 0 998 3 090232 306 168 0 999999999 6 109410 204 869 For small p displaystyle p nbsp 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 nbsp citation needed 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 16 17 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 18 19 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 nbsp 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 nbsp mean m displaystyle mu nbsp and standard deviation s gt 0 displaystyle sigma gt 0 nbsp has the following properties It is symmetric around the point x m displaystyle x mu nbsp which is at the same time the mode the median and the mean of the distribution 20 It is unimodal its first derivative is positive for x lt m displaystyle x lt mu nbsp negative for x gt m displaystyle x gt mu nbsp and zero only at x m displaystyle x mu nbsp The area bounded by the curve and the x displaystyle x nbsp axis is unity i e equal to one Its first derivative is f x x m s 2 f x displaystyle f x frac x mu sigma 2 f x nbsp Its second derivative is f x x m 2 s 2 s 4 f x displaystyle f x frac x mu 2 sigma 2 sigma 4 f x nbsp Its density has two inflection points where the second derivative of f displaystyle f nbsp is zero and changes sign located one standard deviation away from the mean namely at x m s displaystyle x mu sigma nbsp and x m s displaystyle x mu sigma nbsp 20 Its density is log concave 20 Its density is infinitely differentiable indeed supersmooth of order 2 21 Furthermore the density f displaystyle varphi nbsp of the standard normal distribution i e m 0 displaystyle mu 0 nbsp and s 1 displaystyle sigma 1 nbsp also has the following properties Its first derivative is f x x f x displaystyle varphi x x varphi x nbsp Its second derivative is f x x 2 1 f x displaystyle varphi x x 2 1 varphi x nbsp 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 nbsp where He n x displaystyle operatorname He n x nbsp is the n th probabilist Hermite polynomial 22 The probability that a normally distributed variable X displaystyle X nbsp with known m displaystyle mu nbsp and s displaystyle sigma nbsp is in a particular set can be calculated by using the fact that the fraction Z X m s displaystyle Z X mu sigma nbsp 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 nbsp are the expected values of X p displaystyle X p nbsp and X p displaystyle X p nbsp respectively If the expected value m displaystyle mu nbsp of X displaystyle X nbsp 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 nbsp If X displaystyle X nbsp has a normal distribution the non central moments exist and are finite for any p displaystyle p nbsp whose real part is greater than 1 For any non negative integer p displaystyle p nbsp the plain central moments are 23 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 nbsp Here n displaystyle n nbsp denotes the double factorial that is the product of all numbers from n displaystyle n nbsp to 1 that have the same parity as n displaystyle n nbsp 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 nbsp 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 nbsp The last formula is valid also for any non integer p gt 1 displaystyle p gt 1 nbsp When the mean m 0 displaystyle mu neq 0 nbsp the plain and absolute moments can be expressed in terms of confluent hypergeometric functions 1 F 1 displaystyle 1 F 1 nbsp and U displaystyle U nbsp 24 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 nbsp These expressions remain valid even if p displaystyle p nbsp is not an integer See also generalized Hermite polynomials Order Non central moment Central moment 1 m displaystyle mu nbsp 0 displaystyle 0 nbsp 2 m 2 s 2 displaystyle mu 2 sigma 2 nbsp s 2 displaystyle sigma 2 nbsp 3 m 3 3 m s 2 displaystyle mu 3 3 mu sigma 2 nbsp 0 displaystyle 0 nbsp 4 m 4 6 m 2 s 2 3 s 4 displaystyle mu 4 6 mu 2 sigma 2 3 sigma 4 nbsp 3 s 4 displaystyle 3 sigma 4 nbsp 5 m 5 10 m 3 s 2 15 m s 4 displaystyle mu 5 10 mu 3 sigma 2 15 mu sigma 4 nbsp 0 displaystyle 0 nbsp 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 nbsp 15 s 6 displaystyle 15 sigma 6 nbsp 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 nbsp 0 displaystyle 0 nbsp 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 nbsp 105 s 8 displaystyle 105 sigma 8 nbsp The expectation of X displaystyle X nbsp conditioned on the event that X displaystyle X nbsp lies in an interval a b displaystyle a b nbsp 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 nbsp where f displaystyle f nbsp and F displaystyle F nbsp respectively are the density and the cumulative distribution function of X displaystyle X nbsp For b displaystyle b infty nbsp this is known as the inverse Mills ratio Note that above density f displaystyle f nbsp of X displaystyle X nbsp is used instead of standard normal density as in inverse Mills ratio so here we have s 2 displaystyle sigma 2 nbsp instead of s displaystyle sigma nbsp Fourier transform and characteristic function edit The Fourier transform of a normal density f displaystyle f nbsp with mean m displaystyle mu nbsp and standard deviation s displaystyle sigma nbsp is 25 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 nbsp where i displaystyle i nbsp is the imaginary unit If the mean m 0 displaystyle mu 0 nbsp 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 nbsp In particular the standard normal distribution f displaystyle varphi nbsp 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 nbsp is closely connected to the characteristic function f X t displaystyle varphi X t nbsp of that variable which is defined as the expected value of e i t X displaystyle e itX nbsp as a function of the real variable t displaystyle t nbsp the frequency parameter of the Fourier transform This definition can be analytically extended to a complex value variable t displaystyle t nbsp 26 The relation between both is f X t f t displaystyle varphi X t hat f t nbsp Moment and cumulant generating functions edit The moment generating function of a real random variable X displaystyle X nbsp is the expected value of e t X displaystyle e tX nbsp as a function of the real parameter t displaystyle t nbsp For a normal distribution with density f displaystyle f nbsp mean m displaystyle mu nbsp and deviation s displaystyle sigma nbsp the moment generating function exists and is equal to M t E e t X f i t e m t e s 2 t 2 2 displaystyle M t operatorname E left e tX right hat f it e mu t e sigma 2 t 2 2 nbsp 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 nbsp Since this is a quadratic polynomial in t displaystyle t nbsp only the first two cumulants are nonzero namely the mean m displaystyle mu nbsp and the variance s 2 displaystyle sigma 2 nbsp Some authors prefer to instead work with E eitX eimt s2t2 2 and ln E eitX imt 1 2 s2t2 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 nbsp 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 nbsp and F displaystyle mathcal F nbsp 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 nbsp Zero variance limit edit In the limit when s displaystyle sigma nbsp tends to zero the probability density f x displaystyle f x nbsp eventually tends to zero at any x m displaystyle x neq mu nbsp but grows without limit if x m displaystyle x mu nbsp while its integral remains equal to 1 Therefore the normal distribution cannot be defined as an ordinary function when s 0 displaystyle sigma 0 nbsp However one can define the normal distribution with zero variance as a generalized function specifically as a Dirac delta function d displaystyle delta nbsp translated by the mean m displaystyle mu nbsp that is f x d x m displaystyle f x delta x mu nbsp Its cumulative distribution function is then the Heaviside step function translated by the mean m displaystyle mu nbsp 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 nbsp Maximum entropy edit Of all probability distributions over the reals with a specified finite mean m displaystyle mu nbsp and finite variance s 2 displaystyle sigma 2 nbsp the normal distribution N m s 2 displaystyle N mu sigma 2 nbsp is the one with maximum entropy 27 To see this let X displaystyle X nbsp be a continuous random variable with probability density f x displaystyle f x nbsp The entropy of X displaystyle X nbsp is defined as 28 29 30 H X f x ln f x d x displaystyle H X int infty infty f x ln f x dx nbsp where f x log f x displaystyle f x log f x nbsp is understood to be zero whenever f x 0 displaystyle f x 0 nbsp This functional can be maximized subject to the constraints that the distribution is properly normalized and has a specified mean and variance by using variational calculus A function with three Lagrange multipliers is defined L f x ln f x d x l 0 1 f x d x l 1 m f x x d x l 2 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 1 left mu int infty infty f x x dx right lambda 2 left sigma 2 int infty infty f x x mu 2 dx right nbsp At maximum entropy a small variation d f x displaystyle delta f x nbsp about f x displaystyle f x nbsp will produce a variation d L displaystyle delta L nbsp about L displaystyle L nbsp which is equal to 0 0 d L d f x ln f x 1 l 0 l 1 x l 2 x m 2 d x displaystyle 0 delta L int infty infty delta f x left ln f x 1 lambda 0 lambda 1 x lambda 2 x mu 2 right dx nbsp Since this must hold for any small d f x displaystyle delta f x nbsp the factor multiplying d f x displaystyle delta f x nbsp must be zero and solving for f x displaystyle f x nbsp yields f x exp 1 l 0 l 1 x l 2 x m 2 displaystyle f x exp left 1 lambda 0 lambda 1 x lambda 2 x mu 2 right nbsp The Lagrange constraints that f x displaystyle f x nbsp is properly normalized and has the specified mean and variance are satisfied if and only if l 0 displaystyle lambda 0 nbsp l 1 displaystyle lambda 1 nbsp and l 2 displaystyle lambda 2 nbsp are chosen so that f x 1 2 p s 2 e x m 2 2 s 2 displaystyle f x frac 1 sqrt 2 pi sigma 2 e frac x mu 2 2 sigma 2 nbsp The entropy of a normal distribution X N m s 2 displaystyle X sim N mu sigma 2 nbsp is equal to H X 1 2 1 ln 2 s 2 p displaystyle H X tfrac 1 2 1 ln 2 sigma 2 pi nbsp which is independent of the mean m displaystyle mu nbsp Other properties edit If the characteristic function ϕ X displaystyle phi X nbsp of some random variable X displaystyle X nbsp is of the form ϕ X t exp Q t displaystyle phi X t exp Q t nbsp in a neighborhood of zero where Q t displaystyle Q t nbsp is a polynomial then the Marcinkiewicz theorem named after Jozef Marcinkiewicz asserts that Q displaystyle Q nbsp can be at most a quadratic polynomial and therefore X displaystyle X nbsp is a normal random variable 31 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 nbsp and Y displaystyle Y nbsp are jointly normal and uncorrelated then they are independent The requirement that X displaystyle X nbsp and Y displaystyle Y nbsp should be jointly normal is essential without it the property does not hold 32 33 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 nbsp from another X 2 N m 2 s 2 2 displaystyle X 2 sim N mu 2 sigma 2 2 nbsp is given by 34 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 parallel 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 nbsp 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 exp 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 exp left frac 1 4 frac mu 1 mu 2 2 sigma 1 2 sigma 2 2 right nbsp The Fisher information matrix for a normal distribution w r t m displaystyle mu nbsp and s 2 displaystyle sigma 2 nbsp 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 nbsp The conjugate prior of the mean of a normal distribution is another normal distribution 35 Specifically if x 1 x n displaystyle x 1 ldots x n nbsp are iid N m s 2 displaystyle sim N mu sigma 2 nbsp and the prior is m N m 0 s 0 2 displaystyle mu sim N mu 0 sigma 0 2 nbsp then the posterior distribution for the estimator of m displaystyle mu nbsp 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 nbsp 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 nbsp The same family is flat with respect to the 1 connections e displaystyle nabla e nbsp and m displaystyle nabla m nbsp 36 If X 1 X n annotation, 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.