002 Probability-and-Statistics-Part-2-Probability
002 Probability-and-Statistics-Part-2-Probability
PART 2 - PROBABILITY
Probability
What is Probability?
● 𝑛! = 3! = 3 × 2 × 1 = 6 permutations
Permutations
36! 36 × 35 × 34 × 33 × 32 × 31 …
36 𝑃4 = =
36 − 4 ! 32 × 31 …
𝑛𝑟
Permutations Example #2
𝑛!
𝑛𝐶𝑟 =
𝑟! (𝑛 − 𝑟)!
Combinations vs. Permutations
𝑛! 10!
𝑛𝐶𝑟 = = = 210
𝑟! (𝑛 − 𝑟)! 4! (10 − 4)!
Combinations Example #1a
For a pizza, 4 ingredients are chosen
from a total of 10 ingredients.
(𝑛 + 𝑟 − 1)!
𝑛+𝑟−1 𝐶𝑟 =
𝑟! (𝑛 − 1)!
Combinations Example #2
(𝑛 + 𝑟 − 1)! 13!
𝑛+𝑟−1 𝐶𝑟 = = = 715
𝑟! (𝑛 − 1)! 4! (9)!
Combinations with/without repetition
● In this case:
9 9 3 15
𝑃 𝐴∪𝐵 = + − = = 𝟏. 𝟎
15 15 15 15
Complements
1 1 1 H H
= × = H T
2 2 4 T H
T T
Dependent Events
𝑃 𝑅2 |𝑅1
Conditional Probability
On 16
Under
Time Budget
48 62
100
Conditional Probability Exercise
Given that a project is completed on time B,
what is the probability that it is under budget A?
𝑃 𝐴∩𝐵
𝑃 𝐴𝐵 =
On Under 𝑃(𝐵)
Time 16 Budget
16
48 62 = = 𝟎. 𝟑𝟑
100
48
Addition & Multiplication
Rules
Addition Rule
48 62 16 On Under
16 Budget
= + − Time
100 100 100 48 62
100
= 0.48 + 0.62 − 0.16
= 𝟎. 𝟗𝟒
Addition Rule for
Mutually Exclusive Events
Health Plan Enrollments
● When two events cannot both
happen, they are said to be Plan A Plan B
32 56
mutually exclusive. 100
● In this case, the addition rule becomes:
𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 −𝑃(𝐴 ∩ 𝐵)
Multiplication Rule
𝑃 𝐴∩𝐵
𝑃 𝐴𝐵 = 𝑝𝑟𝑜𝑣𝑖𝑑𝑒𝑑 𝑡ℎ𝑎𝑡 𝑃 𝐵 > 0
𝑃(𝐵)
𝑃(𝐵|𝐴) ∙ 𝑃(𝐴)
𝑃 𝐴𝐵 = 𝑝𝑟𝑜𝑣𝑖𝑑𝑒𝑑 𝑡ℎ𝑎𝑡 𝑃 𝐴 , 𝑃 𝐵 > 0
𝑃(𝐵)
Bayes Theorem