L4 Probability and Counting Techniques
L4 Probability and Counting Techniques
Part 1
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 4-2
Important Terms
3. subjective probability
an individual judgment or opinion about the probability of occurrence
Sample Space
I n p r o b a b i l i t y t h e o r y, t h e s a m p l e s p a c e ( a l s o
called sample description space or possibility space) of
an experiment or random trial is the set of all possible
outcomes or results of that experiment. e.g. All 6 faces
of a dice:
n Contingency Tables
Ace Not Ace Total
Black 2 24 26
Red 2 24 26
Total 4 48 52
Sample
n Tree Diagrams 2
Sample
Ace Space
k Card
Blac
Space
Full Deck Not an Ace 24
of 52 Cards Ace
Red C 2
ar d
Not an
Ace 24
Mutually Exclusive Events
n Mutually exclusive is a statistical term describing two or
more events that cannot coincide. It is commonly used to
describe a situation where the occurrence of one
outcome supersedes the other.
example:
example:
A = Aces; B = Black cards;
C = Diamonds; D = Hearts
A’ A B A B
A
A’ AB AB
A B A A
B B
186
P ( A) 0.155
1,200
Part 2
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 4-14
Three Kinds of Probabilities
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Marginal Probability Example
P(Ace)
2 2 4
P( Ace and Re d) P( Ace and Black )
52 52 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Joint Probabilities Using Contingency Table
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
A2 P(A2 and B1) P(A2 and B2) P(A2)
CD No CD Total
AC 0.2 0.5 0.7
No AC 0.2 0.1 0.3
Total 0.4 0.6 1.0
P(A | B) P(A)
n Events A and B are independent when the probability
of one event is not affected by the other event
Multiplication Rules
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 4-31
Bayes’ Theorem for the
Revision of Probability
• In the 1700s, Thomas Bayes developed a
way to revise the probability that a first
event occurred from information obtained
from a second event.
• Bayes’ Theorem: For two events A and B
P( A| B) P( A and B)
P(B)
P( A)P(B| A)
[P( A)P(B| A)] [P( A')P(B| A')]
Bayes’ Theorem
P(A | Bi )P(Bi )
P(Bi | A)
P(A | B1)P(B1) P(A | B2 )P(B2 ) P(A | Bk )P(Bk )
n where:
Bi = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Bi)
Bayes’ Theorem Example
P(D | S)P(S)
P(S | D)
P(D | S)P(S) P(D | U)P(U)
(0.6)(0.4)
(0.6)(0.4) (0.2)(0.6)
0.24
0.667
0.24 0.12
% of total % of under-filled
Plant
production bottle
A 5.5 3.0
B 4.5 4.0
Bayes’ Theorem
P ( A) P (U | A)
P( A | U )
P ( A) P (U | A) P ( B ) P (U | B )
0.055(0.03)
0.4783
0.055(0.03) 0.045(0.04)
The likelihood the bottle was filled in plant A is reduced
from 0.55 to 0.4783.
Counting
Example: