Nominal Variable vs Ordinal Variable

Both terms below come up in the same part of the course, and students mix them up. Here is each one defined on its own, side by side, so you can see where they part company.

Nominal variable

Variables and data types

A nominal variable is a categorical variable whose categories have no natural order, such as blood type, eye color, or brand of phone.

A variable is nominal when its categories are names and nothing else, so no arrangement of them is more correct than any other. The test is not what the values look like. It is whether swapping two categories around in a list loses information. Blood type, home state, and brand of phone all pass that test: shuffle the categories and the data still say what they said.

Two hundred blood donors type as O 92, A 76, B 22, AB 10. The summaries you may report are counts, proportions, and the mode: O is the most common type at 92/200=0.4692 / 200 = 0.46, and the four proportions add to exactly 1. There is no median blood type and no mean blood type, because both would need an ordering this variable does not have.

"The values are numbers, so the variable is quantitative." Five players wear jersey numbers 3, 12, 21, 34 and 55. Their mean is 125/5=25125 / 5 = 25, a number that identifies nobody and that would change if the team reissued numbers without a single roster change. Zip codes, area codes, student ID numbers and the codes a survey assigns to answer choices are nominal for the same reason: the digits are labels. The general test is in categorical vs quantitative variables.

The reverse trap is just as common, and words do not make a variable nominal. Poor, fair, good and excellent are words carrying a real order, which makes them ordinal and puts a median category back on the table. Nominal is the case where the order genuinely is absent. Because the category order is arbitrary, the bars of a bar graph of a nominal variable can be sorted by height with nothing lost.

The Fall 2026 AP Statistics framework never uses the words nominal or ordinal. It defines one type, the categorical variable, also called qualitative, as one that takes on category names or group labels. Treat the split as useful vocabulary rather than tested content.

Full entry for nominal variable

Ordinal variable

Variables and data types

An ordinal variable is a categorical variable whose categories have a meaningful order, but with no fixed numeric distance between them.

An ordinal variable orders its categories without spacing them. You can say good outranks fair and fair outranks poor. You cannot say the step from fair to good is the same size as the step from good to excellent, because nothing in the data measured either step. That one missing fact decides which summaries are legitimate. The mode, the median category and percentiles are all reportable: the mode needs only counts, and the other two need only the ordering. The mean and the standard deviation are not.

Assigning codes does not supply the missing distances. Nine customers rate store A and nine rate store B on very poor, poor, fair, good, excellent. All nine of A's say good. B splits: five say very poor, four say excellent. Code the categories 1 through 5 and A averages 36/9=4.0036 / 9 = 4.00 against B's 25/9=2.7825 / 9 = 2.78, so A wins. Code them 1, 2, 3, 4, 10, which respects the same order, and A still averages 4.00 while B averages 45/9=5.0045 / 9 = 5.00, so B wins. The ratings never changed. Only the numbers someone picked for the labels did.

"Average satisfaction was 4.2 out of 5." That is an average of codes, not of anything measured, and the reversal above is what it risks. The medians do not budge: A's median is good and B's is very poor under every order-preserving coding you could write down. That stability is the whole reason the median is the defensible center here.

Averaging ordinal codes is routine in survey work anyway, and the honest version states the assumption out loud: the steps are being treated as equal in size. If you can establish equal spacing, say because the categories are ranges of a measured quantity, the variable was quantitative all along and the mean comes back. Order also fixes the display: unlike a nominal variable, an ordinal one keeps its categories in sequence.

The Fall 2026 AP Statistics framework does not use the word ordinal; both kinds count simply as categorical variables there.

Full entry for ordinal variable

Where each one fits in the course