Tutorials › Introduction to Statistics › Nominal and Ordinal Categories

Variables, Data Types and Questions · Tutorial 4 of 996

Nominal and Ordinal Categories

Learn to identify whether categorical values have a meaningful order and what that order does—and does not—allow you to conclude.

Beginner 9 min read

What You'll Learn

  • Define nominal and ordinal categories.
  • Decide whether an ordering is meaningful in context or merely a display choice.
  • Classify academic majors, satisfaction responses, and health-severity levels.
  • Explain why ordinal order does not imply equal distances between categories.
  • Summarize example data without treating category labels as measurements.
  • Recognize common classification errors involving alphabetic order and number codes.

Why Some Categories Have an Order

Categorical variables describe which group or kind an individual belongs to. But categories differ in an important way: some have no natural order, while others can be ranked meaningfully. Knowing which kind you have helps you describe the data without adding meaning that the recorded values do not support.

For example, a student's major might be Biology, History, or Economics. These are different groups, but there is no general sense in which one major is higher or lower than another. By contrast, responses such as “very dissatisfied,” “dissatisfied,” “satisfied,” and “very satisfied” have a meaningful order from less satisfaction to more satisfaction. They remain categories, but their order conveys information.

Definition: A nominal categorical variable has categories with no natural ranking. An ordinal categorical variable has categories that can be placed in a meaningful order. In both cases, the recorded values identify categories rather than measured numerical amounts.

The distinction is about the meaning of the categories in context, not their spelling, position in a table, or use of numbers as codes. An analyst can arrange nominal categories alphabetically, but that arrangement does not make them ordinal. Conversely, categories can be ordinal even when their names are words rather than numbers.

Nominal Categories: Different, Not Ranked

A nominal variable classifies each individual into one of several labels. Examples include academic major, blood group, type of transportation, and region of residence. The categories distinguish groups, but none naturally comes before or after another in a ranking.

A table may display nominal categories in any convenient order: alphabetically, by frequency, or in an order chosen for presentation. That is a practical arrangement, not a ranking carried by the variable itself. If a table lists Biology before Economics, it does not say that Biology is “less than” Economics.

Worked Example: Classifying Students by Major

Suppose a hypothetical advising office records the major of eight students. The data are Biology, History, Biology, Economics, History, Biology, Economics, and History. Decide whether major is nominal or ordinal, and summarize the recorded categories.

The values are academic-major labels. There is no meaningful ranking in which, for example, History is above Biology or Economics is below History. Therefore, major is a nominal categorical variable.

To check the tally, count each category in the list: Biology occurs 3 times, History occurs 3 times, and Economics occurs 2 times. The total is \(3+3+2=8\), matching the eight students. For instance, the share recorded as Biology is \(3/8=0.375\), or 37.5%. This describes how many of these eight students were in that category; it does not assign Biology a rank.

Listing the categories as Biology, Economics, History would be alphabetical. Listing them as Biology, History, Economics would also be possible. Neither order changes the variable or creates a meaningful comparison of “more” or “less” major.

Nominal categories can still be compared in useful ways. One can count how many individuals are in each category, compare category frequencies, or identify the most common category. Those comparisons concern how often categories occur, not an order or numerical distance among the category labels.

Ordinal Categories: A Meaningful Ranking

Ordinal categories have an order that is meaningful for the concept being recorded. Examples include levels of satisfaction, stages of a process, and health-severity levels such as mild, moderate, and severe. The categories can be ranked, but that ranking alone does not tell us how far apart adjacent categories are.

Key distinction: For ordinal categories, the order is meaningful, but the gaps between successive categories are not necessarily equal or known. “Higher” or “lower” describes rank, not a measured difference in amount.

This limitation matters when interpreting the data. If one response is “very satisfied” and another is “satisfied,” the first is higher on the stated scale. But the labels alone do not establish that the difference between those responses is the same size as the difference between “satisfied” and “neither satisfied nor dissatisfied.” They also do not tell us that either difference has a numerical size.

Worked Example: Satisfaction Responses

In a hypothetical group of eight people, a survey records these responses, from lowest to highest satisfaction: very dissatisfied, dissatisfied, dissatisfied, satisfied, satisfied, satisfied, very satisfied, very satisfied. Classify the variable and count responses at the two ends of the scale.

The categories have a meaningful order, from less satisfaction to more satisfaction, so satisfaction response is an ordinal categorical variable. The order is part of what the responses communicate.

There are 3 responses of “satisfied” and 2 of “very satisfied,” so the number satisfied or very satisfied is \(3+2=5\). There are 1 response of “very dissatisfied” and 2 of “dissatisfied,” so the number dissatisfied or very dissatisfied is \(1+2=3\). These counts sum to \(5+3=8\), matching the group size.

