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πe−x2/2

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

Φ(z)=∫−∞z12πe−u2/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π∫−∞+∞x2e−x2/2dx=:I
  • Use integration by parts to compute that I=1. (Select u=x and dv=xe−x2/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[X≥−1.7].

Solution

First write X as a linear transformation of Z:

X∼2Z−3

Then:

X≥−1.7⟺Z≥0.65

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

P[Z≥0.65]≫≫1−P[Z≤0.65]≫≫≈1−0.74≫≫0.26 Link to original

Example - Gaussian: interval of 2/3

Gaussian: interval of 2/3

Find the number a such that P[−a≤Z≤+a]=2/3.

Solution

First convert the question:

P[−a≤Z≤+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/6≫≫a=Φ−1(5/6)

Use a Φ table to conclude a≈0.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 H∼2.5Z+71, and:

P[H>74]≫≫1−P[H≤74]≫≫1−P[2.5Z+71≤74]≫≫1−P[Z≤1.20]≫≫1−0.8849≈11.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]≫≫1−P[Z≤2.4]1−P[Z≤0.4]=1−0.99181−0.6554≈2.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 1−P[X≤9]=0.2 and thus P[σZ+5≤9]=0.8. Then:

P[σZ+5≤9]=P[Z≤4/σ]

so P[Z≤4/σ]=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