L03 Ch5 Probability
L03 Ch5 Probability
Chapter 5:
Probability
By Caleb Tan
Objectives
apply the ideas and notation involved in set theory to
simple examples
recall the basic axioms of probability and apply them
distinguish between the ideas of conditional probability
and independence
draw and use appropriate Venn diagrams
draw and use appropriate probability trees.
1
Probability
Venn Diagram (self-study SG 5.9.2)
Types of Events
Sample Space S
◦ All Outcomes
◦ Toss a coin, S = {H, T}
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6}
Event E
◦ A subset of S
◦ Obtaining Head, E = {H}
◦ Even numbers, E = {2, 4, 6}
2
Types of Events
Complement Event Ec
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6}
Types of Events
Intersection of Events
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6},
◦ Even numbers, A = {2, 4, 6}
◦ Numbers greater than 3, B = {4, 5, 6}
◦ Even numbers and greater than 3, A B = {4, 6}
3
Types of Events
Mutually Exclusive Events
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6},
◦ Odd numbers, A = {1, 3, 5}
◦ Even numbers, B = {2, 4, 6}
◦ A B = or { }
A B
Types of Events
Union of Events
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6},
◦ Even numbers, A = {2, 4, 6}
◦ Numbers greater than 3, B = {4, 5, 6}
◦ Even numbers or greater than 3,
A B = {2, 4, 5, 6}
4
Types of Events
De Morgan’s Laws
◦ (A B)c = Ac Bc
◦ (A B)c = Ac Bc
Types of Events
Collectively Exhaustive Events
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6},
◦ Even numbers, E1 = {2, 4, 6}
◦ Numbers less than 4, E2 = {1, 2, 3}
◦ Numbers at least 5, E3 = {5, 6}
◦ E 1 E2 E3 = S
E1
E2
E3
10
5
Types of Events
Partition
◦ Mutually Exclusive and Collective Exhaustive
◦ Roll a dice, S = {1, 2, 3, 4, 5, 6},
◦ B1 = {1, 2} , B2 = {3, 4}, B3 = {5, 6}
◦ B1, B2 and B3 are pairwise mutually exclusive
and B1 B2 B3 = S
B1 B2 B3
11
b) For the following events, list down the elements (including the
frequency) and classify the types of events:
12
6
Concept of Probability
Probability of likely elementary outcomes
◦ E: Event of Interest
13
Properties of Probability
Axioms of Probability
◦ For any event E, 0 ≤ P(E) ≤ 1
14
7
Probability - Example
n( Pass Stats ) 84 7
P(Pass Stats) = = =
Total 108 9
Gender
Result Male Female Total
Pass Stats 48 36 84
Fail Stats 11 13 24
Total 59 49 108
15
Probability - Example
P(Pass Stats and Male)
n(Pass Stats and Male) 48 4
= = =
Total 108 9
Gender
Result Male Female Total
Pass Stats 48 36 84
Fail Stats 11 13 24
Total 59 49 108
16
8
Probability
Additive Law (SG 5.9.3)
P(A B) = P(A) + P(B) – P(A B)
Complement Probability
P(Ac) = 1 - P(A)
17
Probability - Example
A B
P(Pass Stats or Female)
= P(Pass) + P(Female) - P(Pass and Female)
Gender
Result Male Female Total
Pass Stats 48 36 84
Fail Stats 11 13 24
Total 59 49 108
18
9
Class Activity 3.2
The following table shows the joint distribution for
engineers and scientists by highest degree obtained:
19
Conditional Probability
Conditional Probability (SG 5.10)
20
10
Conditional Probability Example
Subject Female Male Total
Mathematics 4 14 18
Economics 17 41 58
Science 4 25 29
Arts 28 11 39
Total 53 91 144
21
Find
1. P(Arts | Male)
2. P(Male | Arts)
22
11
Independent Events
A and B independent means
P(A | B) = P(A)
Example:
◦ Event A: Obtain a Head from tossing a coin
◦ Event B: Obtain a 6 from rolling a dice
23
Bayes’ Formula
When use?
Have
Want
24
12
General Form of Bayes’ Formula
B1 B2 B3
Recall:
25
26
13
In an audit Bill analyses 60% of the audit
items and George analyses 40%. Bill’s error
rate is 5% and George’s error rate is 3%.
0.05 Error
Bill
0.6
0.95 No Error
Audit
Item
0.4
0.03 Error
George
0.97 No Error
27
2.
28
14
Class Activity 3.4
SG Pg 113, Learning Activities Question 12
29
Homework
VLE Activities
30
15