Normal distribution

01 Theory

Theory 1

Normal distribution

A variable X has a normal distribution, written X𝒩(μ,σ2) or “X is Gaussian (μ,σ),” when it has PDF given by:

fX(x)=12πσ2e(xμ)2/2σ2

The standard normal is Z𝒩(0,1) and its PDF is usually denoted by φ(x):

φ(x)=12πex2/2

The standard normal CDF is usually denoted by Φ(z):

Φ(z)=z12πeu2/2du
  • To show that φ(x) is a valid probability density, we must show that +φ(x)dx=1.
    • This calculation is not trivial; it requires a double integral in polar coordinates!
  • There is no explicit antiderivative of φ
    • A computer is needed for numerical calculations.
    • A chart of approximate values of Φ is provided for exams.

  • To check that E[Z]=0:
    • Observe that xφ(x) is an odd function, i.e. symmetric about the y-axis.
    • One must then simply verify that the improper integral converges.
  • To check that Var[Z]=1:
    • Since μ=E[Z]=0, we find:
Var[Z]=E[Z2]12π+x2ex2/2dx=:I
  • Use integration by parts to compute that I=1. (Select u=x and dv=xex2/2dx.)

General and standard normals

Assume that Z𝒩(0,1) and σ,μ are constants. Define X=σZ+μ. Then:

fX=12πσ2e(xμ)2/2σ2

That is, σZ+μ has the distribution type 𝒩(μ,σ2).

From this fact we can infer that E[X]=μ and Var[X]=σ2 whenever X𝒩(μ,σ2).

Link to original

02 Illustration

Example - Basic generalized normal calculation

Basic generalized normal calculation

Suppose X𝒩(3,4). Find P[X1.7].

Solution

First write X as a linear transformation of Z:

X2Z3

Then:

X1.7Z0.65

Look in a table to find that Φ(0.65)0.74 and therefore:

P[Z0.65]1P[Z0.65]10.740.26 Link to original

Example - Gaussian: interval of 2/3

Gaussian: interval of 2/3

Find the number a such that P[aZ+a]=2/3.

Solution

First convert the question:

P[aZ+a]FZ(a)FZ(a)Φ(a)Φ(a)2Φ(a)1

Solve for a so that this value is 2/3:

2Φ(a)1=2/3Φ(a)=5/6a=Φ1(5/6)

Use a Φ table to conclude a0.97.

Link to original

Example - Heights of American males

Heights of American males

Suppose that the height of an American male in inches follows the normal distribution 𝒩(71,6.25).

(a) What percent of American males are over 6 feet, 2 inches tall?

(b) What percent of those over 6 feet tall are also over 6 feet, 5 inches tall?

Solution

(a) Let H be a random variable measuring the height of American males in inches, so H𝒩(71,2.52). Thus H2.5Z+71, and:

P[H>74]1P[H74]1P[2.5Z+7174]1P[Z1.20]10.884911.5%

(b) We seek P[H>77|H>72] as the answer. Compute as follows:

P[H>77|H>72]=P[H>77]P[H>72]P[2.5Z+71>77]P[2.5Z+71>72]1P[Z2.4]1P[Z0.4]=10.991810.65542.38% Link to original

Example - Variance of normal from CDF table

Variance of normal from CDF table

Suppose X𝒩(5,σ2), and suppose you know P[X>9]=0.2.

Find the approximate value of σ using a Φ table.

Solution

X𝒩(5,σ2)XσZ+5

So 1P[X9]=0.2 and thus P[σZ+59]=0.8. Then:

P[σZ+59]=P[Z4/σ]

so P[Z4/σ]=0.8.

Looking in the chart of Φ for the nearest inverse of 0.8, we obtain 4/σ=0.842, hence σ=4.75.

Link to original