Lecture 21 · room 108
HEMA · Università Cattolica del Sacro Cuore, Rome
Friday 11 December 2026
Lecture 20 · Interpretability · Wed 9 Dec
| Time | Min | |
|---|---|---|
| 10:00 | Last time · Set 17, the In class questions | 15’ |
| 10:15 | Dashboards | 30’ |
| 10:45 | Uncertainty | 25’ |
| 11:10 | Charts that lie | 20’ |
| 11:30 | Break | 15’ |
| 11:45 | The story | 25’ |
| 12:10 | Human and AI | 20’ |
| 12:30 | Closing · Set 18 · the exam | 30’ |
The analysis that is not understood was not done
Twelve lectures of methods. This one is about the last slide.
Before any chart, three questions per panel:
Note
The typical failure is a dashboard with twenty panels and no decision — an analyst’s exploration, printed. A dashboard for a decision has three to five panels, and every one has a so what.
The model produces a probability per customer. The dashboard shows:
A point forecast of €1.42M next quarter is a lie of precision. An interval of €1.1M–€1.8M is honest and, presented badly, paralysing.
Attention
An interval from a model is uncertainty given the model is right. It says nothing about the model being wrong. Say that, once, in words.
| Audience | Show |
|---|---|
| Executive decision | the probability of the outcome they fear, and one interval |
| Operations | the range, and what to do at each end |
| Regulator, auditor | everything, with method |
| Public, patients | the risk in natural frequencies: 3 in 100, never 3% |
The last row is not style. Natural frequencies are understood correctly by most people; percentages and relative risks are not, including by doctors.
Note
Each one is a legitimate technique in some context. The lie is in the mismatch between what the reader sees and what the data say. Your job is to know which side of that line you are on — and to check which side the vendor’s deck is on.
Fifteen minutes. Eight slides. If the decision-maker leaves after slide 1 they should still know what you want.
We should contact the 2 000 highest-risk customers before their renewal date. The model identifies 71% of churners in that group, against 27% by chance. Risk is highest in the first year and after a support call — the second is fixable. The model finds patterns, not causes: we will measure the offer’s effect with a holdout of 200.
That is the whole of Module 2, in four sentences a CFO can act on. Everything before today was so that the four sentences are true.
Use it. Then check it. The rule of this course, from the first day.
ggplot you can describe; explaining an error message; drafting the eight slides from your notes; the first version of any code you could write yourself in twenty minutesglmnet matrix was standardised; anything you cannot checkAttention
It will write glmnet code that standardises the wrong matrix, confidently. The exam asks you to read code and say what it does, precisely because in your career you will be the one who checks.
| The model, or the assistant, does | You do |
|---|---|
| Fit, tune, predict, draft | Decide what question is worth asking |
| Explain what it computed | Decide whether the answer is plausible |
| Produce the chart | Decide what the chart is for |
| Generate options | Own the recommendation |
The last row is the whole thing. Nothing in this course transfers responsibility for a decision to a model, and nothing in your career will.
| Weeks | You can now |
|---|---|
| 1–3 | find structure with no label: segment customers, group patients, reduce twenty items to two drivers, map a brand |
| 4–5 | predict with algorithms: trees, forests, boosting, networks — and choose between them on evidence |
| 6 | open the box you chose, and explain what is in it |
| 7 | put it in front of someone who decides |
Note
Marks are not discussed at office hours. The feedback on Blackboard says why each answer scored what it did. Read that first.
Dashboards, uncertainty, and the story · about 40 minutes · before the exam
Not graded. The test is a mirror, not an exam.
Statistics & Big Data · HEMA, Università Cattolica del Sacro Cuore