Slide Chap2
Slide Chap2
Slide Chap2
PROBABILITY
LEARNING OBJECTIVES
1. Sample spaces and events
2. Interpretations of Probability
3. Addition rules
4. Conditional probability
5. Multiplication and total probability rules
6. Independence
7. Bayes’ theorem
8. Random variables
Sample spaces and events
Example
Tree diagram:
H1 H2 H3 H4 H5 H6 T1 T2 T3 T4 T5 T6
Important properties:
A (B C) = (A B) C
A (B C) = (A B) C
A (B C) = (A B) (A C)
(A B)’ = A’ B’
(A B)’ = A’ B’
A = (A B) (A B’)
Interpretations of Probability
Introduction
X 12 face cards 3
T 52 total cards 13
Interpretations of Probability
1. P(S) = 1
2. 0 ≤ P(E) ≤ 1
3. For two events E1 and E2 with E1∩E2 = Ø
P(E1 E2) = P(E1) + P(E2)
Interpretations of Probability
For a discrete sample space, the probability of an event E, denoted
as P(E ), equals the sum of the probabilities of the outcomes in E.
𝑃 𝐴 + 𝑃 𝐴 ) =1
( ′
( )
P(B|A) = .
Partitioning an event
into two mutually
exclusive subsets.
Partitioning an
event into several
mutually
exclusive subsets.
Total Probability Rule
Total Probability Rule: two events
𝑃 ( 𝐵 )=𝑃 ( 𝐵 ∩ 𝐴 )+ 𝑃 ( 𝐵∩ 𝐴 ′ ) =𝑃 ( 𝐵| 𝐴) 𝑃 ( 𝐴 ) + 𝑃 ( 𝐵| 𝐴′ ) 𝑃 ( 𝐴 ′ )
Hint:
Let H denote the event that the chip is exposed to high level of contamination.
So P(H) = 0.2 and P(H’) = 0.8.
Hint:
P(B|A) = 49/849
𝑃 ( 𝐸𝑖 ∩ 𝐸 𝑖 ∩ … ∩ 𝐸𝑖 ) =𝑃 ( 𝐸 𝑖 ) 𝑃 ( 𝐸𝑖 ) … 𝑃 ( 𝐸𝑖 )
1 2 𝑘 1 2 𝑘
P(T’∩B’) = P(T’)*P(B’)
Let T and B denote the = (1 - 0.95)2 =0.052
events that the top and
bottom devices operate, So P(T B) = 1 - 0.052 =0.9975
respectively.
Bayes’ Theorem
If E1, E2, …, Ek are k mutually exclusive and exhaustive
events and B is any event,
P(B | E1 )P( E1 )
P( E1 | B)
P(B | E1 )P( E1 ) P(B | E2 )P(E2 ) ... P(B | Ek )P(Ek )
for P(B) 0
A special case:
P ( B | A) P ( A)
P( A | B) for P ( B ) 0
P( B)
Bayes’ Theorem
Example 1: In a state where cars have to be tested for the
emission of pollutants, 25% of all cars emit excessive amount of
pollutants. When tested, 99% of all cars that emit excessive
amount of pollutants will fail, but 17% of all cars that do not
emit excessive amount of pollutants will also fail. What is the
probability that a car that fails the test actually emits excessive
amounts of pollutants?