Statically Math
Statically Math
Statically Math
Lecture 2
Reading chapter 2
Conditional probability
Three important tools:
- Multiplication rule
- Total probability theorem
- Bayes’ rule
Independence
Definition
Let A, B be events. The conditional probability P(A|B) the event of
"A occurs given that B occured" is
P(A ∩ B)
P(A|B) = , P(B) ̸= 0.
P(B)
Definition
Let A, B be events. The conditional probability P(A|B) the event of
"A occurs given that B occured" is
P(A ∩ B)
P(A|B) = , P(B) ̸= 0.
P(B)
b. If the selected individual does not have type A blood, what is the prob-
ability that he or she is from ethnic group 2?
P(A ∩ B)
P(A|B) =
P(B)
P(A ∩ B) = P(B|A)P(A)
= 0.99 × 0.05
P(B) = P(A ∩ B) + P(Ac ∩ B)
= P(B|A)P(A) + P(B|Ac )P(Ac )
= 0.99 × 0.05 + 0.10 × 0.95
59. At a certain gas station, 55% of the customers use regular gas (A1), 30% use
plus gas (A2), and 15% use premium (A3). Of those customers using regular gas,
only 70% fill their tanks (event B). Of those customers using plus, 60% fill their
tanks, whereas of those using premium, 50% fill their tanks.
a. What is the probability that the next customer will request plus gas and fill the
tank?
b. What is the probability that the next customer will fill the tank?
c. If the next customer fills the tank, what is the probability that regular gas is
requested? Plus? Premium?
Nguyễn Ngọc Tứ Lecture 2 2023-2024 9 / 17
Bayes’ rule - Exercise
Definition
Two events A, B are independent if
P(A ∩ B) = P(A)P(B)
Example (a)
Example (a)
Example (b)
Example (b)
Definition
There events A1 , A2 , A3 are independent if and only if
(i) P(A1 ∩ A2 ) = P(A1 )P(A2 )
(ii) P(A1 ∩ A3 ) = P(A1 )P(A3 )
(iii) P(A2 ∩ A3 ) = P(A2 )P(A3 )
(iv) P(A1 ∩ A2 ∩ A3 ) = P(A1 )P(A2 )P(A3 )
82. Consider independently rolling two fair dice, one red and the other green.
Let A be the event that the red die shows 2 dots, B be the event that the
green die shows 5 dots, and C be the event that the total number of dots
showing on the two dice is 7.
a. Are these events pairwise independent (i.e., are A and B independent
events, are A and C independent, and are B and C independent)?
b. Are the three events mutually independent?
Nguyễn Ngọc Tứ Lecture 2 2023-2024 15 / 17
Independence of several events
Remark
1. Pairwise independent does not imply independence.
2. The equality P(A1 ∩ A2 ∩ A3 ) = P(A1 )P(A2 )P(A3 ) is not
enough for independence.
Definition
The events A1 , A2 , . . . , An are independent if and only if
Y
P(∩i∈I Ai ) = P(Ai ), for every subsets I of {1, 2, . . . , n}.
i∈I