The corresponding proportions are \(5/8=0.625\), or 62.5%, satisfied or very satisfied, and \(3/8=0.375\), or 37.5%, dissatisfied or very dissatisfied. The remaining \(8-5-3=0\) responses are in neither of those two groups. These calculations group and count the categories; they do not show that the distance from “dissatisfied” to “satisfied” is equal to the distance from “satisfied” to “very satisfied.”

The order of an ordinal variable should be stated in a way that matches its meaning. For satisfaction, more satisfied is higher. For symptom severity, more severe is higher, even though that direction may represent a worse condition. “Higher” refers to the chosen ranking, not necessarily to something more desirable.

Worked Classification: Health Severity

Worked Example: Ordering Health-Severity Levels

Imagine a hypothetical clinic recording a clinician-assessed severity level for six cases. The categories are mild, moderate, and severe, and the recorded values are mild, moderate, mild, severe, moderate, and mild. Decide the variable type, identify the order, and summarize the recorded levels.

The values are categories describing severity. They have a natural order from mild to moderate to severe, so severity level is ordinal categorical. The direction is meaningful: severe represents greater severity than moderate, and moderate greater severity than mild.

The tally is 3 mild, 2 moderate, and 1 severe. The check is \(3+2+1=6\), the number of recorded cases. Thus, \(3/6=0.5\), or 50%, of these six cases were recorded as mild, while \(1/6\approx0.167\), or about 16.7%, were recorded as severe.

These summaries preserve the categories and their order. They do not say that a severe case is three times as severe as a mild case, or that the step from mild to moderate is equal in size to the step from moderate to severe. No such numerical distances are defined by these labels.

Why the Order Does Not Supply a Measurement Scale

The distinction can be justified by separating two questions. First, can the categories be ranked? Second, does the information supplied define numerical distances between them? Ordinal categories answer the first question yes and the second question no. Nominal categories do not supply a meaningful ranking in the first place.

1
Identify what each value means.
For example, “moderate” and “severe” are labels for health-severity groups, not measurements expressed in units.
2
Ask whether the categories have a defensible order.
Mild, moderate, severe can be ranked by severity; majors generally cannot be ranked by major.
3
Do not infer distances from rank.
The ranking severe above moderate does not tell us the numerical amount by which severity differs.

This reasoning explains why an ordinal scale is not automatically a quantitative measurement. A rank tells us which category comes before another. A measurement with meaningful numerical distances would require additional information about how differences are defined. The category names alone do not provide that information.

A common way to encode categories is to assign numbers, such as 1 to “mild,” 2 to “moderate,” and 3 to “severe.” This can be convenient for storing or sorting responses. The codes preserve the order if assigned consistently, but the numbers do not prove that the gaps are equal. Likewise, assigning codes 1, 2, and 3 to Biology, Economics, and History would not make majors ordinal; the code values would be labels chosen for convenience.

A Reliable Classification Check

When deciding whether a categorical variable is nominal or ordinal, describe what the values mean and test the proposed order in context. A practical sequence is:

  • Name the categories using their meanings, not just their codes.
  • Ask whether one category can be meaningfully ranked above or below another for the variable being recorded.
  • If no such ranking exists, classify the variable as nominal.
  • If a meaningful ranking exists, classify it as ordinal, while avoiding claims about equal or known distances between levels.

Context can matter. A collection of words does not have one fixed type outside the variable they describe. The labels “low,” “medium,” and “high” are ordinal when they represent increasing levels of a characteristic. A list of department names, even if someone displays the names alphabetically, remains nominal. The question is always whether the recorded categories themselves have a meaningful order for the characteristic under study.

Common Mistakes

  • Treating display order as a natural order. Sorting majors alphabetically does not rank one major above another. Alphabetical order is only an arrangement.
  • Treating number codes as measurements. If 1 means “mild” and 3 means “severe,” the numbers label ordered categories; they do not establish that level 3 has three times the severity of level 1.
  • Assuming ordinal steps are equal. A ranking tells us which category is higher, but not the size of the difference between adjacent categories.
  • Calling every categorical variable nominal. Satisfaction and severity levels are categorical, but their levels also have meaningful order, so they are ordinal.
  • Confusing higher rank with better outcome. “Higher severity” is a higher position in the ranking but usually describes a less favorable condition.
Key takeaway: Nominal categories distinguish groups without a natural ranking. Ordinal categories distinguish groups with a meaningful ranking. An ordinal ranking does not, by itself, define numerical distances between categories.

Check Your Understanding

For each question, explain your classification or reasoning using the meaning of the categories.

  1. A university records each student's major as Chemistry, Art, or Mathematics. Is the variable nominal or ordinal? Why?
  2. A survey asks respondents to choose “poor,” “fair,” “good,” or “excellent” when rating a service. What is the variable type, and what does its order tell you?
  3. Why does coding “mild,” “moderate,” and “severe” as 1, 2, and 3 not establish equal gaps between levels?
  4. A table lists blood groups in the order A, B, AB, O. Does this display order make blood group ordinal? Explain.
  5. In a severity scale, why can “severe” be the highest category even though it does not describe the best outcome?