Nominal data is pure naming: blood group, country, favourite colour. The values are labels with no order, and the only sensible summary is counts and the mode; an average blood group is nonsense. Ordinal data adds ranking without equal steps: finishing positions in a race, satisfaction ratings from poor to excellent, education levels. Medians and percentiles suit ordinal data, but means are questionable, because the gap between satisfied and very satisfied is not a known number of anything. Much survey research quietly averages ordinal scales anyway, a practical sin that works tolerably with many points and sympathetic readers, and badly when the scale has three rungs and a grudge.
Interval data has equal steps but an arbitrary zero: temperature in Celsius is the standard example, where 20 degrees is not twice as hot as 10, because zero was placed at freezing water by convention. Differences are meaningful, ratios are not. Ratio data has a true zero, so ratios speak: mass, length, income, counts. Zero kilograms really is none, and 80 really is twice 40. Ratio data supports every statistical tool, including means, standard deviations and the geometric mean. Kelvin temperature is ratio, which is why physicists prefer it. Knowing the level tells you which summaries are legal before any arithmetic begins.
Choosing a statistic that outranks your data manufactures precision from labels. Averaging star ratings treats the distance between one and two stars as identical to the distance between four and five, an assumption smuggled in by the software. Converting ratio data down, say grouping incomes into bands, is safe but wasteful, discarding information that was expensive to collect. The taxonomy, due to Stevens in 1946, is sometimes criticised as rigid, and working statisticians bend it with judgement; but the bend should be conscious. Before computing anything, ask what the values are: names, ranks, steps or true quantities. The honest menu of methods follows from that answer, and half of all statistical errors are prevented at this unglamorous step. A useful exercise is to interrogate any data set you meet with three questions. What exactly was recorded, in what units, by whom? What comparisons and operations does that recording genuinely support? And what was lost when the original phenomenon was compressed into these values? A five-point satisfaction scale compresses a customer's whole experience into an ordinal label; an income band compresses a salary into a category; a pass or fail compresses an examination into a binary. Each compression is sometimes necessary and always lossy. Naming the loss before analysing is the mark of someone who has been fooled by data before and declines to be fooled the same way twice.