Summary and Revision Notes
Use this page to review the chapter before doing the exercises.
Key Ideas
| Idea | Meaning | Question to ask |
|---|---|---|
| sample space | all possible outcomes | What can happen? |
| event | a set of outcomes | Which outcomes are included? |
| probability | number from 0 to 1 assigned to an event | Is this value consistent? |
| random variable | function from outcomes to values | What number does each outcome produce? |
| distribution | probability assignment over possible values | Do probabilities sum to 1? |
| expectation | probability-weighted average | What is the long-run average? |
| variance | expected squared distance from the mean | How spread out are values? |
| covariance | joint movement between variables | Do the variables move together? |
| independence | one event does not change another probability | Does knowing one event change the other? |
| conditional probability | probability after context is known | What is the new denominator? |
| Bayes' rule | update after evidence | How do prior, likelihood, and evidence combine? |
Formulas to Remember
Complement:
Addition with overlap:
Expectation:
Variance:
Independence:
Conditional probability:
Bayes' rule:
Useful Distinctions
| Do not confuse | Difference |
|---|---|
| event and random variable | an event is a set; a random variable maps outcomes to values |
| probability and expectation | probability measures event likelihood; expectation is an average value |
| independent and mutually exclusive | independent events can both happen; mutually exclusive events cannot |
| prior and posterior | prior is before evidence; posterior is after evidence |
| covariance and causation | covariance is co-movement, not proof of cause |
| Bernoulli and categorical | Bernoulli is binary; categorical chooses one class from several |
| counting and adding probability | count outcomes only when they are equally likely |
| distribution name and assumption | a named distribution encodes a modeling choice |
Common Traps
- Treating probability as certainty.
- Forgetting probabilities must stay between
0and1. - Forgetting probabilities in a discrete distribution must sum to
1. - Counting outcomes when assigned probabilities are unequal.
- Treating an expected value as the next guaranteed observation.
- Confusing independent events with mutually exclusive events.
- Ignoring the conditioning information in
P(A | B). - Forgetting that Bayes' rule normalizes by the probability of evidence.
- Treating distribution names as labels instead of modeling assumptions.
- Treating a mini-batch average as exact expected loss.
- Reading covariance without considering scale.
Mental Model
Probability turns uncertainty into quantities we can reason about, compute with, compare, and update after evidence.