Professional Documents
Culture Documents
Aims and Objectives: 4. Conditional Probabilty and Independence
Aims and Objectives: 4. Conditional Probabilty and Independence
CHAPTER 4
Introduction
It is to be recalled that up to this moment we were talking about events that are
independent. Nevertheless, it seems to be somewhat ambitious to assume that events
are always independent. In the real world variables are known to be interrelated or
dependent to one another, and so do events. Accordingly, in most cases it seems rare
to find probabilities of events that do not involve conditional probabilities. Most
business problems call for Bayes’ theorem. A case in point can be the field of
operations research. The concept of Bayes’ theorem can be seen to be the reverse of
the idea of conditional probabilities.
Conditional probability refers to those probabilities that arise in the case of dependent
events. To introduce this important concept let us consider the following example.
a) with replacement
b) without replacement
Solution:
Example 2: Suppose a box contains 10 good items and 6 defective items. Choose 2
items at a random
a) With replacement
b) Without replacement
Exercise!
P( A B)
P( B / A) ; where P(A) 0
P( A)
P( A B)
Similarly P( A / B) ; where P(B) 0
P( B)
i. 0 P(A/B) 1
ii. P(S/B) =1; where S denotes the Sample Space.
n n
iii. P( A i /B ) P(Ai /B) if A i Aj for i j
i 1 i 1
Example: We roll a pair of dice once and are given that the two faces are not the
same. Compute the probability that the sum is 7
Solution:
Let A= the two numbers that occur are different
B= the sum is 7
1 2 3 4 5 6
From the table we can see that: P(A) = 30/36 =5/6 ,P(B)= 6/36 =1/6 , P(AB) =1/6
Female (B) 64 16 80
Find
n( A B)
P( A B) n( S ) n( A B) 64 4
a) P( A / B)
P( B) n( B ) n( B ) 80 5
n( S )
n( A B )
P( A B ) n( S ) n( A B ) 42 7
b) P( A / B )
P( B ) n( B ) n( B ) 120 20
n( S )
n( B A)
P( B A) n( S ) n( B A) 16 32
c) P( B / A)
P( A) n ( A) n( A) 94 47
n( S )
Recall that
P( A B)
P( A / B)
P( B)
P( A B) P( A / B) P( B) (1)
P( B A)
Similarly, P( B / A)
P( A)
P( B A) P( B / A) P( A) (2)
Equations (1) and (2) are sometimes known as multiplication rule of probability. They
are used to find the probability of simultaneous occurrence of events.
Example:
Suppose that our sample space is the population of adults in a small town who have
completed the requirements for a college degree. They are categorized according to
sex and employment status as follows.
A person is selected at random. What is the probability that the selected person is
a) a man given that he is employed
b) unemployed given that she is female
c) a male or a female
d) unemployed male
e) employed
Solution:
30
P( M E ) 30 3
a) P( M / E ) 160
P( E ) 50 50 5
160
70
P( M E ) 70 7
b) P( E / M ) 160
P( M ) 90 90 9
160
c) P(M M ) P(S ) 1
n( E M ) 40 1
d) P( E M )
n( S ) 160 4
n( E ) 50 5
e) P( E )
n( S ) 160 16
Definition (Partition of Sample Space): We say that the events B1, B2, ….Bk represents
partition of the sample space S if
c) P(Bi) > 0 i
Example: For tossing a die B1={1, 2} B2= {3, 4, 5} B3= {6} would represent the partition
of the sample space, while C1={1, 2, 3, 4} and C2= {4, 5, 6} would not because they have
intersection point.
Let A be some event associated with S and let B1, B2, … Bk be partitions of S. Hence we
can write
Of course some of A Bi may be empty. Note that since Bis are partitions and have
no intersection (mutually exclusive events) all sets (A B1), (A B2), …,(A Bk) are
pair wise mutually exclusive.
But P(A Bi), each for each and every i, may be expressed as P(A/Bi) P(Bi) and we
obtain what is called the theorem of total probability.
Example: Three machines A, B and C produce 50%, 30% and 20% of the total output
respectively. The percentages of defective output of these machines are 3%, 4% and
5% respectively. If an item is selected at random, what is the probability that the item
is defective?
Solution:
= (0.5)(0.03)+(0.3)(0.04)+(0.2)(0.05)
= 0.037
P( A / B ) P( B )
i 1
i i
Proof:
P( Bi A) P( A / Bi ) P( Bi )
P( Bi / A)
P( A) P( A)
k
But then from total probability theorem we have P(A) P( A / Bi ) P( Bi ), thus
i 1
P( A / Bi ) P( Bi )
P( Bi / A) k
P( A / B ) P( B )
i 1
i i
Example: Consider the previous example. An item was selected and is found to be
defective. What is the probability that it is from B1?
Solution:
P( A / B1 ) P( B1 ) P( A / B1 ) P( B1 )
P( B1 / A)
3
P( A / B1 ) P( B1 ) P( A / B2 ) P( B2 ) P( A / B3 ) P( B3 )
P( A / B ) P( B )
i 1
i i
(0.03)(0.5) 15
0.037 37
4.2.INDEPENDENT EVENTS
Recall that for mutually exclusive events A B = P(A B) = 0. On the other hand,
P( A B) P( A)
if A B, P( B / A) 1
P( A) P( A)
Knowing the occurrence of one event gives us clue as to the probability of the
occurrence of the others. However, there are situations in which the occurrence or
non-occurrence of an event has no bearing on the probability of occurrence of the
other.
Solution
Definition (Independent events): Two events A and B are said to be independent iff
P(AB)=P(A) P(B)
B=S
P(A∩B)=P(A)P(B)
P(B∩C)=P(B)P(C)
P(A∩C)=P(A)P(C)
P(A∩B∩C)=P(A)P(B)P(C)