Levels of measurement

Beginner

What you need first. Read Variable. This page is part of Fundamentals.

‹ Variable Population ›

In statistics, levels of measurement are the distinctions among names, ranks, and numerical measurements that decide which summaries are meaningful. Not every column of numbers is a measurement in the same sense. A code, a rank, and a length support different arithmetic, and using the wrong one produces a number that does not mean what it appears to mean. [1] [1]

Levels of measurement

Levels of measurement
Fact Value
Topic Fundamentals
Listed on Fundamentals
Worked example 1

Motivating example

A survey codes pain as 1 none, 2 mild, 3 severe, and also records weight in kilograms. The mean of the weights is a weight. The mean of the pain codes is not a pain. The codes have an order, and that is all the scale gives. [1] [2] [2]

Intuition

Ask what the numbers were allowed to do when they were assigned. If only sameness matters, the scale is nominal. If order matters but the gaps are not lengths, the scale is ordinal. If the values are genuine numerical measurements, the variable is quantitative, discrete when it counts and continuous when it measures a length or a similar magnitude. [1] [1] [2]

Definition

Levels of measurement are the distinctions among those scales. A qualitative categorical variable has modalities that are categories. The categories may sit on a nominal scale, with no order, or on an ordinal scale, with an order. Sex coded as two categories is nominal. A professional grade ordered as qualified, semi-qualified, and not qualified is ordinal. [1] [2] [2]

A quantitative variable has numerical modalities: weight, age, speed, a count of children. Discrete quantitative variables take distinct values. Continuous ones, such as a length, are not confined to a list of integers. [1] [2] [2]

Qualitative data may be stored as names, symbols, or number codes. Quantitative data are values or counts expressed as numbers. [2] [2]

Properties

Frequencies are defined for every level: they count how often a category or a number appears. [1] [2] A median, as a middle position in an ordered list, needs at least an order. A mean needs numerical values whose differences are meaningful, which is the quantitative case. [2] [2] [1]

Quartiles and other quantiles split an ordered numerical list into equal shares of the observations. They are position summaries for a quantitative variable. [1] [2]

Statistical use

The level is chosen before the summary. A bar chart is the natural picture of a category. A histogram is the natural picture of a numerical measurement grouped into classes. A model that treats a nominal code as a slope is a model of the code, not of an underlying length. [2] [2] [1]

Worked example

Five students have letter grades A, C, B, A, C and test scores 90, 70, 80, 95, 70. The grades are ordinal if A is above B and B is above C. Their frequencies are A 2, B 1, C 2. The scores are quantitative. Their mean is (90+70+80+95+70)/5 = 405/5 = 81. Replacing A, B, C by 3, 2, 1 and averaging gives (3+1+2+3+1)/5 = 2, which is a code average, not a grade and not a score. [1] [2] [1]

Your turn. One more student scores 85 and is graded B. What are the mean score and the frequency of B?

The scores total 405 + 85 = 490 over 6 students, so the mean is 490/6. The grade B now appears twice.

Common misconceptions

A numerical code is not a quantitative measurement. An ordinal scale is not a scale of equal steps: the gap from “mild” to “severe” need not equal the gap from “none” to “mild”, even when the codes differ by 1. [1] [2]

Assumptions and limits

The distinction used here is the one between a nominal category, an ordinal category, and a quantitative value, discrete or continuous. A numerical code does not by itself create equal steps or a true zero. [1] [1] [2]

Connections

The variable is what is measured. Counting how often a category appears is a summary every level allows. Summary statistics add a mean and a spread when the values are numerical. A count and a length do not share a distribution just because both were stored as numbers. [1] [2]

Check yourself

Try these questions before opening an answer.

Mean of scores

Five test scores are 90, 70, 80, 95, and 70. A sixth score of 85 is added. What is the mean of the six scores?

The total is 405 + 85 = 490. The mean is 490/6.

Frequency of a grade

Grades A, C, B, A, C are followed by one more grade B. How many times does B appear?

B appears twice.

History

Classifying characteristics into categories and into magnitudes is older than any single scale taxonomy. The practical rule on these pages is the one the arithmetic needs: do not average what was only named or only ranked. [1] [1]

See also

Data · Dataset · Variable · Population · Census · Sample · Parameter

Glossary and index

References

  1. ^ a b c d e f g h i j k l m n o p q r s a. (p. 439) b. (p. 440) c. (p. 439) d. (p. 439) e. (p. 440) f. (p. 439) g. (p. 440) h. (p. 208) i. (p. 440) j. (p. 440) k. (p. 353) l. (p. 439) m. (p. 208) n. (p. 439) o. (p. 439) p. (p. 440) q. (p. 353) r. (p. 439) s. (p. 518) Dodge, Yadolah (2008). The Concise Encyclopedia of Statistics. Springer. https://doi.org/10.1007/978-0-387-32833-1
  2. ^ a b c d e f g h i j k l m n o p q r s a. (Glossary, “Ordinal variable”) b. (Glossary, “Numeric variable”) c. (Glossary, “Nominal variable”) d. (Glossary, “Nominal variable”) e. (Glossary, “Ordinal variable”) f. (Glossary, “Discrete variable”) g. (Glossary, “Continuous variable”) h. (Glossary, “Qualitative data”) i. (Glossary, “Quantitative data”) j. (Glossary, “Frequency”) k. (Glossary, “Median”) l. (Glossary, “Mean”) m. (Glossary, “Quartiles”) n. (Glossary, “Bar chart”) o. (Glossary, “Histogram”) p. (Glossary, “Mean”) q. (Glossary, “Ordinal variable”) r. (Glossary, “Nominal variable”) s. (Glossary, “Quantitative data”) Australian Bureau of Statistics (2023). Statistical terms and concepts glossary. Australian Bureau of Statistics. https://www.abs.gov.au/statistics/understanding-statistics/statistical-terms-and-concepts/statistical-terms-and-concepts-glossary
Cite this page
Plain text
StatWiki (2026). "Levels of measurement." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/levels-of-measurement.html
BibTeX
@misc{statwiki_levels_of_measurement,
  author = {{StatWiki}},
  title = {{Levels of measurement}},
  year = {2026},
  url = {https://www.statwiki.io/articles/levels-of-measurement.html},
  urldate = {2026-12-02},
  note = {StatWiki, last updated 2 December 2026}
}