Professional Documents
Culture Documents
1. S ∈ E,
In fact, this collection of events is a σ-field if also closed under countable unions,
A1 , A2 , . . . ∈ E ⇒ A1 ∪ A2 ∪ · · · ∈ E.
Axioms of Probability. Given sample space S with σ-field E, a set function P defined
on E is a probability measure if
Section 4. Axioms of Probability and the Addition Rule (LECTURE NOTES 2) 17
1. 0 ≤ P (A) ≤ 1, A ∈ E,
2. P (S) = 1,
Frequentist Probability. If all the outcomes are equally likely, and S is finite sample
space, and A is an event, then
n(A)
P (A) =
n(S)
where n(A) and n(S) are number of items in event A and sample space S.
S S
A
HHH THH E1 E5
HHT THT E2 E6
HTH TTH B E7
3
C
HTT TTT 4 8
2. Axioms of Probability: (More) Three Coins. Assume the coin is fair; that is,
the chance of any one of eight mutually exclusive simple events occurring is 18 :
P (E1 ) = 81 , P (E2 ) = 18 , . . . , P (E8 ) = 81 .
(a) Axiom 1 implies any event has a probability between (and including) zero
(0) and one (1); for example, 0 ≤ P (A) = P (E1 ) = 81 ≤ 1.
(i) True (ii) False
(b) Since all simple events are mutually exclusive, axiom 3 implies
P (B) = P (E2 ∪ E3 ∪ E5 ∪ E8 ) = P (E2 ) + P (E3 ) + P (E5 ) + P (E8 ) =
(i) 81 (ii) 38 (iii) 48 (iv) 88 .
(c) Axiom 3 implies the chance of flipping exactly one head,
P (C) = P (E4 ∪ E6 ∪ E7 ) = P (E4 ) + P (E6 ) + P (E7 ) =
(i) 81 (ii) 38 (iii) 48 (iv) 88 .
Section 4. Axioms of Probability and the Addition Rule (LECTURE NOTES 2) 19
4. Additive law for two events: dice. In two rolls of fair die, let event A be the
“sum of dice is five”. Let event B be the event “no fours are rolled”.
1 2 3 4
(a) P (A) = (i) 36
(ii) 36
(iii) 36
(iv) 36
.
24 25 26 27
(b) P (B) = (i) 36
(ii) 36
(iii) 36
(iv) 36
.
1 2 3 4
(c) P (A ∩ B) = (i) 36
(ii) 36
(iii) 36
(iv) 36
.
(d) So P (A ∪ B) = P (A) + P (B) − P (A ∩ B) =
(i) 26
36
27
(ii) 36 (iii) 28
36
29
(iv) 36 .
(e) Event A and event B
(i) are disjoint (ii) are not disjoint.
B
S
6
5
die 2 4
(red) 3
2 A
1
1 234 56
die 1 (green)
2. Using the formula: green grass mowed. Let G be the event the grass is green
and M the event the grass needs to be mowed and furthermore, P (G) = 0.8,
P (M ) = 0.3 and P (G ∩ M ) = 0.2.
22 Chapter 1. Basics of Probability (LECTURE NOTES 2)
5. Urns. Urn A has 6 red and 10 blue marbles; urn B has 4 red and 14 blue
marbles. A fair coin is tossed. If the coin comes up heads, a marble from urn
A is chosen, otherwise a marble from urn B is chosen.
A1 ∪ A2 = S, and A1 ∩ A2 = ∅,
P (B | A1 )P (A1 ) + · · · + P (B | Ak )P (Ak ),
(a) What is the chance a person tests negative given they have the disease?
P (T − | D+ ) = 1 − P (T + | D+ )
= 1 − 0.95 =
disease
0.08
negative test
0.05 false negative
negative test
0.90 specificity
(b) Chance a person has the disease but/and tests negative, a false negative?
P (T − ∩ D+ ) = P (T − | D+ )P (D+ )
= (0.05)(0.08) =
P (T + | D− ) = 1 − P (T − | D− )
= 1 − 0.90 =
P (T + ∩ D− ) = P (T + | D− )P (D− )
= (0.10)(0.92) =
P (T + ) = P (T + ∩ D+ ) + P (T + ∩ D− )
= P (T + | D+ )P (D+ ) + P (T + | D− )P (D− )
= (0.95)(0.08) + (0.10)(0.92) =
(f) Suppose a randomly chosen person does test positive. What is the proba-
bility this person really has the disease?
P (T + | D+ )P (D+ )
P (D+ | T + ) =
P (T + | D+ )P (D+ ) + P (T + | D− )P (D− )
(0.95)(0.08)
= ≈
(0.95)(0.08) + (0.10)(0.92)
2. Rental agencies.A firm rents cars from three rental agencies where P (A1 ) = α,
P (A2 ) = α, P (A3 ) = 12 α. Also, P (T | A1 ) = 0.09, P (T | A2 ) = 0.2 and
P (T | A3 ) = 0.13. A car is chosen at random.
(a) The probability a car is rented from agency A1 , given this car needs a
tune–up, is
P (T | A1 )P (A1 )
P (A1 | T ) =
P (T | A1 )P (A1 ) + P (T | A2 )P (A2 ) + P (T | A3 )P (A3 )
(0.09)(α)
= =
(0.09)(α) + (0.2)(α) + (0.13) 12 α
P (T | A3 )P (A3 )
P (A3 | T ) =
P (T | A1 )P (A1 ) + P (T | A2 )P (A2 ) + P (T | A3 )P (A3 )
(0.13) 21 α
= ≈
(0.09)(α) + (0.2)(α) + (0.13) 12 α
P (T c | A1 )P (A1 )
P (A1 |T c ) =
P (T c | A1 )P (A1 ) + P (T c | A2 )P (A2 ) + P (T c | A3 )P (A3 )
(0.91)(α)
= ≈
(0.91)(α) + (0.8)(α) + (0.87) 21 α
P (A ∩ B) = P (B)P (A|B),
and if events A1 , . . ., An are independent, then, for every subset Ai1 , . . ., Air of them,
So, for example, events A, B and C are independent if both pairwise independent,
1a 2a 1b 3b 2c 3c
(a) Two tickets are drawn at random from the box. The first ticket drawn is
not replaced in the box; that is, there are only five tickets remaining in
the box when the second ticket is drawn. The chance the second ticket is
a “2” given that the first ticket is a “2” is (i) 51 (ii) 25 (iii) 35 .
(b) Two tickets are sampled without replacement at random from the box.
That is, there are only five tickets remaining in the box when the second
ticket is drawn. The chance the second ticket is a “2” given that the first
ticket is a “1” is (i) 15 (ii) 25 (iii) 53 .
(c) When sampling at random without replacement, the chance the second
ticket of two drawn from the box is any given number will depend on what
number was drawn on the first ticket.
(i) True (ii) False
28 Chapter 1. Basics of Probability (LECTURE NOTES 2)
(d) Two tickets are sampled with replacement at random from the box. That
is, all six tickets remain in the box when the second ticket is drawn. The
chance the second ticket is a “2” given that the first ticket is a “1” is
(i) 61 (ii) 62 (iii) 36 .
(e) When sampling at random with replacement, the chance the second ticket
of two drawn from the box is “2”, no matter what the first ticket is, will
always be (i) 16 (ii) 26 (iii) 36 .
(f) When sampling at random with replacement, the draws are independent
of one another; without replacement, the draws are dependent.
(i) True (ii) False
2. Independence and dependence: box of coins.
74c 78c 78c 76c 80c 74c 78c 78c 76c 80c
74n
n 78n
78 80n 74n
n 78
78n
n 80
80n
78d 81d 78d
d 8
81d
(a) Figure (a): Parallel Water Pipes. Water flows from city A to city B in
30 Chapter 1. Basics of Probability (LECTURE NOTES 2)
V1
V1
V2 V2 V3
A B A B
V3
V4
(a) parallel water pipes (b) parallel and series water pipes