8  Categories Instead of Measurements

So far the measurement has come first and the category second. A thermometer gives a number, and we decide whether it’s a fever. But often we skip the number altogether. A botanist looks at a plot and writes down “3” for a species, without ever measuring its cover. A sailor names the wind “force 6” without an instrument. A soil scientist rubs a pinch of moist soil between finger and thumb and says “silty clay loam.” My car’s fuel gauge shows bars, never liters.

In each case the category is the record. There is no number behind it to go back to. This chapter looks at why we do that, what the categories look like when they stand in for a measurement, and what they hide.

Show the setup code
## graphics
library(ggplot2)
library(patchwork)

8.1 How tightly the category is bound

It helps to think of a spectrum. At one end, we have a number and a scale nobody has written down. I read the thermometer, see 18 °C, and know without thinking that it’s “cool.” Chapter 2 was about scales like that. In the middle, we have a number and a formal scale: a reading of 38.2 °C and a published line at 38.0 that turns it into “fever.” Chapters 3 through 7 lived mostly there.

At the far end, the number never exists. The observer goes straight to the category. That’s the subject of this chapter.

8.2 Why record the category

There are good reasons to skip the measurement.

It’s faster. A vegetation survey might record a hundred species in a plot. Estimating a class for each takes seconds. Measuring the exact cover of each would take hours.

Sometimes there’s no instrument. When Francis Beaufort devised his wind scale in 1805, a ship had no anemometer. What it had was sails, and the officers knew exactly how much sail a ship could carry in each strength of wind.

And often the category is all anyone needs. The decision only depends on which class a reading falls in, so a more precise number adds work without changing anything. Chapter 6 made the same point from the other side: precision matters near a boundary and hardly anywhere else.

There’s a human reason too. George Miller’s limit, about seven categories for a single kind of judgment, means an observer can assign a handful of classes quickly and consistently. Ask the same observer for a percentage, and two people looking at the same plot can give numbers that differ widely. The classes are coarse, but they are more repeatable than the false precision of a guessed number.

8.3 A botanist’s scale

One of these scales comes from my own field. For a century, vegetation scientists have described plant communities with the cover-abundance classes devised by Josias Braun-Blanquet. The observer looks at each species in a plot and records a single symbol.

Show the code
# ch08_fig0_braun_blanquet.R -- MRC chapter 8: a category scale recorded INSTEAD of a measurement.
# Braun-Blanquet cover-abundance classes (standard definitions: r, +, 1 <5%, 2 5-25%, 3 25-50%, 4 50-75%, 5 75-100%).
library(ggplot2)
d <- data.frame(cls = c('1', '2', '3', '4', '5'), lo = c(0, 5, 25, 50, 75), hi = c(5, 25, 50, 75, 100))
d$mid <- (d$lo + d$hi) / 2
fills <- c('#DCEBC4', '#B5D58F', '#86B95E', '#5A9A3A', '#336F22')
g <- ggplot() +
  annotate('rect', xmin = -22, xmax = -14, ymin = 0, ymax = 1, fill = 'grey92', colour = 'white') +
  annotate('rect', xmin = -13, xmax = -5, ymin = 0, ymax = 1, fill = 'grey85', colour = 'white') +
  annotate('text', x = c(-18, -9), y = 0.5, label = c('r', '+'), size = 5, fontface = 'bold', colour = 'grey20') +
  annotate('text', x = -13.5, y = -0.32, label = 'one or a few plants:\ncounted, not measured', size = 2.8, lineheight = 0.95, colour = 'grey30') +
  geom_rect(data = d, aes(xmin = lo, xmax = hi, ymin = 0, ymax = 1, fill = cls), colour = 'white', linewidth = 0.8) +
  scale_fill_manual(values = setNames(fills, d$cls), guide = 'none') +
  geom_text(data = d, aes(x = mid, y = 0.5, label = cls), size = 5, fontface = 'bold', colour = c('grey15', 'grey15', 'white', 'white', 'white')) +
  geom_text(data = d, aes(x = mid, y = 1.18, label = paste0(lo, '-', hi, '%')), size = 3, colour = 'grey25') +
  annotate('segment', x = 0, xend = 100, y = -0.08, yend = -0.08, colour = 'grey40', linewidth = 0.3) +
  annotate('text', x = seq(0, 100, 25), y = -0.2, label = paste0(seq(0, 100, 25), '%'), size = 2.8, colour = 'grey35') +
  annotate('text', x = 50, y = -0.45, label = 'cover: share of the ground the species covers, seen from above', size = 3, colour = 'grey25') +
  scale_x_continuous(limits = c(-24, 105), expand = c(0, 0)) + scale_y_continuous(limits = c(-0.6, 1.35)) +
  labs(caption = paste0('How to read: an observer looks at each species in a plot and records one symbol, not a percentage. Classes 3, 4 and 5 each span\n',
    '25 points of cover; class 1 spans only 5; and r and + are not cover classes at all, but counts. The scale is finest at low cover,\n',
    'where most species in a plot fall, and coarsest where only a few dominant species ever reach.')) +
  theme_void(base_size = 10.5) + theme(plot.caption = element_text(hjust = 0, size = 8.2, colour = 'grey20', lineheight = 1.1),
        plot.background = element_rect(fill = 'white', colour = NA), plot.margin = margin(10, 12, 8, 12))
