From outcomes to numbers to probabilities
- Sample space S All outcomes of the experiment.
- Random variable X Attach a real number X(ω) to each outcome.
- Inverse images Group the outcomes that give each value x.
- Probabilities P(X = x) = probability of the event X⁻¹(x).
| Value of X | −3 | −1 | 1 | 3 | Total |
|---|---|---|---|---|---|
| Number of points in inverse image | 1 | 3 | 3 | 1 | 8 |
| Value of X | 1 | 2 | 3 | 4 | 5 | 6 | Total |
|---|---|---|---|---|---|---|---|
| Points in inverse image | 1 | 3 | 5 | 7 | 9 | 11 | 36 |
Discrete or continuous?
-
Discrete (counting)
Range is finite or countably infinite.
- Number of heads in 3 tosses: 0, 1, 2, 3
- Number of tosses until the first head: 1, 2, 3, …
- Customers arriving at a counter in an hour: 0, 1, 2, …
-
Continuous (measuring)
Range is an interval of real numbers.
- Lifetime of a bulb: any value in [0, ∞)
- Distance from the centre of a disc of radius r to a random point: [0, r]
- Time taken to complete a phone call
Key takeaways: a random variable is a function X : S → ℝ. Its inverse image X⁻¹(x) is the event "X = x", and counting the points in inverse images is how we begin to find probabilities. Discrete random variables take a list of values (counting); continuous ones take every value in an interval (measuring) and give probability 0 to each single value.