Ch3
Ch3
Ch3
©Fall 2024
1 / 48
Outlines
1 Introduction
3 Probability
4 Conditional Probability
5 Bayes’ Theorem
2 / 48
3.1 Introduction
Definition
Probability is a numerical measure of the likelihood that an event will
occur.
Example 1: When tossing a die, what is a possibility to have six points?
3 / 48
3.1 Introduction
4 / 48
3.2 Sample Space, Events, and Venn Diagrams
Definition (Experiment)
A process that leads to the occurrence of one and only one of several
possible results.
Definition (Outcome)
A particular result of an experiment.
Definition (Event)
A subset of the sample space.
5 / 48
3.2 Sample Space, Events, and Venn Diagrams
6 / 48
3.2 Sample Space, Events, and Venn Diagrams
Example 2:
Experiment: the running of a race among 7 horses having post
position 1, 2, · · · , 7.
Outcome: (1, 2, · · · , 7), (2, 1, · · · , 7), · · · , (7, 6, · · · , 2, 1).
Sample space: {all ordering of (1, 2, · · · , 7)}.
Event: Observe the #2 horse is first and the #3 horse is second.
7 / 48
3.2 Sample Space, Events, and Venn Diagrams
8 / 48
3.2 Sample Space, Events, and Venn Diagrams
Definition (Union)
The union of E and F , denoted as E ∪ F , consists of all outcomes that are
either in E or F or both.
Definition (Intersection)
The intersection of E and F , denoted as E ∩ F , consists of all outcomes
that are only in E and F .
9 / 48
3.2 Sample Space, Events, and Venn Diagrams
Example 3:
Continue to Example 1, let E denote the first event and F denote the
second event. Then
E ∪ F = {1, 2, 3, 4, 6}
E ∩ F = {2}.
10 / 48
3.2 Sample Space, Events, and Venn Diagrams
Remark:
Those two definitions can be extended to m events, say E1 , · · · , Em .
That is,
m
S
(a) E1 ∪ · · · ∪ Em ≜ Ei .
i=1
m
T
(b) E1 ∩ · · · ∩ Em ≜ Ei .
i=1
If E ∩ F does not contain any outcome, then we say it’s an empty set,
denoted as ϕ. Moreover, if E ∩ F = ϕ, then we say E and F are
mutually exclusive.
11 / 48
3.2 Sample Space, Events, and Venn Diagrams
Definition (Complement)
For any event E , let E c denote the complement of E , which consists all
outcomes in the sample space S but NOT in E .
Example 4:
Let E denote the first event in Example 1. Then E c = {1, 3, 5} = observe
an odd number.
Remark:
E ∩ Ec =
E ∪ Ec =
12 / 48
3.2 Sample Space, Events, and Venn Diagrams
Definition (Subset)
For any two events E and F , we say E is contained in F , denoted as
E ⊂ F , if all of the outcomes in E are also in F .
?
Remark: How to check two sets are equal, i.e., E = F for some sets E
and F ?
13 / 48
3.2 Sample Space, Events, and Venn Diagrams
Venn diagrams: It is used to illustrate the relationship among sets.
14 / 48
3.2 Sample Space, Events, and Venn Diagrams
E ∪ F = F ∪ E; E ∩ F = F ∩ E
(E ∪ F ) ∪ G = E ∪ (F ∪ G ); (E ∩ F ) ∩ G = E ∩ (F ∩ G )
(E ∪ F ) ∩ G = (E ∩ G ) ∪ (F ∩ G ); (E ∩ F ) ∪ G = (E ∪ G ) ∩ (F ∪ G )
(E ∪ F )c = E c ∩ F c ; (E ∩ F )c = E c ∪ F c
15 / 48
3.3 Probability
16 / 48
3.3 Probability
Method 1: List all possible outcomes, and then find outcomes that satisfy
an event.
17 / 48
3.3 Probability
Method 2:
combinations;
if we want to select k subjects with ordering, then we have
n!
Pkn =
k!
permutations;
if n subjects can be repeatedly selected k times, then we have nk possible
outcomes.
18 / 48
3.3 Probability
19 / 48
3.3 Probability
Extra examples:
(a) A committee of size 5 is to be selected from a group of 6 men and 9
women. If the selection is made randomly, what is the probability that
the committee consists of 3 men and 2 women?
(b) From a set of n items a random sample of size k is to be selected.
What is the probability that a specific item will be among the k
selected?
20 / 48
3.3 Probability
Axioms of probability:
Rigorously, P(E ) is called “probability” if the following three axioms
hold:
(a) 0 ≤ P(E ) ≤ 1.
(b) P(S) = 1.
(c) For any sequence of mutually exclusive events E1 , E2 , · · · , En with
n
S P n
Ei ∩ Ej = ϕ for all i ̸= j, P Ei = P(Ei ).
i=1 i=1
21 / 48
3.3 Probability
Based on axioms, we have some propositions:
Proposition
Suppose that E is an event. Then we have
P(E c ) = 1 − P(E ),
Proof:
22 / 48
3.3 Probability
Proposition
Suppose that E and F are two events in the sample space S. Then
Proof:
23 / 48
3.3 Probability
Proposition
Suppose that E and F are two events, and E ∩ F ̸= ϕ. Then
Proof:
24 / 48
3.3 Probability
Example 6: A total of 28 percent of American males smoke cigarettes, 7
percent smoke cigars, and 5 percent smoke both cigars and cigarettes.
What percentage of males smoke neither cigars nor cigarettes?
25 / 48
3.4 Conditional Probability
26 / 48
3.4 Conditional Probability
Example: In statistics class, students contain male and female, and they
are from different departments in the university. Then what is the
proportion of male students who come from department of statistics?
In this example, we have two events:
E : gender of students;
F : departments in the university.
The proportion is equivalent to the probability of E given F .
This probability is called conditional probability.
27 / 48
3.4 Conditional Probability
Definition
Conditional probability of E given F , denoted as P(E |F ), can be
interpreted as the probability of E given the condition that event F has
occurred.
28 / 48
3.4 Conditional Probability
29 / 48
3.4 Conditional Probability
From Venn diagrams:
30 / 48
3.4 Conditional Probability
P(E |F ) =
31 / 48
3.4 Conditional Probability
Example 7: A bin contains 5 defective, 10 partially defective, and 25
acceptable transistors. A transistor is chosen at random from the bin and
put into use. If it does not immediately fail, what is the probability that it
is acceptable?
32 / 48
3.4 Conditional Probability
Example 8: The organization that Jones works for is running a father-son
dinner for those employees having at least one son. If Jones is known to
have two children, what is the conditional probability that they are both
boys given that he is invited to the dinner?
33 / 48
3.4 Conditional Probability
Example 9: Ms. Perez figures that there is a 30 percent chance that her
company will set up a branch office in Phoenix. If it does, she is 60 percent
certain that she will be made manager of this new operation. What is the
probability that Perez will be a Phoenix branch office manager?
34 / 48
3.4 Conditional Probability
35 / 48
3.4 Conditional Probability
Definition (Independence)
Two events E and F are independent, denoted E ⊥ F , if
36 / 48
3.4 Conditional Probability
Proposition
If E and F are independent, then
(a) P(E ∩ F ) = P(E )P(F ).
(b) E and F c are independent as well.
37 / 48
3.4 Conditional Probability
Example 10: A card is selected at random from an ordinary deck of 52
playing cards. If A is the event that the selected card is an ace and H is
the event that it is a heart. Check the independence of A and H.
38 / 48
3.4 Conditional Probability
Example 11: Two fair dice are thrown. Let E7 denote the event that the
sum of the dice is 7. Let F denote the event that the first die equals 4 and
let T be the event that the second die is 3. Discuss the independence
between E7 and F , T , and FT .
39 / 48
3.4 Conditional Probability
40 / 48
3.4 Conditional Probability
41 / 48
3.4 Conditional Probability
Example 12: A system composed of n separate components is said to be
a parallel system if it functions when as least one of the components
functions. For such a system, if component i, independent of other
components, functions with probability pi , i = 1, · · · , n, what is the
probability the system functions?
42 / 48
3.5 Bayes’ Theorem
43 / 48
3.5 Bayes’ Theorem
44 / 48
3.5 Bayes’ Theorem
45 / 48
3.5 Bayes’ Theorem
P(Fi |E ) =
46 / 48
3.5 Bayes’ Theorem
Example 13: The Ludlow Wildcats baseball team, a minor league team in
the Cleveland Indians organization, plays 70% of their games at night and
30% during the day. The team wins 50% of their night games and 90% of
their day games. According to today’s newspaper, they won yesterday.
What is the probability the game was played at night?
47 / 48
3.5 Bayes’ Theorem
Example 14: The credit department of Lion’s Department Store in
Anaheim, California, reported that 30% of their sales are cash, 30% are
paid with a credit card, and 40% with a debit card. Twenty percent of the
cash purchases, 90% of the credit card purchases, and 60% of the debit
card purchases are for more than $50. Ms. Tina Stevens just purchased a
new dress that cost $120. What is the probability that she paid cash?
48 / 48