out <- 'G:/My Drive/Projects/MRC/figures'
ggsave(file.path(out, 'ch08_fig0_braun_blanquet.png'), g, width = 8, height = 2.9, dpi = 300, bg = 'white')
ggsave(file.path(out, 'ch08_fig0_braun_blanquet.pdf'), g, width = 8, height = 2.9, device = cairo_pdf)
g
Figure 8.1: The Braun-Blanquet cover-abundance classes, laid on the cover scale they replace.

The classes aren’t equal. Classes 3, 4 and 5 each cover 25 percentage points. Class 1 covers only 5. And the two lowest symbols, r and +, aren’t cover classes at all: they record that a species is present as one plant or a few. The scale changes what it measures partway along, from counting plants to estimating cover.

That looks untidy, but it has a logic. In almost any plot, most species are minor, with a few plants or a little cover, and only one or two dominate. The scale is finest where most of the species are and coarsest where only the dominants reach. Its unevenness is a design.

Every analysis built on these records inherits that design. Two surveys with slightly different class boundaries, recording identical vegetation, will produce different numbers downstream. The categories aren’t a summary of the data. They are the data.

8.4 A sailor’s scale

The Beaufort scale has a history that shows what happens when a category outlives the thing it was defined by. Beaufort’s original numbers, 0 to 12, described the sail a fighting ship of his day could carry, from calm to a wind no canvas could stand. Descriptions of the sea’s appearance came later. Then steam replaced sail, and the original definitions described ships that no longer existed. In 1906 the British meteorologist George Simpson gave each Beaufort number an equivalent wind speed, and international meteorologists adopted equivalents in 1926 and revised them in 1946.

The numbers survived. Sailors still speak of “force 8.” But a force 8 is now defined by a range of measured wind speeds, not by the sails of a frigate. The label was kept and its definition replaced, a kind of change Chapter 9 looks at more closely.

8.5 Institutions publish the category

Many agencies measure precisely and then publish only the category. The air-quality index on a phone, the UV index, a fire-danger sign at the edge of a park, a hurricane’s category on the evening news: in each case a careful measurement sits behind the public message, but the public sees the class. The number is there for those who want it. The category is what’s meant to change behavior.

That makes the shape of the categories very important, because most people will never see what’s underneath them.

8.6 Equal-looking bars over unequal amounts

