Professional Documents
Culture Documents
Lecture 1
In Topic 1
1. Elementary set operations and their properties
2. Notation and terminology
3. Probability
4. Some properties of probability
5. Counting techniques (next lecture)
6. Conditional probability
Basic constructs
• “Event” is a well-defined collection of possibilities
health-related: discovering disease in an individual, observing 3 deaths within a given period of
time, observing a low rate of infection in the population
more abstract and structured (often game-related): observing a tail on a coin flip, certain
combination on dice throw, drawing a certain combination of cards from a deck
• Basic models try to define the “experiment” and events that better fit a
natural phenomenon (to better quantify)
health-related setting: Observing a positive result in a randomly selected individual among people
undergoing testing
abstract model: Flipping an unbalanced (e.g., heavy-tailed) coin
– Complement (“not”) 𝐴𝐴̅ (𝐴𝐴′ 𝑜𝑜𝑜𝑜 𝐴𝐴𝑐𝑐 ) = 𝑥𝑥: 𝑥𝑥 ∈ 𝑆𝑆 𝑎𝑎𝑎𝑎𝑎𝑎 𝑥𝑥 ∉ 𝐴𝐴 (note: 𝐴𝐴̅ = 𝐴𝐴 )
• Properties
– Commutative 𝐴𝐴 ∪ 𝐵𝐵 = 𝐵𝐵 ∪ 𝐴𝐴; 𝐴𝐴 ∩ 𝐵𝐵 = 𝐵𝐵 ∩ 𝐴𝐴
B&E Appendix A
– Associative 𝐴𝐴 ∪ 𝐵𝐵 ∪ 𝐶𝐶 = 𝐴𝐴 ∪ 𝐵𝐵 ∪ 𝐶𝐶
𝐴𝐴 ∩ 𝐵𝐵 ∩ 𝐶𝐶 = (𝐴𝐴 ∩ 𝐵𝐵) ∩ 𝐶𝐶
– Distributive 𝐴𝐴 ∩ 𝐵𝐵 ∪ 𝐶𝐶 = (𝐴𝐴 ∩ 𝐵𝐵) ∪ (𝐴𝐴 ∩ 𝐶𝐶)
𝐴𝐴 ∪ 𝐵𝐵 ∩ 𝐶𝐶 = (𝐴𝐴 ∪ 𝐵𝐵) ∩ (𝐴𝐴 ∪ 𝐶𝐶)
– DeMorgan’s Laws 𝐴𝐴 ∪ 𝐵𝐵 = 𝐴𝐴̅ ∩ 𝐵𝐵�
𝐴𝐴 ∩ 𝐵𝐵 = 𝐴𝐴̅ ∪ 𝐵𝐵�
Mathematical theory of probability
• Probability is a real-valued function defined on a certain collection of
sets (events). This collection of sets has to obey certain properties.
• Definition
A collection of subsets of 𝑆𝑆 is called a sigma algebra ℬ (or Borel field) if it satisfies the
following three properties:
1) ∅∈ℬ (the empty set is an element of ℬ)
2) If 𝐴𝐴 ∈ ℬ ⇒ 𝐴𝐴̅ ∈ ℬ (ℬ is closed under complementation)
∞
3) If 𝐴𝐴1 , 𝐴𝐴2 , … ∈ ℬ ⇒ ∪ 𝐴𝐴𝑖𝑖 ∈ ℬ (ℬ is closed under countable unions)
𝑖𝑖=1
• Corollary:
o 𝑆𝑆 ∈ ℬ
∞
o If 𝐴𝐴1 , 𝐴𝐴2 , … ∈ ℬ ⇒ ∩ 𝐴𝐴𝑖𝑖 ∈ ℬ (ℬ is closed under countable intersections)
𝑖𝑖=1
• Note:
– Many different sigma algebras can be associated with the same 𝑆𝑆
– We are usually interested in the smallest one that contains all of the open sets in a
given sample space 𝑆𝑆
• For countable S, the sigma algebra ℬ is a collection of all subsets including trivial
Probability: formal definition
• Definition
Let S be a sample space associated with a given experiment, and ℬ is a
sigma algebra on 𝑆𝑆. Probability (or a probability function) is a
real-valued function 𝑃𝑃 with domain ℬ (𝑃𝑃: ℬ →ℝ) that satisfies:
1) 0 ≤ 𝑃𝑃 𝐴𝐴 ∀ 𝐴𝐴 ∈ ℬ
2) 𝑃𝑃 𝑆𝑆 = 1
3) If 𝐴𝐴1 , 𝐴𝐴2 , … ∈ ℬ are mutually exclusive (i.e. 𝐴𝐴𝑖𝑖 ∩ 𝐴𝐴𝑗𝑗 = ∅ if 𝑖𝑖 ≠ 𝑗𝑗), then
∞ ∞
𝑃𝑃 ∪ 𝐴𝐴𝑖𝑖 = �𝑖𝑖=1𝑃𝑃(𝐴𝐴𝑖𝑖 )
𝑖𝑖=1
• Corollary:
– (finite union) If 𝐴𝐴1 , 𝐴𝐴2 ,…, 𝐴𝐴𝑘𝑘 ∈ ℬ are mutually exclusive, then
𝑃𝑃 𝐴𝐴1 ∪ ⋯ ∪ 𝐴𝐴𝑘𝑘 = 𝑃𝑃 𝐴𝐴1 + ⋯ + P(𝐴𝐴𝑘𝑘 )
– 𝑃𝑃 ∅ = 0
– 𝑃𝑃 𝐴𝐴 ≤ 1 ∀ 𝐴𝐴 ∈ ℬ
Properties of probability
• Useful for computing probabilities of various events
– All can be proved directly from the definition of probability
1. P( A) = 1 − P( A) ∀ A ∈ B
2. P( A) ≤ 1 ∀ A ∈ B
3. P( A ∪ B)= P( A) + P( B) − P( A ∩ B) ∀ A, B ∈ B
4. P ( A ∪ B ∪ C= ) P ( A) + P ( B ) + P (C ) + P ( A ∩ B ∩ C )
− P ( A ∩ B ) − P ( A ∩ C ) − P( B ∩ C ) ∀ A, B, C ∈ B
5. A ⊂ B ⇒ P( A) ≤ P( B) ∀ A, B ∈ B
n n
6. Bonferroni's − Boole's Inequality: P Ai ≤ ∑ P( Ai ) ∀ A1 , A2 ,... ∈ B
i =1 i =1
Probability in Discrete Sample Spaces
• In practice often one need to define a proper probability model
• Example 1.3.2
health-related setting: testing two individuals for a condition with expected prevalence of 50%
abstract model for the experiment: tossing two balanced coins
• Example 1.3.3
Health-related setting: random selection from a cohort of patients obtaining chest X-ray, with 52
possible types of findings
Abstract model: Drawing a card at random from an ordinary deck of (52) cards.
1
Each card has the same probability of being selected 𝑝𝑝 =
52