DataLeaguebeta
Lesson 11/4up to 50 pts

Measurement scales: what you may do with a variable

lesson~10 minflashcardsgamequizup to 50 pts

Why the scale matters

You can compute the mean of postal codes. Neither Python nor Excel will object. The result 921 47 is nonsense, though, because a postal code is not a quantity but a label. The measurement scale tells you which calculations make sense for a variable.

ScaleWhat the values expressExampleWhat makes sense
nominalonly different categoriesfield of study, region, postal codefrequencies, proportions, mode
ordinalcategories with an ordereducation, satisfaction 1 to 5also the median and quantiles
intervalnumbers with measurable differences, zero is a conventiontemperature in °C, year of birthalso the mean, standard deviation
rationumbers with a natural zeroweight, income, number of childrenalso ratios such as "twice as much"

The first two are categorical, the last two metric (numeric). Each scale allows everything that the scales above it in the table allow.