Lesson 4 - Probability Distribution (1)
Lesson 4 - Probability Distribution (1)
Probability
Review on
Random Variable
A random variable is a variable whose possible values are
determined by chance.
Example:
Say that X represents the number of heads that appear in
tossing a coin. The possible values of the random variable X
are 0 and 1.
A discrete random variable can only take a finite (countable)
number of distinct values.
Distinct values mean values that are exact and can be represented
by whole numbers.
Probability is a measure of
likelihood/chance that an event will happen
in the future
Probability Distribution
• A probability distribution tells you what the probability of
an event happening is.
• Probability distributions can show simple events, like
tossing a coin or picking a card. They can also show
much more complex events, like the probability of a
certain drug successfully treating cancer.
Probability Distribution of a
Discrete Random Variable
• The probability distribution of a discrete random variable
is a list, a table, a graph, or a formula of
probabilities associated with each of its possible
values.
Find the probability that the shop will be able to sell at least three
smartphones on any given day.
DAY 1 3 DAY 6 1 DAY 11 2
𝜇 = 𝐸 𝑋 = Σ[𝑋 ∙ 𝑃 𝑋 ]
Steps in computing for the Mean of a Discrete Random Variable
1. Construct the probability distribution.
2. Determine the value of 𝑋 ∙ 𝑃 𝑋 .
3. Add the values of 𝑋 ∙ 𝑃 𝑋 to determineΣ[𝑋 ∙ 𝑃 𝑋 ].
Example
Determine the mean of the following probability distribution.
𝑿 𝑃 𝑋 𝑿 ∙ 𝑷(𝑿)
1 0.17
2 0.21
3 0.25
4 0.22
5 0.15
Example
Determine the mean of the following probability distribution.
𝑿 𝑃 𝑋 𝑿∙𝑃 𝑋
1 0.17 0.17
2 0.21 0.42
3 0.25 0.75
4 0.22 0.88
5 0.15 0.75
Example
Determine the mean of the following probability distribution.
𝑿 𝑃 𝑋 𝑿∙𝑃 𝑋
1 0.17 0.17
2 0.21 0.42
3 0.25 0.75
4 0.22 0.88
5 0.15 0.75
Total 2.97
The mean of the probability distribution is 2.97.
Example
A bakeshop recorded the number of customers they have on a
given day along with its corresponding probability. How many
customers do they have on average?
𝑿 𝑷(𝑿) 𝑿 ∙ 𝑷(𝑿)
40 0.23 9.2
50 0.32 16
60 0.29 17.4
70 0.16 11.2
Total 53.8
Example: 1,1,1
Since they are all 1 (identical), the variance is 0.
The variance and the standard deviation of a discrete random
variable describes the dispersion or the variability of the
distribution.
VARIANCE
Small High
The data points tend to The data points are very
be very close to the spread out around the
mean and to each other. mean and from each other.
The variance and the standard deviation of a discrete random
variable describes the dispersion or the variability of the
distribution.
Variance:
𝜎2 = Σ 𝑋2 ∙ 𝑃 𝑋 − 𝜇2
Standard Deviation:
𝜎= Σ[𝑋 2 ∙ 𝑃 𝑋 ] − 𝜇2
Example: Determine the variance and the standard deviation of
the given probability distribution.
𝑿 𝑷(𝑿) 𝑿 ∙ 𝑷(𝑿)
1
0 0 The mean is
8 3
3 3 𝜇 = Σ[𝑋 ∙ 𝑃 𝑋 ] =
1 2
8 8
3 6
2
8 8
1 3
3
8 8
𝟑
Total
𝟐
Example: Determine the variance and the standard deviation of
the given probability distribution.
1
0 0 0 0 The mean is
8
𝟑
3 3 3 𝜇=
1 1 𝟐
8 8 8
3 6 12
2 4 Σ 𝑋2 ∙ 𝑃 𝑋 =𝟑
8 8 8
1 3 9
3 9
8 8 8
𝟑
Total 3
𝟐
Example: Determine the variance and the standard deviation of
the given probability distribution.
𝜎 2 = Σ 𝑋2 ∙ 𝑃 𝑋 − 𝜇2
2
3
𝜎2 =3−
2
The variance is
2
9 3
𝜎 =3− 𝜎2 =
4 4
2
3
𝜎 =
4
Example: Determine the variance and the standard deviation of
the given probability distribution.
𝜎= Σ[𝑋 2 ∙ 𝑃 𝑋 ] − 𝜇 2
3
Since the variance is 𝜎2 = 4
3
𝜎 =
4
3 The Standard Deviation is 𝜎 ≈ 𝟎. 𝟖𝟕
𝜎 = ≈ 𝟎. 𝟖𝟕
2
Practice Exercise
Example: Construct a Probability Distribution. Find the Mean,
Variance, and Standard Deviation.
0 5/36 0 0 0
𝜎 2 = Σ 𝑋2 ∙ 𝑃 𝑋 − 𝜇2 𝜎= Σ[𝑋 2 ∙ 𝑃 𝑋 ] − 𝜇2 𝝁 = 99/36
𝜎 2 = 347/36 − 99/362
𝟐
𝟐𝟗𝟗
𝜎 2 = 347/36 − 121/16 299 𝝈 =
𝜎= = 1.44 𝟏𝟒𝟒
144
299
𝜎2 = 𝝈 = 1.44
144
Assessment
Example: Construct a Probability Distribution. Find the Mean,
Variance, and Standard Deviation.
0 1/25 0 0 0
𝜎 2 = Σ 𝑋2 ∙ 𝑃 𝑋 − 𝜇2 𝜎= Σ[𝑋 2 ∙ 𝑃 𝑋 ] − 𝜇2 𝝁 = 135/25
𝜎 2 = 813/25 − 135/252
𝟐
𝟖𝟒
𝜎 2 = 813/25 − 729/25 84 𝝈 =
𝜎= = 1.83 𝟐𝟓
25
84
𝜎2 = 𝑂𝑅 3.36 𝝈 = 1.83
25
Thank
You!