week_4_2
week_4_2
Normal distribution
X µ a µ
To calculate P(X < a): standardize it Z = , and find P Z <
from the standard normal table.
4
The standard normal
Each row indicates the first digit, columns for the second digit.
5
Another way to view normal
X =µ+ ⇥Z
Then
2
X ⇠ N(µ, )
2 2
Why? Remeber E [X ] = µ + ⇥ E [Z ] = µ and Var[X ] = Var[Z ] = .
Linear transformation keeps normal distribution.
6
More calculations of normal distribution
8
Standard normal table
x 0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09
0.0 0.5000 0.5040 0.5080 0.5120 0.5160 0.5199 0.5239 0.5279 0.5319 0.5359
..........
0.3 0.6179 0.6217 0.6255 0.6293 0.6331 0.6368 0.6406 0.6443 0.6480 0.6517
0.4 0.6554 0.6591 0.6628 0.6664 0.6700 0.6736 0.6772 0.6808 0.6844 0.6879
..........
1.4 0.9192 0.9207 0.9222 0.9236 0.9251 0.9265 0.9279 0.9292 0.9306 0.9319
1.5 0.9332 0.9345 0.9357 0.9370 0.9382 0.9394 0.9406 0.9418 0.9429 0.9441
1.6 0.9452 0.9463 0.9474 0.9484 0.9495 0.9505 0.9515 0.9525 0.9535 0.9545
1.7 0.9554 0.9564 0.9573 0.9582 0.9591 0.9599 0.9608 0.9616 0.9625 0.9633
1.8 0.9641 0.9649 0.9656 0.9664 0.9671 0.9678 0.9686 0.9693 0.9699 0.9706
1.9 0.9713 0.9719 0.9726 0.9732 0.9738 0.9744 0.9750 0.9756 0.9761 0.9767
2.0 0.9772 0.9778 0.9783 0.9788 0.9793 0.9798 0.9803 0.9808 0.9812 0.9817
..........
9
Approximate binomial by normal
1
DeMoivre first proved the approximation with p = 2 in 1733, then
Laplace extended to general p in 1812.
10
Approximate binomial by normal
The idea size of a first-year class at a college is 150 students. The college
knows that on average 30% students accept the o↵er. The college makes
450 o↵ers this year. Calculate the probability of more than 150 students
accepting the o↵er.
Let X denote number of students accept the o↵er, it follows the binomial
distribution Bin(450, 0.3), we want to calculate P(X > 150). We
approximate it by normal N(np, np(1 p))
✓ ◆
X 450 ⇥ 0.3 150 450 ⇥ 0.3
P(X > 150) = P p >p = P(Z > 1.59)
450 ⇥ 0.3 ⇥ 0.7 450 ⇥ 0.3 ⇥ 0.7
Search the standard normal table, we know P(Z < 1.59) = 0.9441. So
the result is 0.0559.
11
Exponential distribution
12
Exponential distribution
E [X ] = 1 , Var[X ] = 1
2 , E [X n ] = n E [X n 1
]
13
Exponential distribution
14
Example
15
Memoryless of exponential
• X ⇠ Exp( )
• P(X > s + t | X > s) =?
• Remeber that the CDF is FX (x) = 1 e x
•
P(X > s + t and X > s)
P(X > s + t | X > s) =
P(X > s)
P(X > s + t)
=
P(X > s)
(s+t)
e
= s
e
t
=e = P(X > t)
16
Example of the memoryless property
You enter a post office, there are two clerks serving two customers.
Suppose a clerk serving time for any customer is exponential distribution
. You will be served once any of the two customers finish. What’s the
probability that you are the last customer to leave the post office?
• When you start being served, one customer (say customer A) has
already left the post office.
• Because of the memoryless property, the serving time for you and
customer B are the same exponential distribution with .
• By symmetry, you and customer B have the same distribution of
serving time, so you have equal probability of finishing first. 12 .
17
Memoryless of exponential
18
Memoryless of exponential
19