Chapter 5: Discrete Probability Distributions: Farouq Alam, Ph.D. Department of Statistics, KAU
Chapter 5: Discrete Probability Distributions: Farouq Alam, Ph.D. Department of Statistics, KAU
Textbook:
Bluman, A. G. (2016). Elementary Statistics a Step
by Step Approach. McGraw-Hill Education.
Customized edition for the Department of Statistics
at King Abdulaziz University, pp. 258 – 309
5 – 1: Probability Distributions
A random variable is a variable whose values are
determined by chance.
Outcomes 1 2 3 4 5 6
X
Probability 1/6 1/6 1/6 1/6 1/6 1/6
P(X)
The probabilities of the values of the
random variable
Example 5 – 2: Tossing Coins
Find the probability distribution of the number
of heads when tossing three coins.
Extra example:
Example 5 – 3 (Page 260-261)
Two Requirements for a Probability
Distribution
Requirement #1:
0 ≤ 𝑃 𝑋 ≤ 1, ∀𝑋
Requirement #2:
∑𝑃 𝑋 = 1
Example 5 – 4: Probability Distributions
X 5 8 11 14 Not a probability
(a)
P(X) 0.2 0.6 0.1 0.3 distribution!
X 1 2 3 4 5 A probability
(b)
P(X) 1/4 1/8 3/8 1/8 1/8 distribution!
Example 5 – 4 (cont.)
X -1 2 3 4 A probability
(c)
P(X) ¼ ¼ ¼ ¼ distribution!
Variance of X:
𝜎 2 = ∑𝑋 2 ⋅ 𝑃 𝑋 − 𝜇2
Standard Deviation of X:
𝜎= 𝜎2 = ∑𝑋 2 ⋅ 𝑃 𝑋 − 𝜇2
Example 5 – 5 and 5 – 9: Rolling a Die
𝑿 1 2 3 4 5 6
𝑃(𝑋) 1/6 K 1/6 1/6 1/6 1/6
Example 5 – 5 and 5 – 9 (cont.)
𝑿 1 2 3 4 5 6 ∑
𝑃(𝑋) 1/6 1/6 1/6 1/6 1/6 1/6 1
𝑋 ⋅ 𝑃(𝑋) 1/6 2/6 3/6 4/6 5/6 6/6 21/6
𝑋 2 ⋅ 𝑃(𝑋) 1/6 4/6 9/6 16/6 25/6 36/6 91/6
The mean (expected value):
𝟐𝟏
𝜇 = 𝐸 𝑋 = ∑𝑋 ⋅ 𝑃 𝑋 = = 𝟑. 𝟓
𝟔
Example 5 – 5 and 5 – 9 (cont.)
The variance:
2
𝟗𝟏 𝟐𝟏 91 441
𝜎2 = ∑𝑋 2 ⋅𝑃 𝑋 − 𝜇2 = − = −
𝟔 𝟔 6 36
546 − 441 𝟏𝟎𝟓
= = = 𝟐. 𝟗𝟏𝟕
36 𝟑𝟔
The standard deviation:
𝜎 = 2.917 ≈ 𝟏. 𝟕𝟎𝟖
The Expected value of X
The expected value E(X) of a discrete random
variable X of a probability distribution is the
theoretical average of the variable.
Example 5 – 14: Bond Investment
A financial adviser suggests that his client select one
of two types of bonds in which to invest $5000.
Bond A pays a return of 4% and has a default
rate of 2%. Bond B has a return 2.5% and a
default rate of 1%. Find the expected rate of
return and decide which bond would be a better
investment. When the bond defaults, the investor
loses all the investment.
Example 5 – 14 (cont.)
Bond A:
Win Lose
X $200 -$5000
𝑃(𝑋) 0.98 0.02
𝑋 ⋅ 𝑃(𝑋) 196 -100
E(X) = $96
Example 5 – 14 (cont.)
Bond B:
Win Lose
X $125 -$5000
𝑃(𝑋) 0.99 0.01
𝑋 ⋅ 𝑃(𝑋) 123.75 -50
E(X) = $73.75
Other examples
Mean: Examples 5 – 6, 5 – 7, and 5 – 8.
Variance and standard deviation: Examples 5 –
10, and 5 – 11.
Expected value: Example 5 – 12.
5 – 3: The binomial distribution
A binomial experiment is a probability experiment that
satisfies the following four requirements:
1. There must be a fixed number of trials.
Important note: 𝑝 + 𝑞 = 1, 0 ≤ 𝑝, 𝑞 ≤ 1
The binomial distribution (cont.)
Notation Meaning
𝑛 The number of trials
The number of successes in 𝑛 trials
𝑋
𝑋 = 0,1, … , 𝑛
𝑝 The probability of success
𝑞 The probability of failure
Example 5 – 18: Survey on Employment
The variance:
𝜎2 = 𝑛 ⋅ 𝑝 ⋅ 𝑞
1 2
1 1
𝜇 = 4 ⋅ = 2, 𝜎 = 4 ⋅ ⋅ = 1, 𝜎= 1=1
2 2 2
Other examples
The binomial distribution: Examples 5 – 16, and 5
– 17.