My Smart Car’s fuel gauge has eight bars. On a long drive I can go a very long way before the first bar disappears. Once I’m down to three bars, they seem to go much faster. I can’t prove it from my own records, but the feeling is strong, and it turns out to be common. Some engineers say gauges are deliberately set to read full for a while and to keep a reserve below empty. Part of it is simply the shape of the tank.

The air-quality index is a clearer case, because its numbers are published.

Show the code
# ch08_fig1_unequal_categories.R -- MRC chapter 8: categories that LOOK equal but cover unequal amounts.
# (a) US Air Quality Index for PM2.5, 2024 breakpoints (EPA fact sheet, Feb 2024): the index is piecewise-linear, so equal
#     50-point bands stand for very unequal concentration ranges. Official AQI colours. Previous (pre-2024) breakpoints as ticks.
# (b) Saffir-Simpson hurricane wind scale (sustained wind, mph).
library(ggplot2); library(patchwork)
bp <- data.frame(cat = c("Good", "Moderate", "Unhealthy for\nsensitive groups", "Unhealthy", "Very unhealthy"),
                 clo = c(0, 9.0, 35.4, 55.4, 125.4), chi = c(9.0, 35.4, 55.4, 125.4, 225.4),
                 alo = c(0, 50, 100, 150, 200), ahi = c(50, 100, 150, 200, 300),
                 col = c("#00e400", "#ffff00", "#ff7e00", "#ff0000", "#8f3f97"))
bp$cat <- factor(bp$cat, levels = bp$cat)
old <- c(12.0, 35.4, 55.4, 150.4, 250.4)
ga <- ggplot(bp) +
  geom_rect(aes(xmin = clo, xmax = chi, ymin = alo, ymax = ahi, fill = cat), colour = "white", alpha = 0.9) +
  geom_segment(aes(x = clo, xend = chi, y = alo, yend = ahi), colour = "grey15", linewidth = 0.6) +
  geom_rect(aes(xmin = clo, xmax = chi, ymin = -22, ymax = -6, fill = cat), colour = "white") +
  geom_text(aes(x = (clo + chi) / 2, y = -14, label = sprintf("%.0f", chi - clo)), size = 2.8) +
  annotate("segment", x = old, xend = old, y = -38, yend = -25, colour = "grey20", linewidth = 0.6) +
  annotate("text", x = 258, y = -32, hjust = 1, size = 2.5, colour = "grey35", label = "ticks: boundaries before 2024") +
  geom_text(aes(x = ifelse(cat == "Very unhealthy", (clo + chi) / 2, chi + 2), y = (alo + ahi) / 2 + ifelse(cat == "Very unhealthy", 25, 0), label = cat), hjust = ifelse(bp$cat == "Very unhealthy", 0.5, 0), size = 2.8, lineheight = 0.9, colour = ifelse(bp$cat == "Very unhealthy", "white", "grey10")) +
  scale_fill_manual(values = setNames(bp$col, bp$cat), guide = "none") +
  scale_x_continuous(limits = c(0, 262), breaks = c(0, 50, 100, 150, 200, 250), expand = c(0, 0)) +
  scale_y_continuous(limits = c(-40, 305), breaks = seq(0, 300, 50), expand = c(0, 0)) +
  annotate("label", x = 4, y = 298, hjust = 0, vjust = 1, size = 2.8, fill = "white", label.r = unit(0, "pt"), lineheight = 1.05,
           label = "How to read: the AQI on your phone moves in equal\n50-point steps (left axis), but each step stands for a\ndifferent amount of fine particles (bottom). The\nnumbers in the strip are the widths: 'Good' covers\n9 micrograms per cubic meter; 'Unhealthy' covers 70.\nEqual-looking bars over unequal amounts, like a\nfuel gauge.") +
  labs(x = "fine particles, PM2.5 (\u00B5g/m\u00B3)", y = "Air Quality Index", tag = "a") +
  theme_minimal(base_size = 10.5) + theme(panel.grid.minor = element_blank())
