Chapter 1 - Part 4 PDF
Chapter 1 - Part 4 PDF
49
1.5 Law of Total Probability
Definition
Let be a partition of the sample space with
For any event we have
50
1.5 Law of Total Probability
Example 1.5.1
Three bags that each contain 100 marbles:
• Bag 1 has 75 red and 25 blue marbles;
• Bag 2 has 60 red and 40 blue marbles;
• Bag 3 has 45 red and 55 blue marbles.
One choose one of the bags at random and then pick a marble from the chosen
bag, also at random. What is the probability that the chosen marble is red?
the event of selecting a red marble
the event that Bag is selected
51
1.5 Law of Total Probability
Example 1.5.2
52
1.5 Law of Total Probability
Example 1.5.2
53
1.5 Law of Total Probability
Bayes' Rule
54
1.5 Law of Total Probability
Example 1.5.3
55
1.5 Law of Total Probability
Example 1.5.3
56
1.5 Law of Total Probability
Example 1.5.4
An insurance company has the following information about its customers:
• All customers insure at least one car.
• 64% of the customers insure more than one car.
• 20% of the customers insure a sports car.
• Of those customers who insure more than one car, 15% insure a sports car.
1. Given a customer insures a sports car, what is the probability that he insures
more than one car?
2. What is the probability that a randomly selected customer insures exactly one
car, and that car is not a sports car?
57
1.5 Law of Total Probability
Example 1.5.4
• 64% of the customers insure more than one car.
• 20% of the customers insure a sports car.
• Of those customers who insure more than one car, 15% insure a sports car.
1. Given a customer insures a sports car, what is the probability that he insures
more than one car?
58
1.5 Law of Total Probability
Example 1.5.4
• 64% of the customers insure more than one car.
• 20% of the customers insure a sports car.
• Of those customers who insure more than one car, 15% insure a sports car.
2. What is the probability that a randomly selected customer insures exactly one car,
and that car is not a sports car?
59
1.6 Independence
Introduction
I toss a fair coin . Let be the event that it rains tomorrow.
60
1.6 Independence
Definition
Two events and are independent if the fact that A occurs does not affect
the probability of B occurring. This means
equivalently
61
1.6 Independence
Example 1.6.1
62
1.6 Independence
Definition
Warning!
Disjoint (mutually exclusive) Independent
Disjoint:
Independent:
63
1.6 Independence
Remark:
1)
b) are independent.
c) are independent.
64
1.6 Independence
Remark:
3)
65
1.6 Independence
Example 1.6.2
I toss a coin repeatedly until I observe a tails. Let X be the total number of coin
tosses. Find:
a) P(X=3)
b) P(X<5)
a)
b) Or Or Or
66
1.6 Independence
Three Independent Events
Three events and are independent if all of the following conditions
hold
67
1.6 Independence
Example 1.6.2
68
1.6 Independence
Example 1.6.2
69
1.6 Independence
Example 1.6.2
70
1.6 Independence
Example 1.6.2
71
1.6 Independence
Example 1.6.2
72
1.6 Independence
Example 1.6.2
73
1.6 Independence
Example 1.6.2
74
Chapter 1: Selected Problems
Textbook:
Roy D. Yates and David J. Goodman, Probability and Stochastic Processes: A Friendly
Introduction For Electrical and Computer Engineers, third edition, Wiley, 2014.
1.2.1, 1.2.2, 1.3.1, 1.3.4, 1.3.5, 1.4.1, 1.4.2, 1.4.3, 1.5.2, 1.6.1, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9
75