Phase 1: Prepare
Step 1 Warm-up recall
From M4.L1: name two baselines for comparison.
Private: nothing you type here is sent or stored.
Step 2 Learning goal
By the end of this lesson you can:
- read a table of caught, missed and false alarm cases (Foundation);
- compute accuracy, catch rate and precision (Core);
- cost each kind of error and compare options (Core).
Phase 2: Teach
Step 3 A familiar example
A smoke alarm that never rings is quiet and 99% right on a day with no fire. What matters is what it does on the one day in a hundred when there is a fire, and what a false alarm costs.
Step 4 Clear explanation
Overall accuracy can hide what matters. Take an invented fraud screen on 10,000 transactions where 1% are fraud. A tool that flags nothing is 99% accurate and catches no fraud. Now consider a real tool.
| Fraud | Not fraud | Total | |
|---|---|---|---|
| Flagged | 80 (caught) | 200 (false alarms) | 280 |
| Not flagged | 20 (missed) | 9,700 | 9,720 |
| Total | 100 | 9,900 | 10,000 |
| Measure | Working | Result |
|---|---|---|
| Accuracy | (80 + 9,700) ÷ 10,000 | 97.8% |
| Catch rate (recall) | 80 ÷ 100 | 80% |
| Precision | 80 ÷ 280 | 28.6% |
| Cost of errors | 20 × £500 + 200 × £5 | £11,000 |
| Cost of doing nothing | 100 × £500 | £50,000 |
Accuracy is 97.8%, lower than the "do nothing" tool, yet the tool is far better in money terms: £11,000 of error cost against £50,000 for doing nothing. Precision is 28.6%, so more than two thirds of alerts are false, and staff must have time to review them. Missed cases and false alarms usually cost different amounts, which is why you must price each.
The cost of a single wrong answer can land on the organisation. In 2024 a Canadian tribunal found Air Canada liable after its website chatbot told a passenger that a bereavement fare could be claimed after travel, which contradicted the airline policy. The airline was ordered to pay the difference, reported as C$812.02. The sum was small, but the finding was that the company could not disown what its chatbot said.
Step 5 Worked example (4 marks)
A tool on 1,000 cases with 50 real ones finds 40 and raises 100 false alarms. A missed case costs £200 and a false alarm £10. What does the tool cost in errors, and how does that compare with doing nothing?
- Missed = 50 − 40 = 10, costing 10 × £200 = £2,000. (1 mark)
- False alarms cost 100 × £10 = £1,000. (1 mark)
- Total = £3,000. (1 mark)
- Doing nothing = 50 × £200 = £10,000, so the tool saves £7,000 in error cost. (1 mark)
Go deeper: the professor's notes
Real and flagged.
Real and not flagged.
Flagged but not real.
Not real and not flagged.
Options compared
| Option | Error cost |
|---|---|
| Tool | £11,000 |
| Do nothing | £50,000 |
| Flag nothing | £50,000 |
At work: Error cost
5 missed at £100 and 20 false alarms at £5.
- 500 + 100 = £600.
What a careful practitioner decides. Compare with the cost of doing nothing.
Phase 3: Practise
Step 6 Learner practice (instant-marked)
1. A tool flagging nothing on 1% fraud has accuracy of:
It is right on every genuine case.
2. Catch rate (recall) is:
Found over real.
3. 80 true of 280 alerts gives precision of about:
80 ÷ 280.
4. 20 missed at £500 and 200 false alarms at £5 cost:
10,000 + 1,000.
Phase 4: Close
Step 7 Recap
- Overall accuracy can hide the errors that matter.
- Read catch rate, precision and the error mix.
- Cost each kind of error and compare with doing nothing.
Step 8 Exit ticket (ungraded)
A tool misses 5 cases at £100 and raises 20 false alarms at £5. What is the error cost?
Private: nothing you type here is sent or stored.
Step 9 Go further (Extension)
List the two kinds of error in a process you know and estimate a cost for each.
In industry: Air Canada and its chatbot
In February 2024 the British Columbia Civil Resolution Tribunal found Air Canada liable after its website chatbot told a customer he could claim a bereavement fare after travel, which contradicted the airline policy page. The airline argued it could not be held liable for the chatbot. The tribunal found it had not taken reasonable care to ensure the chatbot was accurate, and awarded the customer the fare difference, reported as C$812.02.
Link to this lesson. Lesson link: one wrong answer can become the organisation liability.
Source: Moffatt v. Air Canada, 2024 BCCRT 149; CBC News and CTV News, February 2024.
Common mistakes
| Mistake | Why it fails |
|---|---|
| Judging by accuracy alone | Cost each kind of error. |
| Ignoring false alarms | Count the review time. |
| Treating all errors as equal | Missed and false cases cost differently. |
Limits. The fraud example is invented. The Air Canada figure is from news reports of a small-claims tribunal ruling and is not a precedent for all jurisdictions.