ss <- data.frame(cat = factor(paste("Category", 1:5), levels = paste("Category", 1:5)), lo = c(74, 96, 111, 130, 157), hi = c(95, 110, 129, 156, 185))
ss$w <- c(ss$hi[1:4] - ss$lo[1:4] + 1, NA)
gb <- ggplot(ss) +
  geom_rect(aes(xmin = lo, xmax = hi + 1, ymin = 0, ymax = 1, fill = cat), colour = "white") +
  geom_text(aes(x = (lo + pmin(hi, 175) + 1) / 2, y = 0.5, label = ifelse(is.na(w), "Cat 5\n157 and up", sprintf("Cat %d\n%d mph wide", 1:5, w))), size = 2.8, colour = c("grey10", "grey10", "white", "white", "white"), lineheight = 0.95) +
  scale_fill_manual(values = c("#fdd49e", "#fdbb84", "#ef6548", "#d7301f", "#7f0000"), guide = "none") +
  scale_x_continuous(limits = c(70, 186), breaks = c(74, 96, 111, 130, 157), expand = c(0, 0)) +
  scale_y_continuous(breaks = NULL) +
  labs(x = "sustained wind (mph)", y = NULL, tag = "b", subtitle = "Saffir-Simpson hurricane categories: unequal widths, and not in order of size. Category 2 is the narrowest.") +
  theme_minimal(base_size = 10.5) + theme(panel.grid = element_blank(), plot.subtitle = element_text(size = 8.5, colour = "grey25"))
g <- ga / gb + plot_layout(heights = c(4, 1))
out <- "G:/My Drive/Projects/MRC/figures"
ggsave(file.path(out, "ch08_fig1_unequal_categories.png"), g, width = 7.5, height = 7.2, dpi = 300, bg = "white")
ggsave(file.path(out, "ch08_fig1_unequal_categories.pdf"), g, width = 7.5, height = 7.2, device = cairo_pdf)
g
Figure 8.2: Categories that look equal but cover unequal amounts: (a) the US Air Quality Index for fine particles (PM2.5), 2024 breakpoints; (b) the Saffir-Simpson hurricane wind scale.

On a phone, the AQI moves in equal steps of 50 points, each with its own color. But the steps stand for very different amounts of fine particles in the air. “Good” covers a range of 9 micrograms per cubic meter. “Unhealthy” covers 70. The display makes the categories look the same size. The air doesn’t.

The breakpoints also move. In 2024 the agency lowered the top of “Good” from 12.0 to 9.0, as evidence grew that lower levels of fine particles still harm health. Overnight, some days that had been “Good” became “Moderate.” That is Chapter 6’s lesson again: the boundary moved, the measurement stood still.

The hurricane scale is uneven in a different way. Category 1 spans 22 miles per hour of wind speed, Category 2 only 15, Category 3 19 and Category 4 27. Category 5 has no upper limit at all. The categories aren’t even ordered by size. They were set to match the kinds of damage engineers observed, not to divide the wind evenly.

8.7 The martini glass

Why might a fuel gauge feel uneven even if its maker did nothing special? A martini glass gives the answer.

