STA 121 LESSON 7 - Chapter 2 Joint Marginal Conditional Probability 2023
STA 121 LESSON 7 - Chapter 2 Joint Marginal Conditional Probability 2023
CHAPTER 2
INTRODUCTION TO
PROBABILITY
STA 121: Elements
of Probability
i. Joint Probabilities
ii. Marginal Probabilities
iii. Conditional Probabilities
2025-06-15 STA 114 5
Probability: Joint, Marginal and
Conditional Probabilities
• Probabilities may be either marginal, joint or conditional.
Or
30-45 70 26 48 144
>45 36 4 14 54
Total 156 32 112 300
=
and
So, for to be equal to , must be equal to
Similarly. for then .
Therefore, alternative condition for independence of two events says
that two events A and B are statistically (stochastically) independent
iff
If the events are not independent, they are said to be dependent.
Independence
Example 2.9:
A bag contains cards numbered 1, 2, 3,....,
12. Define A to be the set of numbers smaller
than 5 and B the set of numbers between 3
and 8 (both numbers inclusive). Determine
P(A),P(B),P(A∩B) and show that A and B are
mutually independent.
Independence
Example 2.9: A bag contains cards numbered 1, 2, 3,...., 12. Define A
to be the set of numbers smaller than 5 and B the set of numbers
between 3 and 8 (both numbers inclusive). Determine P(A),P(B),P(A∩B)
and show that A and B are mutually independent.
Solution
S = { 1,2,3,4,5,6,7,8,9,10,11,12 }
A = {1,2,3,4} ; B = {3,4,5,6,7,8 }
A∩B = {3, 4}
Hence,
P (A) = n (A) / n(S) = 4/12 =1/3
P (B) = n (B) / n(S) = 6/12 =1/2
P (A∩B) = n (A∩B)/n(S) = 2/12 = 1/6
P (A) P (B) = (1/3) (1/2) = 1/6
Therefore, A and B are mutually independent.
Note: Independence and Mutually exclusive are different.
Exercise: Verify
Conditional probability
Example 2.8 (Contingency Table): The 300 employees of a
small company were cross classified according to their age and
work category as shown in the 2x2 contingency table (also called
cross table) below work category
Age(years) Total
Production Sales Office
<30 50 2 50 102
30-45 70 26 48 144
>45 36 4 14 54
Total 156 32 112 300
A B
Example
B
A
P(AB) P(AcB)
P(ABc)
Calculate the conditional probability that both flips result in heads (H) given that the first flip results in
heads.
(b)A department store manager wishes to investigate whether the method of payment chosen by
customers is related to the size of their purchases .The manager has cross-classified a sample of 250
customer purchases, as shown in the following table.
Method of payment
Size of purchase Cash Credit Card
Less than P200 51 31
P200 or more 65 103
i) What is the probability that the customer selected made a purchase of less than P200?
ii) Are the events “Payment by cash” and “Purchase of less than P200” mutually exclusive?
Verify your answer.
iii) Are the events “Payment by cash” and “Purchase of less than P200” independent? Verify
your answer.
i) Method 1
S={ሼ𝐻1𝐻2, 𝐻1𝑇2,𝑇1𝐻2,𝑇1𝑇2ሽ
Method 2: Using Joint and Marginal Probabilities Table
n(S)=4
Events:
H1: Head for the first flip
H2: Head for the second flip
T1: Tail for the first flip
T2: Tail for the second flip
The conditional probability that both flips result in heads (H) given that the first flip results in
heads: P(H2| H1) = P(H1 ∩ H2)/ P(H1) = 0.25/0,50 = 1/2
i) If a student goes full time, what is the probability that School Quality is the first reason for
choosing a school?
ii) What is the probability of Tuition Fee being the first reason for choosing school, given that an
applicant enrolled part time?
iii) What is the probability that an applicant will consider other reasons not listed as the first reason
for choosing a school?
iv) Are the events “Full-Time” and “Tuition Fee” independent?
(Question B2b-2018)
i) P( M B)
ii ) P ( B / W )
iii ) P (W B )
[Question B5a-2015]
For Example:
Test 1 Test 2 CA [Average of Exam. Final Marks
(100 Marks) (100 Marks) Test 1 and Test (100 Marks) [0.40*CA+0.60 Exam]
2 Marks] (100 Marks)
(100 Marks)
80 70 75 80 0.40*75+0.60*80
=30+48=78