Grade 9 Computer Science · Working with data
The four stages
Where errors in data analysis come from, and why most are not in the computation.
A complete log without a single failure
A system ran for a year, and its log shows it never fell over. Every line in it is correct, and the computation over it is exact. And still the conclusion is wrong — and the mistake is not in any number in the file, but in what never got into it.
Analysing data sounds like computation, and most of the work is not computation at all. The road from a file you received to a claim you are prepared to stand behind passes through four stages, and each of them has its own kind of error.
| The stage | Its error |
|---|---|
| Raw | Not knowing how it was gathered and what is missing |
| Clean | Cleaning in a way that changes the conclusion |
| Analysed | A summary hiding what matters |
| A conclusion | Saying more than the data permits |
The first question: who is not here
Before any computation, the question worth more than all others is whom this data does not cover. A survey sent by email covers only whoever has email and reads it; a log kept only while the system worked does not hold the times it fell over; sales data does not hold whoever wanted to buy and could not. In all three cases what is missing is exactly what would have been interesting. The data does not lie — it simply does not include, and that cannot be discovered from within it.
Example 1 — a survey by email
- The survey was sent to all those registered.
- Only those who read email and reply answered.
- The results describe them alone.
- And that cannot be known from the results.
Example 2 — a system’s log
- The log is written by the system.
- When it fell over, nothing was written.
- So the failures are not in the log.
- Exactly what we wanted to investigate.