Statistics/Distributions/Normal (Gaussian)

From testwiki
Revision as of 00:20, 16 November 2016 by imported>Pi zero (normalizing book category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Normal Distribution

Template:Probability distribution

Normal distribution is without exception the most widely used distribution. It also goes under the name Gaussian distribution. It assumes that the observations are closely clustered around the mean, μ, and this amount is decaying quickly as we go farther away from the mean. The measure of spread is quantified by the variance, σ2.

Some examples of applications are:

  • If the average man is 175 cm tall with a variance of 6 cm, what is the probability that a man found at random will be 183 cm tall?
  • If the average man is 175 cm tall with a variance of 6 cm and the average woman is 168 cm tall with a variance of 3cm, what is the probability that the average man will be shorter than the average woman?
  • If cans are assumed to have a variance of 4 grams, what does the average weight need to be in order to ensure that the 99% of all cans have a weight of at least 250 grams?

The density function is:

fμ,σ(x)=1σ2πe(xμ)2/2σ2

where <x<.

and the cumulative distribution function cannot be integrated into a single expression.

Normal distribution with parameters μ and σ is denoted as N(μ,σ). If the rv X is normally distributed with expectation μ and standard deviation σ, one denotes: XN(μ,σ)

Probability mass function

To verify that f(x) is a valid pmf we must verify that (1) it is non-negative everywhere, and (2) that the total integral is equal to 1. The first is obvious, so we move on to verify the second.

1σ2πe(xμ)2/2σ2dx=1σ2πe(xμ)2/2σ2dx

Now let w=xμσ2. We see that dw=dxσ2.

1πew2dw

Now we use the Gaussian integral that ew2dw=π

1ππ=1

Mean

We derive the mean as follows

E[X]=xf(x)dx
=x1σ2πe(xμ)2/2σ2dx
=[(xμ)+μ]1σ2πe(xμ)2/2σ2dx
=(xμ)1σ2πe(xμ)2/2σ2dx+μ1σ2πe(xμ)2/2σ2dx
=1σ2π(σ2)x+μσ2e(xμ)2/2σ2dx+μ1σ2πe(xμ)2/2σ2dx

We now see that the right integral is the complete integral over a normal pmf. This is therefore 1.

E[X]=1σ2π(σ2)[e(xμ)2/2σ2]+μ
=1σ2π(σ2)[00]+μ
=μ

Variance

Var(X)=E[(XE[X])2]=(xμ)2f(x)dx=(xμ)21σ2πe12(xμσ)2dx

We let w=xμσ2

Var(X)=σ22w21σ2πew2σ2dw=2σ2πwwew2dw

We now use integration by parts with u=w and v=(-1/2)e^(-w^2)

Var(X)=2σ2π([w12ew2]12ew2dw)

We see that the bracketed term is zero by L'Hôpital's rule.

Var(X)=2σ2π(12ew2dw)

Now we use the Gaussian integral again

Var(X)=2σ2π12π=σ2

Template:BookCat