Probability Spaces
1.1 Sample Spaces and Events
Section titled “1.1 Sample Spaces and Events”A probability space is a triple where:
- is the sample space (set of all possible outcomes).
- is a sigma-algebra on .
- is a probability measure.
Definition. A sigma-algebra on is a collection of subsets satisfying:
- .
- If Then (closed under complementation).
- If Then (closed under countable unions).
Definition. A probability measure satisfies:
- Non-negativity: for all .
- Normalisation: .
- Countable additivity: If are pairwise disjoint, then .
1.2 Basic Properties
Section titled “1.2 Basic Properties”Proposition 1.1. For any probability space:
- .
- .
- If Then .
- (inclusion-exclusion).
- Boole”s inequality: .
- Bonferroni inequality: .
Proof. (1) Apply countable additivity to the disjoint union : So .
(3) is a disjoint union, so .
(4) .
1.3 Conditional Probability and Independence
Section titled “1.3 Conditional Probability and Independence”Definition. The conditional probability of given (with ) is
Theorem 1.2 (Law of Total Probability). If form a partition of with for all Then
Theorem 1.3 (Bayes’ Theorem). Under the same conditions:
Definition. Events and are independent if .
Proposition 1.4. If and are independent with Then .
Proof. .
Definition. Events are mutually independent if for every subset :
Pairwise independence does not imply mutual independence.
Worked Example: Pairwise vs Mutual Independence
Solution. Roll two fair dice. Let = “first die is even”, = “second die is even”, = “sum is even”.
.
. .
. So , , are pairwise independent.
But .
So , , are pairwise independent but not mutually independent.
1.4 Key Relationships
Section titled “1.4 Key Relationships”- The sigma-algebra must be closed under countable operations, not just finite ones.
- Independence is a property of the probability measure, not of the sets themselves.
- Conditional probability satisfies the axioms of probability for a fixed conditioning event.
- Bayes’ theorem converts between and using the prior and likelihood.
1.5 Common Pitfalls
Section titled “1.5 Common Pitfalls”- Confusing “mutually exclusive” with “independent.” Mutually exclusive events with positive probability are always dependent.
- Assuming that implies dependence. Two events can overlap and still be independent.
- Forgetting that sigma-algebras must be closed under countable unions, not just finite ones.
- Applying Bayes’ theorem without verifying that the partition actually covers the sample space.
1.6 Applications
Section titled “1.6 Applications”- Medical testing: Bayes’ theorem computes the true positive rate from sensitivity and prevalence.
- Quality control: Independence assumptions simplify the probability of multiple component failures.
- Finance: Insurance pricing uses conditional probability to model claim frequency given risk factors.
- Machine learning: Naive Bayes classifiers assume feature independence to compute posterior probabilities efficiently.
1.7 Worked Example: Applying Bayes’ Theorem
Section titled “1.7 Worked Example: Applying Bayes’ Theorem”Problem. A disease affects 1 in 1000 people. A test is 99% sensitive (true positive rate) and 95% specific (true negative rate). If a person tests positive, what is the probability they have the disease?
Solution
Let be the event of having the disease and be the event of testing positive.
, , .
By the law of total probability: .
By Bayes’ theorem: .
So only about 1.94% of positive tests are true positives, despite the high sensitivity.