3.Normal Distribution
3.Normal Distribution
Leguma Bakari
Email: leguma.bakari@eastc.ac.tz
Email: leguma2020@gmail.com
Phone:+255 762 760 095
September 3, 2022
Eastern Africa Statistical Training Center (EASTC)
1
Outline
1 Definition
2
Definition
4
Outline
1 Definition
5
Parameters of the Normal Distribution
• As with any probability distribution, the parameters for the normal distribution
define its shape and probabilities entirely.
• The normal distribution has two parameters, the mean and standard deviation
or variance.
• The normal distribution does not have just one form.
• Instead, the shape changes based on the parameter values, as showing below.
8
Figure 3: Normal Curves 9
Function of the Parameters
10
Outline
1 Definition
11
Symmetric Property for All Forms of Normal Distribution
12
Figure 4: Symmetric Distribution
13
Outline
1 Definition
14
The Proof of Moment Generating Function
• Mx ( t ) = E ( etx )
∫∞
• Mx ( t ) = E ( etx ) = −∞ etx f ( x; 𝜇, 𝜎 2 ) dx
• Recall;
∫∞ − 1 ( x − 𝜇) 2
f ( x; 𝜇, 𝜎 2 ) = −∞ etx √1 e 2 𝜎2 , for − ∞ < x < ∞
𝜎 2𝜋
1
∫∞ − ( x − 𝜇) 2
• Therefore; Mx ( t ) = −∞ etx √1 e 2 𝜎2 dx
𝜎 2𝜋
∞ 1 2
− ( x − 𝜇)
• Mx ( t ) = √1
∫
etx e 2 𝜎2 dx
𝜎 2 𝜋 −∞
1
∞ [ 2 𝜎 tx − ( x − 𝜇) 2 ]
2
• Mx ( t ) = √1
∫
−∞
e 2 𝜎2 dx
𝜎 2𝜋
1
∞ [ 2 𝜎 tx − ( x − 2 𝜇 x +𝜇 2 ) ]
2 2
• Mx ( t ) = √1
∫
e 2 𝜎2 dx
𝜎 2 𝜋 −∞
∞ 1 2 2 2
[ 2 tx − x + 2 x − ]
• Mx ( t ) = √1
∫ 𝜎 𝜇 𝜇
e 2 𝜎2 dx
𝜎 2 𝜋 −∞
∞ 1 2 2 2
[ − x + 2 tx + 2 x − ]
• Mx ( t ) = √1
∫ 𝜎 𝜇 𝜇
e 2 𝜎2 dx
𝜎 2 𝜋 −∞
∞ 1 2 2 2
− [ x − 2 𝜎 tx − 2 𝜇 x +𝜇 ]
• Mx ( t ) = √1
∫
−∞
e 2 𝜎2 dx
𝜎 2𝜋
15
− 1 [ x 2 − 2 ( 𝜎 2 t +𝜇) x +𝜇 2 ]
∫∞
• Mx ( t ) = √1
−∞
e 2 𝜎2 dx
𝜎 2𝜋
1
∞ − [ x − 2 ( 𝜎 t +𝜇) x +( 𝜎 t +𝜇) 2 − ( 𝜎 2 t +𝜇) 2 +𝜇 2 ]
2 2 2
• Mx ( t ) =
∫
√1 e 2 𝜎2 dx
𝜎 2𝜋 −∞
• Mx ( t ) =
1
1
∫∞ − { [ x 2 − 2 ( 𝜎 2 t +𝜇) x +( 𝜎 2 t +𝜇) 2 ] − [ ( 𝜎 2 t +𝜇) 2 − 𝜇 2 ] }
√
−∞
e 2 𝜎2 dx
𝜎 2𝜋
• consider
• (𝜎 2 t + 𝜇) 2 − 𝜇2 = (𝜎 2 t ) 2 + 2 𝜇𝜎 2 t + 𝜇2 − 𝜇2 = (𝜎 4 t 2 + 2 𝜇𝜎 2 t )
and
• [x 2 − 2 (𝜎 2 t + 𝜇) x + (𝜎 2 t + 𝜇) 2 ] = [x − (𝜎 2 t + 𝜇)] 2 , therefore
∫ ∞ − 1 { [ x − ( 𝜎 2 t +𝜇) ] 2 − ( 𝜎 4 t 2 +2 𝜇 𝜎 2 t ) }
• Mx ( t ) = √1 e 2 𝜎2 dx
𝜎 2 𝜋 −∞
1 2 2 1
∞ { − 2 [ x − ( 𝜎 t +𝜇) ] + 2 ( 𝜎 t +2 𝜇 𝜎 t ) } 4 2 2
• Mx ( t ) = √1
∫
e 2𝜎 2𝜎 dx
𝜎 2 𝜋 −∞
∞ 1 2 2 1 4 2 2
− [ x − ( t +𝜇) ] ( t + 2 t )
• Mx ( t ) = √1
∫ 𝜎 𝜎 𝜇 𝜎
e 2 𝜎2 e 2 𝜎2 dx
𝜎 2 𝜋 −∞
1 4 2 2 ∞ 1 2 2
( t + 2 t ) − [ x − ( t +𝜇) ]
• Mx ( t ) = √1 e 2 𝜎2
𝜎 𝜇 𝜎 ∫ 𝜎
−∞
e 2 𝜎2 dx
𝜎 2𝜋
1 4 2 2 ∞ 1 2 2
( 𝜎 t +2 𝜇 𝜎 t ) − [ x − ( 𝜎 t +𝜇) ]
• Mx ( t ) = e 2 𝜎2
∫
√1 e 2 𝜎 2 dx
−∞ 𝜎 2𝜋
• which is X ∼ N (𝜇 + 𝜎 2 t , 𝜎 2 ), the area under the curve is
16
1
∫∞ − [ x − ( 𝜎 2 t +𝜇) ] 2
• √1
−∞ 𝜎 2 𝜋
e 2 𝜎2 dx = 1, therefore
1 𝜎 4 t 2 +2 𝜇 𝜎 2 t 2 𝜎 2 ( 1 𝜎 2 t 2 +𝜇 t )
( 𝜎 4 t 2 +2 𝜇 𝜎 2 t ) 2
• Mx ( t ) = e 2 𝜎2 ( 1) = e 2 𝜎2 =e 2 𝜎2
2 𝜎 2 ( 1 𝜎 2 t 2 +𝜇 t )
2 1 2 2
• Mx ( t ) = e 2 𝜎2 = e2 𝜎 t +𝜇 t
17
Outline
1 Definition
18
Expected Value
• Recall; E ( X ) = Mx′ ( t )| t =0
1 2 2
• Mx ( t ) = e 𝜇t + 2 𝜎 t
1 2 2
• Mx′ ( t ) = (𝜇 + 𝜎 2 t ) e 𝜇t + 2 𝜎 t
1 2
(0) 2
• E ( X ) = Mx′ ( t )| t =0 = (𝜇 + 𝜎 2 ( 0)) e 𝜇 ( 0 )+ 2 𝜎
• E ( X ) = (𝜇 + 0) e ( 0+0 ) = 𝜇e0 = 𝜇( 1) = 𝜇
• The expected value or mean for Normal distribution is given by
E (X ) = 𝜇
19
Variance
• Var ( X ) = E ( X 2 ) − [ E ( X )] 2
• E ( X 2 ) = Mx′′ ( t )| t =0
1 2 2
• Mx′ ( t ) = (𝜇 + 𝜎 2 t ) e 𝜇t + 2 𝜎 t
1 Definition
21
The Standard Normal Distribution
24
Mean of the Standard Normal Distribution
25
Variance of the Standard Normal Distribution
26
Standard Normal Cumulative Distribution Function
27
Figure 6: Cumulative Probabilities
Types of Normal Curves (Area Under the Curve)
28
Figure 7: Area Under the Curve
Practical Examples
29
Outline
1 Definition
30
The Proof of Equality of Mean, Median, and Mode
Mean
31
Mode of Normal Distribution
35
Median of Normal Distribution
• M √ e − 2 ( 𝜎 ) dx + 𝜇 √ e − 2 ( 𝜎 ) dx = 1
𝜎 2𝜋 𝜎 2𝜋 2
36
∫∞ 1x−𝜇 2
• consider √1 e − 2 ( 𝜎 ) dx
𝜇 𝜎 2𝜋
x−𝜇
• Let z = dz 1
𝜎 , then dx = 𝜎 , therefore dx = 𝜎 dz
• change of limits,
• for x = 𝜇, z = 𝜇−𝜎𝜇 = 0
• and x = ∞, z = ∞−𝜇𝜎 =∞
∫∞ 1 x−𝜇 2 ∫∞ 1 1 2 ∫∞ 1 1 2
• 𝜇 √1 e− 2 ( 𝜎 ) dx = 0 √ e − 2 z dz =
0
√ e − 2 z dz
𝜎 2𝜋 𝜎 2𝜋 2𝜋
• recall standard normal density function
∫∞ 1 2
• 0 √1 e− 2 z dz = 12
2𝜋
∫∞ 1 x−𝜇 2 ∫∞ 1 2
• 𝜇 √1 e− 2 ( 𝜎 ) dx = 0 √1 e− 2 z dz = 12
𝜎 2𝜋 2𝜋
1 x−𝜇 2 ∫∞ 1 x−𝜇 2
• Recall, M √1 e− 2 ( 𝜎 ) dx + 𝜇 √1 e− 2 ( 𝜎 ) dx = 21
∫𝜇
𝜎 2𝜋 𝜎 2𝜋
1 x−𝜇 2
• M √1 e− 2 ( 𝜎 ) dx + 12 = 12
∫𝜇
∫ 𝜇 𝜎 2 𝜋 1 x−𝜇 2
• M √1 e− 2 ( 𝜎 ) dx = 12 − 21 = 0
∫ 𝜇 𝜎 2 𝜋 1 x−𝜇 2
• M √1 e− 2 ( 𝜎 ) dx = 0
𝜎 2𝜋
• M = 𝜇, the median of Normal distribution is 𝜇
• For Normal distribution , mean = median = mode = 𝜇, proved. 37
Outline
1 Definition
38
Empirical Rule for the Normal Distribution
• When you have normally distributed data, the mean and standard deviation
becomes particularly valuable.
• You can use them to determine the proportion of the values that fall within a
specified number of standard deviations from the mean.
• For example, in a normal distribution,
• 68.3% of the observations fall within ±1 sd from the mean,
• 95.4% of the observations fall within ±2 sd from the mean, and
• 99.7% of the observations fall within ±3 sd from the mean.
• This property is part of the Empirical Rule, which describes the percentage of
the data that fall within specific numbers of standard deviations from the mean
for bell shaped curves.
• The above explanation can be expressed mathematically as
40
Empirical Rule Proof by Using Standard Normal
𝜇−𝜎−𝜇 X −𝜇 𝜇+𝜎−𝜇
P (𝜇 − 𝜎 < X < 𝜇 + 𝜎) = P < < = 0.6826
𝜎 𝜎 𝜎
𝜇−𝜎−𝜇 X −𝜇 𝜇+𝜎−𝜇 −𝜎 𝜎
P < < =P <Z < = 0.6826
𝜎 𝜎 𝜎 𝜎 𝜎
−𝜎 𝜎
P( < Z < ) = P (−1 < Z < 1) = 0.6826
𝜎 𝜎
Therefore
41
Figure 9: Empirical Rule
42