Quantifying Uncertainty
Probability measures how likely an event is, on a scale from 0 (impossible) to 1 (certain). It is the mathematics of uncertainty behind statistics and machine learning.
Key structural terms:
| Term | Definition & Example |
|---|---|
| Sample Space () | All possible outcomes (e.g., die roll: ) |
| Event () | A subset of outcomes (e.g., rolling even: ) |
For equally likely outcomes, probability is a ratio: For a fair die, .
Rules and Pitfalls
Probability obeys axioms: , , and for mutually exclusive events (cannot both happen), probabilities add: .
From these come vital operational rules:
| Rule | Formula | Notes |
|---|---|---|
| Complement | Best for "at least one" problems | |
| Addition | Prevents double-counting overlap |
Common pitfall: Adding when events can overlap. Simple addition is only for mutually exclusive events; otherwise, you must subtract the intersection or risk exceeding 1.