Basics of Probability
A classifier that says "70% chance this flat rents within a week" is speaking the language of probability. Before trusting such a number, you need to know what it means and how probabilities combine. This month the agency listed 20 flats and recorded two facts about each:
| Rented within a week | Took longer | Total | |
|---|---|---|---|
| Near the metro | 6 | 2 | 8 |
| Far from the metro | 6 | 6 | 12 |
| Total | 12 | 8 | 20 |
The rule
Count favourable over total; add for OR, subtract overlap; multiply for AND.
When every flat is equally likely to be picked, a probability is a count divided by a count.
- Single event: .
- Complement: .
- AND: , the one cell where both hold.
- OR: . The overlap is subtracted because the 6 near-and-fast flats were counted in both terms. Counting directly: 8 near plus the 6 far-and-fast flats makes 14 out of 20.
- Conditional: means "among near flats only". That is .
- Multiplication rule: . Check: .
Two events are independent when knowing one does not change the other: . Here but , so metro distance tells you something. That is exactly what makes it a useful feature. Only for independent events can you multiply the plain probabilities: two unrelated flats from different months, each with a 0.6 chance, both rent fast with probability .
The shortcut
Shrink the room. For any "given" question, cross out every row or column that does not match the condition, then count favourable over what is left. The new total is the size of the condition, not 20.
Read the condition
"Given fast" means we only look at flats that rented within a week.
The trap is treating and as the same thing. They share a numerator but have different rooms.
Drills
Answer fast — trust the rule.
What is P(not fast) for the 20 listed flats?
What is P(fast given far from the metro)?
What is P(near or fast)?
Two unrelated flats from different months each have a 0.6 chance of renting fast. What is the chance both do?
Are "near the metro" and "rented fast" independent in this table?
Remember
- Count favourable over total; add for OR, subtract overlap; multiply for AND.
- Shortcut: for "given", shrink the room to the condition, then count.
- Trap: swapping the condition, or multiplying probabilities of dependent events.
