Conditional Probability (Example and Exercises, Walpole, 8 Edition)
Conditional Probability (Example and Exercises, Walpole, 8 Edition)
Conditional Probability (Example and Exercises, Walpole, 8 Edition)
Example
S = {population of adults completed the requirements for a degree}
Example
The probability that a regularly scheduled flight departs (D) and arrives (A) on time
are as follow:
P(D) = 0.83
P(A) = 0.82
P(D∩A) = 0.78
Find
(a) The probability of arriving on time given that it departed on time
(b) The probability of departing on time given that it arrived on time
1
(c) What if the flight did not depart on time, and what is the probability that it arrives
on time?
2
Multiplicative Rules
If in an experiment, the events A and B, both occur, then
Example
A box containing 20 fuses, 5 are defective. Select 2 fuses and remove, but in
succession without replacing the first, what is the probability of both fuses are
defective?
Example
An electrical system consists of four components as illustrated. The system works if
components A and B work and either of the components C or D work. The reliability
(probability of working) of each component is also shown in the box. Find the
probability that
(a) the entire system works
(b) the component C does not work, given that the entire system works.
Assume that four components work independently.
C
A B 0.8
0.9 0.9
D
0.8
3
Example
Playing cards and the probability of the following event:
Exercise
In the senior year of a high school graduating class of 100 students, 42 studied
mathematics, 68 studied psychology, 54 studied history, 22 studied both mathematics
and history, 25 studied both mathematics and psychology, 7 studied history but
neither mathematics nor physics, 10 studied all three subjects and 8 did not take any
of the three. If a student is selected at random, find the probability that
(a) a person enrolled in psychology takes all three subjects;
(b) a person not taking psychology is taking both history and mathematics.
Exercise
A manufacturer of flu vaccine is concerned about the quality of its flu serum. Batches
of serum are processed by three different departments having rejection rates of 0.10,
0.08, and 0.12 respectively. The inspections by the three departments are sequential
and independent.
(a) What is the probability that a batch of serum survives the first departmental
inspection but is rejected by the second department?
(b) What is the probability that a batch of serum is rejected by the third department?
4
Bayes’ Rule
(Example and Exercises, Walpole, 8th edition)
Refer to conditional probability. (Lecture 11, pg 29)
Employed Unemployed Total
Male 460 40 500
Female 140 260 400
Total 600 300 900
Rotary Club 36 12 48
5
The theorem of total probability is illustrated by the case where the sample space is
partitioned in k subsets,
In the events B1, B2, ….., Bk constitute a partition of the sample space, S, such that
P(Bi) ≠ 0 for i = 1, 2, ….., k then for any event A of S,
Bayes’ Rule
6
Example
The machines make 30%, 45% and 25% respectively. From the past experience, we
know the defective rates as:
Bayes’ Rule:
7
Exercise
1. From 4 red, 5 green, and 6 yellow apples, how many selections of 9 apples are
possible if 3 of each colour are to be selected?
Exercise
2. Pollution of the rivers in the United States has been a problem for many years.
Consider the following events:
Assume:
P( A) 0.3 , P( B A) 0.75 , P( B A) 0.20 , P(C A B) 0.20
P(C A B) 0.15 , P(C A B ) 0.80 , P(C A B ) 0.90
(a) Find P( A B C ) .
(b) Find P( B C ) .
(c) Find P(C ) .
(d) Find the probability that the river is polluted, given that fishing is permitted and
the sample tested did not detect pollution.