Академический Документы
Профессиональный Документы
Культура Документы
Semester 1 2009-2010
F1 ∪ F2 ∪ · · · ∪ Fk = S
F1 ∪ F2 ∪ · · · ∪ Fk = S
P(E ) = P(E |F1 )P(F1 ) + P(E |F2 )P(F2 ) + · · · + P(E |Fk )P(Fk ).
P(E |F )P(E )
P(F |E ) = (1)
P(E |F )P(F ) + P(E |F c )P(F c )
This is a special case of Bayes Theorem
P(E |F )P(E )
P(F |E ) = (1)
P(E |F )P(F ) + P(E |F c )P(F c )
This is a special case of Bayes Theorem
Theorem
If we are given a collection of mutually exclusive and exhaustive
events F1 , F2 , . . . , Fk and E is an event with P(E ) > 0, then
Example
A car manufacturer receives its air conditioning units from 3
different suppliers, A, B, C . 20% of its units come from supplier A,
30% from supplier B and 50% from supplier C. It is known that
10% of the units from supplier A are defective, 8% of units from
supplier B are defective and 5% of units from supplier C are
defective. If a unit is selected at random and is found to be
defective, what is the probability that it came from:
(i) supplier A?
(ii) supplier C ?
Example
Two urns contain coloured balls. Urn 1 contains 4 blue, 3 green
and 5 red balls. Urn 2 contains 6 blue, 2 green and 3 red balls. A
ball is selected at random from urn 1 and transferred to urn 2. A
ball is then selected at random from urn 2. If the ball selected
from urn 2 is red, what is the probability that the ball transferred
from urn 1 was
(i) red?
(ii) green?
(iii) blue?
Example
Let R1 , G1 , B1 denote the events that the ball transferred from Urn
1 to Urn 2 was red, green and blue respectively. Let R2 , G2 , B2
denote the events that the ball selected from Urn 2 was red, green
and blue respectively.
(i)We want P(R1 |R2 ). Bayes Theorem tells us that this is equal to:
Example
Let R1 , G1 , B1 denote the events that the ball transferred from Urn
1 to Urn 2 was red, green and blue respectively. Let R2 , G2 , B2
denote the events that the ball selected from Urn 2 was red, green
and blue respectively.
(i)We want P(R1 |R2 ). Bayes Theorem tells us that this is equal to:
Example
Let R1 , G1 , B1 denote the events that the ball transferred from Urn
1 to Urn 2 was red, green and blue respectively. Let R2 , G2 , B2
denote the events that the ball selected from Urn 2 was red, green
and blue respectively.
(i)We want P(R1 |R2 ). Bayes Theorem tells us that this is equal to:
Example
A test for internal corrosion in sections of pipe in a chemical plant
correctly identifies corrosion in a corroded section with probability
0.8. On the other hand, the test incorrectly indicates corrosion in
an uncorroded section with probability 0.2. If the probability that
any section of pipe is corroded is 0.1, calculate:
(i) The probability that a section is corroded given that the test
indicates that it is.
(ii) The probability that a section of pipe is corroded given that
the test indicates that it is not.
P(T |C )P(C )
P(C |T ) =
P(T |C )P(C ) + P(T |C c )P(C c )
P(T |C )P(C )
P(C |T ) =
P(T |C )P(C ) + P(T |C c )P(C c )
(0.8)(0.1)
=
(0.8)(0.1) + (0.2)(0.9)
0.08
= = 0.31
0.26
P(T c |C )P(C )
P(C |T c ) =
P(T c |C )P(C )+ P(T c |C c )P(C c )
(0.2)(0.1)
=
(0.2)(0.1) + (0.8)(0.9)
0.02
= = 0.027.
0.74