From data to wisdom
Data becomes more useful as it gains context, meaning, and finally a decision. This ladder is called the DIKW hierarchy.
Try it: which rung is it?
Data Analytics / Module 1 / Topic 3
Topic 3 · Foundations
What kind of data is it, can you trust it, and what question are you really asking?
Data becomes more useful as it gains context, meaning, and finally a decision. This ladder is called the DIKW hierarchy.
Try it: which rung is it?
The kind of data decides which charts and summaries make sense.
Quantitative data are numbers. They can be discrete (counted in whole units, like the number of orders) or continuous (measured on a scale, like weight or time). Qualitative data are categories or text, like a plant type or a written review.
Two more splits matter. Cross-sectional data describe many units at one point in time (last month's sales for every plant). Time series data track one measure over time (fern sales month by month). And data can be structured (rows and columns, like sales records), semi-structured (tagged but not in a fixed table, like emails or web logs), or unstructured (no fixed format, like photos or reviews).
Try it: which kind is it?
Not all numbers mean the same thing. The psychologist S. S. Stevens sorted them into four levels. Each level keeps what the one below has and adds one more thing.
| Level | What it adds | Example | What you can do |
|---|---|---|---|
| Nominal | Labels only, no order | Plant type: fern, cactus | Count, find the most common |
| Ordinal | An order, but the gaps may not be equal | Rating: low, medium, high | Median, percentiles |
| Interval | Equal gaps, but no true zero | Temperature in °F | Add, subtract, average |
| Ratio | Equal gaps and a true zero | Sales, units sold, age | All arithmetic, including ratios |
A ZIP code looks like a number, but it is a label, so averaging ZIP codes means nothing. And 40 °F is not twice as warm as 20 °F, because zero on that scale is arbitrary.
Try it: which level is each column?
Report the center two ways, say how spread out the values are, and note anything extreme.
Here are Sprout & Stem's online sales for 15 days, in dollars. On day 11, one garden club placed a big order.
Mean: the average. Median: the middle value when sorted. Quartiles: the values that cut off the bottom quarter and the top quarter, so the middle half lies between them. Standard deviation: roughly the typical distance of a value from the mean.
Garbage in, garbage out: a flawless method on flawed data still gives a flawed answer.
Here is part of Sprout & Stem's order file. It has planted problems.
Try it: which kind of problem is each one?
Try it: what should you do about order 2105?
The most common reason an analysis fails is not a bad technique but a badly posed question.
A classic story: an analyst hired by the military was asked to speed up how fast fighter planes were turned around between landing and takeoff. The military blamed the ground crews. The analyst looked around first and found the real cause: the refueling trucks kept arriving late, because of how they were refilled. Fixing that solved it, with no change to the crews.
A widely used plan for analytics projects, called CRISP-DM, has six phases. It runs as a cycle: what you learn in one phase often sends you back to an earlier one.
Try it: put the six phases in order
Try it: which question is sharpest?
The owner asks, "Are our workshops worth it?"
The statistician Francis Anscombe made four small datasets whose summary numbers are almost identical. Plotted, they look completely different.
A correlation measures only how closely points follow a straight line, from −1 to +1. A strong curve can score near zero, and Set II scores 0.816 even though a straight line is the wrong model for it.
Try it: which chart answers the question?
Six quick cases. Four are common mistakes, and two are fine.
Now describe a set of numbers of your own in the tool.
Describe a variable. Paste or type 3 to 60 numbers. The tool reports the center two ways, the spread, a dot plot, and what changes without the largest value. It starts with Sprout & Stem's made-up daily sales.
Type the 15 daily sales in B2 to B16.
=AVERAGE(B2:B16) returns about 406.3 and =MEDIAN(B2:B16) returns 352.=MIN(B2:B16) returns 259 and =MAX(B2:B16) returns 1184. =QUARTILE.INC(B2:B16,1) returns 317.5 and =QUARTILE.INC(B2:B16,3) returns 400.5. =STDEV.S(B2:B16) returns about 221.2.=COUNTIF(B2:B16,"<"&AVERAGE(B2:B16)) returns 12. That many days fall below the "average" day.Before you describe anything, check the data: =COUNTBLANK(range) finds missing cells, and =COUNTIF(range,cell) copied down shows a 2 next to any record stored twice.
Seven local deliveries took these times, in minutes: 40, 106, 36, 34, 48, 45, 41.
a) Mean?
b) Median?
A column records pot size as small, medium, or large. Which level of measurement is it?
The owner wants to see how monthly workshop sign-ups changed over two years. Which chart answers that?
The same customer is stored twice in the mailing list. Which data-quality problem is that?
AI can help you get to know a new dataset fast. Treat it like a quick but junior analyst: you give the context and the judgment, it gives speed, and you check everything. If your class has an AI policy, follow it.
The best prompts make you do the thinking, with AI as a coach.
Give an AI assistant these 15 daily sales: 342, 287, 365, 301, 398, 326, 417, 352, 259, 371, 1184, 309, 403, 334, 446. Ask for the mean, the median, and the first and third quartiles, and ask whether the mean or the median better describes a typical day. Then compare.