Show the code
# ch08_fig2_martini_glass.R -- MRC chapter 8: we read the LEVEL, the quantity is the VOLUME.
# A V-shaped (conical) glass holds volume in proportion to height cubed; a straight-sided glass in proportion to height.
library(ggplot2); library(patchwork)
h <- seq(0, 1, 0.005)
d <- rbind(data.frame(h = h, v = h^3, glass = "martini glass (cone)"), data.frame(h = h, v = h, glass = "straight-sided glass"))
pal <- c(`martini glass (cone)` = "#b0172a", `straight-sided glass` = "grey45")
ga <- ggplot(d, aes(h, v, colour = glass)) +
  annotate("segment", x = 0.5, xend = 0.5, y = 0, yend = 0.5, linetype = "22", colour = "grey55", linewidth = 0.35) +
  annotate("segment", x = 1, xend = 0.5, y = 0.125, yend = 0.125, linetype = "22", colour = "#b0172a", linewidth = 0.35) +
  annotate("segment", x = 0.794, xend = 0.794, y = 0, yend = 0.5, linetype = "22", colour = "#b0172a", linewidth = 0.35) +
  annotate("segment", x = 1, xend = 0.5, y = 0.5, yend = 0.5, linetype = "22", colour = "grey55", linewidth = 0.35) +
  geom_line(linewidth = 1.1) +
  annotate("point", x = c(0.5, 0.794), y = c(0.125, 0.5), colour = "#b0172a", size = 2.6) +
  scale_colour_manual(values = pal, name = NULL) +
  scale_x_reverse(breaks = c(1, 0.794, 0.5, 0.25, 0), labels = c("full", "79%", "half", "25%", "empty"), expand = c(0.01, 0)) +
  scale_y_continuous(breaks = c(0, 0.125, 0.25, 0.5, 0.75, 1), labels = c("0", "1/8", "1/4", "1/2", "3/4", "all"), expand = c(0.01, 0)) +
  annotate("label", x = 0.56, y = 0.99, hjust = 0, vjust = 1, size = 2.9, fill = "white", label.r = unit(0, "pt"), lineheight = 1.05,
           label = "How to read: drinking moves you left\nto right as the level falls. In a martini\nglass (red), half the drink is gone when\nthe level has dropped only to 79% of its\nheight; at half height, only one-eighth\nis left. In a straight glass (gray), half\nheight means half the drink.") +
  labs(x = "level of the drink (share of the glass's height)", y = "drink remaining", tag = "a") +
  theme_minimal(base_size = 10.5) + theme(legend.position = "bottom", panel.grid.minor = element_blank())
# glass silhouettes at half height
cone_out <- data.frame(x = c(-1, 0, 1), y = c(2, 0, 2)); cone_in <- data.frame(x = c(-0.5, 0, 0.5), y = c(1, 0, 1))
stem <- data.frame(x = c(0, 0), y = c(0, -0.9)); foot <- data.frame(x = c(-0.55, 0.55), y = c(-0.9, -0.9))
cyl_out <- data.frame(x = c(2.2, 2.2, 3.4, 3.4), y = c(2, -0.9, -0.9, 2)); cyl_in <- data.frame(x = c(2.2, 2.2, 3.4, 3.4), y = c(0.55, -0.9, -0.9, 0.55))
gb <- ggplot() +
  geom_polygon(data = cone_in, aes(x, y), fill = "#e9c46a", alpha = 0.85) +
  geom_polygon(data = cone_out, aes(x, y), fill = NA, colour = "grey25", linewidth = 0.7) +
  geom_path(data = stem, aes(x, y), colour = "grey25", linewidth = 0.7) + geom_path(data = foot, aes(x, y), colour = "grey25", linewidth = 0.7) +
  geom_polygon(data = cyl_in, aes(x, y), fill = "#e9c46a", alpha = 0.85) +
  geom_path(data = cyl_out, aes(x, y), colour = "grey25", linewidth = 0.7) +
  annotate("text", x = 0, y = -1.25, label = "half height:\none-eighth left", size = 2.9, colour = "#b0172a", lineheight = 0.95, vjust = 1) +
  annotate("text", x = 2.8, y = -1.25, label = "half height:\nhalf left", size = 2.9, colour = "grey30", lineheight = 0.95, vjust = 1) +
  coord_equal(xlim = c(-1.3, 3.7), ylim = c(-2.1, 2.2)) + labs(tag = "b") + theme_void(base_size = 10.5)
g <- ga + gb + plot_layout(widths = c(2.2, 1))
out <- "G:/My Drive/Projects/MRC/figures"
ggsave(file.path(out, "ch08_fig2_martini_glass.png"), g, width = 8, height = 4.6, dpi = 300, bg = "white")
ggsave(file.path(out, "ch08_fig2_martini_glass.pdf"), g, width = 8, height = 4.6, device = cairo_pdf)
g
Figure 8.3: The fraction of a drink left as its level falls, in a straight glass and a cone-shaped martini glass.

