5 Probability and Probability Distribution
5 Probability and Probability Distribution
Continuous Probability
Normal Distribution
Distribution
P(x=6) = 1/6
Example:
• 10 ping pong balls are numbered 1-10 and placed in a
bag. One ping pong ball is removed from the bag
randomly. Find the probability that the number on the
drawn ping pong ball is between 7 and 10.
where:
P(X) = probability of X successes in n trials, with the probability of
success p on each trial
X = number of ‘successes’ in sample, (X = 0, 1, 2, ..., n)
n= sample size (number of trials or observations)
p = probability of ‘success’
1-p = probability of failure
Binomial Distribution: Example
• Example: A customer has a 35% probability of making a purchase.
Ten customers enter the shop. What is the probability of three
customers making a purchase?
= 0.67
Example – Alternative
Solution
• Identify the P(Z< 2/3) = P(Z<0.67) in the Z Distribution Table
SOLUTION:
1. Get the Z scores: If x=5, z = (5-7)/2 = -1.00 and if x =9, z =(9-7)/2 =1
2. P ( 5 < X < 9) = P( -1.00 < Z < 1.00)
= P( Z<1.00) – P( Z < -1.00)
= 0.8413 – 0.1587
= 0.6826
Example
• Time spent on the home page of visitors of Website A is
normally distributed with a mean of μ = 26.5 seconds and a
standard deviation of σ = 2.5 seconds. Approximately what
percentage of visitors stay more than 26 seconds?
𝑋− 𝜇 26−26.5
𝑍= = = -0.2
𝜎 2.5
P (X> 26) = 1 – P(Z < -0.2) = 1 – 0.4207 = 0.5793
1. P(X<x) =0.95
2. P(X<x) =0.90
3. P(X >x) = 0.35
4. P( x1 <X < x2) = 0.6
Example:
• There are approximately one billion smartphone users in the
world today. In the United States, the ages of smartphone
users from 13 to 55+ follow a normal distribution with
approximate mean and standard deviation of 36.9 years and
13.9 years, respectively. 80% of the users in the age range 13
to 55+ are less than what age?
Example:
• Solution:
• X ~ N(36.9, 13.9)
P(Z < z) =0.80 → From the Z table, the z value that will give a
probability of ≈ 0.80 is 0.84.
𝑋− 𝜇
𝑍= → X = 𝑍𝜎 + 𝜇 = 0.84(13.9) + 36.9 =48.58
𝜎
P(Z < z) =0.45 → From the Z table, the z value that will give a
probability of ≈ 0.45 is -0.12.
𝑋− 𝜇
𝑍= → X = 𝑍𝜎 + 𝜇 = -0.12(13.9) + 36.9 =35.23
𝜎