Lecture 05
Lecture 05
Probability
Conditional probability
Bayes’ theorem
Counting rules
Probability Concepts
Probability Concepts
Random experiments
Events
Empirical probability
Logical probability
Subjective probability
Simple probability
Joint probability
Random Experiments
A random experiment is an observational process
whose outcomes cannot be known in advance.
The set of all outcomes is the sample space for the
experiment.
A sample space with a countable
𝑛 𝑛
𝑃 𝑆 = ራ 𝐸𝑖 = 𝑃(𝐸𝑖 ) = 1
𝑖=1 𝑖=1
𝑖𝑓 𝐸𝑖 ∩ 𝐸𝑗 = ∅, ∀𝑖 ≠ 𝑗
Example. Let S be the event that a randomly
chosen female aged 18–24 is a smoker.
Let C be the event that a randomly chosen female
aged 18–24 is a Caucasian.
Given 𝑃 𝑆 = 0.246; P C = 0.830; P S ∩ 𝐶 = 0.232.
𝑃 𝑆 ′ = 1 − 𝑃 𝑆 = 1 − 0.246 = 0.734
𝑃 𝐶 ′ = 1 − 𝑃 𝐶 = 1 − 0.830 = 0.170
𝑃 𝑆 ∩ 𝐶 ′ = 𝑃 𝑆 − 𝑃 𝑆 ∩ 𝐶 = 0.014
Conditional Probability
Conditional Probability
The probability of event A
given that event B has
occurred.
Multiplication rule
P(A B) P(A | B) P(B)
P ( A) 1 P ( A)
P( A) P( A) Odds
Odds = P ( A) P ( A)
P( A ') 1 P( A)
Example: Suppose the IRS tax audit rate is 1.41
percent among taxpayers earning between
$100,000 and $199,999.
Conditional probability:
P(GPS AC) 0.35
P(GPS | AC) 0.3889
P(AC) 0.90
Decision Trees
Decision Trees
.35
.90 P(AC ∩ GPS) = 0.35
Given AC or
no AC:
Developed by
Thomas
Bayes in the
18th Century.
Bayes’ theorem say that
Basic procedure of Bayesian methodology
Example
Rule 3
• The number of ways that n items can be arranged in
order is n! = (n)(n – 1)…(1)
Rule 4 - Permutations
• An arrangement of a set of objects with regard to the
order of the arrangement 𝑛 𝑃𝑘
Rule 5 - Combinations
Find the minimum number of
students in the class such that five • An arrangement of a set of objects without regard to the
of them are born in the same 𝑛
month? order of the arrangement 𝑛 𝐶𝑘 ≡
𝑘
Contents
Permutations
Combinations
Multinomial Coefficients
Get started by A simple example
Suppose a communication system:
14 14 14!
expansion of 𝑥 + 𝑦 is =
6 6! 14−6 !
𝑛 𝑛! 𝑛!
Counting: # divisions 𝑛 , 𝑛 , … , 𝑛 ≡ = ς𝑟
1 2 𝑟 𝑛 !𝑛
1 2 !⋯𝑛 𝑟 ! 𝑗=1 𝑛𝑗 !
where
𝐴𝑟,𝑛 = 𝑛1 , 𝑛2 , … , 𝑛𝑟 ∈ 𝑁 𝑟 |𝑛1 + 𝑛2 + ⋯ + 𝑛𝑟 = 𝑛
Example. The coefficient on 𝑥 5 𝑦 2 𝑧 7 in the expansion of
14 14 14!
𝑥+𝑦+𝑧 is = = 72,072
5, 2,7 5! 2! 7!
-- The End of Topic --
Thank You!