In a straight-sided glass, the level and the amount fall together. Half the height means half the drink. A martini glass is a cone, and a cone holds most of its volume near the top. Half the drink is gone when the level has dropped only about a fifth of the way down. At half height, only one-eighth is left. So the first sips seem to go nowhere, and the last ones vanish.

What we read is the level. What we care about is the volume. They are two different quantities, and the shape of the container decides how one turns into the other. This is Bridgman once more: the operation we perform, looking at the height, isn’t the quantity we want to know. A fuel gauge has the same problem. Its float measures the level of fuel in a tank whose shape is anything but a simple cylinder.

The effect is real enough to change behavior. In a 2012 study, people drank a full glass of lager much faster from a curved glass than from a straight one. The difference disappeared with a soft drink, and with a half-full glass. The researchers suggested that the curved glass made it harder to judge the halfway point, so drinkers lost track of their pace.

8.8 Scales that multiply

Some category scales are evenly spaced, but on a scale that multiplies. Earthquake magnitude, the decibel scale for sound and the pH scale for acidity all work this way. Each step up stands for a fixed multiple of the step before, not a fixed amount. A magnitude 7 earthquake isn’t a little stronger than a 6. Its shaking is about ten times larger. The categories look even on paper and are wildly uneven in the world. Everyday language rarely keeps up. “Only one point higher” sounds reassuring and isn’t.

8.9 Categories with no single measurement behind them

At the far end of this chapter’s spectrum are categories with no single measurement underneath at all.

Life forms are a step in that direction. To a home gardener, four categories cover most plants: grass, shrub, small tree, big tree. When I had to describe the plants of a complicated site, that wasn’t enough. I was forced to see more, and that’s where the life forms of the Danish botanist Christen Raunkiaer came in handy. Raunkiaer sorted plants by a single trait: where their surviving buds sit during the unfavorable season, high in the air, near the ground, at the surface or below it. Focusing on one trait gives about the right number of familiar categories, and it lets an observer get to work instead of standing and staring, wondering which of many possible schemes might apply. The focus reduces friction.

Skill levels go further. Years ago I wrote a short paper, with Han Lau, about how people acquire skill in ethnobotanical research. We built on the work of Hubert and Stuart Dreyfus, who described five stages: novice, advanced beginner, competent, proficient and expert. Each stage has a clear name, and the names come in a fixed order. But no single measurement places a person on the ladder. A different combination of skills and behaviors marks each rung, and what matters changes from one rung to the next. Even so, people grasp the names almost intuitively, and once someone has thought through what defines each stage, the categories show how to move up. I use them myself. For travel, I’d place myself at proficient, aspiring to expert. For working with AI, I’m competent, aspiring to proficient.

Plant families go furthest of all, and they may be the biggest use of categories in my field. A botanist learns to recognize many dozens of families, sometimes hundreds, far more than Miller’s seven. That’s possible because a family isn’t a slice of one measurement. Its members share a whole set of properties, and those properties aren’t found together in other families. A trained eye takes in many characters at once and recognizes the family as a whole, often before it could list the reasons. Miller himself pointed to the two ways people escape the limit of seven: judging many dimensions at once, and recoding information into larger chunks. Botanists do both. The families sit inside a hierarchy of orders and classes above them, and each level is a chunk that holds the ones below.

8.10 What the category leaves behind

Recording the category instead of the measurement is often the wise choice. It’s quick, it’s repeatable, and it captures exactly what a decision needs. But it is a one-way door. Once a plot is recorded as “3,” nobody can recover whether the species covered 26 percent or 49. Once a day is “Good,” the phone doesn’t say how close it came to “Moderate.” Once a wind is “force 6,” the gusts are gone.

When the category stands in for the measurement, the shape of the category becomes the shape of everything we know.