Categorical vs. Numerical Data
Lesson: Categorical vs. Numerical Data
When we collect information, we call that information data.
Data helps us answer questions. For example, we might ask, “What is the class’s favorite fruit?” or “How tall are the plants?”
There are two important kinds of data we will learn about today:
- Categorical data
- Numerical data
Knowing the difference helps us sort, count, compare, and make charts.
1. What is categorical data?
Categorical data is data that is put into groups or categories.
These categories tell what kind of thing something is, not how much.
Examples of categorical data are:
- favorite color
- type of pet
- kind of weather
- favorite lunch choice
If students say their favorite color is red, blue, or green, those are categories. We can count how many students chose each one.
2. What is numerical data?
Numerical data is data that uses numbers.
These numbers tell how many, how much, or how big.
Examples of numerical data are:
- height of a plant in inches
- number of books read
- how many apples are in a basket
- how long a jump is
If four plants are 3 inches, 5 inches, 5 inches, and 7 inches tall, that is numerical data because the information is given with numbers.
3. A simple way to tell the difference
Ask yourself this question:
- Is the data telling which group something belongs to? Then it is categorical.
- Is the data telling a number that can be counted or measured? Then it is numerical.
Another way to think about it:
- Categorical = names of groups
- Numerical = numbers
4. Why does this matter?
Different kinds of data help us answer different questions.
Categorical data helps us compare groups. We might ask, “Which lunch choice is the most popular?”
Numerical data helps us compare amounts or sizes. We might ask, “Which plant is tallest?” or “How many books did students read?”
Both kinds of data can be shown in charts, tables, and pictures. But first, we need to know what kind of data we have.
Worked Example 1: Sorting data by type
Look at each example and decide if it is categorical or numerical.
- Favorite ice cream flavor
- Number of crayons in a box
- Type of shoe
- Length of a pencil
Step-by-step thinking:
- Favorite ice cream flavor: This is a group name like chocolate or vanilla. Categorical.
- Number of crayons in a box: This tells how many. Numerical.
- Type of shoe: This is a group such as sneakers, boots, or sandals. Categorical.
- Length of a pencil: This is measured with a number. Numerical.
Answer:
- 1: Categorical
- 2: Numerical
- 3: Categorical
- 4: Numerical
Worked Example 2: Looking at class data
A teacher asks students for their favorite fruit.
The answers are:
apple, banana, apple, orange, banana, apple
Is this categorical or numerical data?
Step-by-step thinking:
- The answers are names of fruits.
- Fruit names are categories.
- So this is categorical data.
We can count each category:
- apple: 3
- banana: 2
- orange: 1
This helps us see that apple is the most chosen fruit.
Worked Example 3: Measuring plant heights
Four plants have heights of 2 inches, 4 inches, 3 inches, and 5 inches.
Is this categorical or numerical data?
Step-by-step thinking:
- The data uses numbers: 2, 4, 3, and 5.
- These numbers tell how tall the plants are.
- Height is something we measure.
- So this is numerical data.
We can compare the numbers:
- Shortest plant: 2 inches
- Tallest plant: 5 inches
We can also find the difference between the tallest and shortest plant:
$$5 - 2 = 3$$
The tallest plant is 3 inches taller than the shortest plant.
Worked Example 4: One question, two kinds of data
Suppose we study classroom pets.
Question A: What kind of pet is each one?
Answers: fish, hamster, fish, turtle
This is categorical data because the answers are group names.
Question B: How old is each pet?
Answers: 1 year, 2 years, 1 year, 3 years
This is numerical data because the answers use numbers.
This shows that even when we are talking about the same thing, we can collect different kinds of data.
5. Let’s compare categorical and numerical data
- Categorical data: tells the kind, type, or group
- Numerical data: tells the number, amount, or size
Here are some more examples:
- Favorite season → Categorical
- Number of students in class → Numerical
- Color of a car → Categorical
- Weight of a pumpkin → Numerical
- Kind of bird seen outside → Categorical
- How many steps you walked → Numerical
6. Watch out for this tricky idea
Sometimes we count categories, but the original data is still categorical.
For example, if students choose favorite colors, the original answers are:
red, blue, red, green, blue
Those answers are categorical because they are color groups.
After we count them, we may write:
- red: 2
- blue: 2
- green: 1
The survey question was about categories, so the data is still categorical data.
7. How this helps with graphs and charts
When data is categorical, we often make a chart to compare how many are in each group.
When data is numerical, we often line up the numbers to compare which are greater, smaller, longer, taller, or heavier.
For example:
- Categorical data can help us see which choice is most popular.
- Numerical data can help us see which measurement is greatest.
8. Try these on your own
Decide whether each one is categorical or numerical:
- Favorite sport
- Number of pets
- Size of a T-shirt
- How many minutes you read
Answers:
- 1: Categorical
- 2: Numerical
- 3: Categorical
- 4: Numerical
Summary
Data is information we collect.
Categorical data puts information into groups, like favorite color or type of pet.
Numerical data uses numbers to tell how many or how much, like height, age, or number of books.
If the answer is a group name, it is categorical. If the answer is a number, it is numerical.
Now you can look at data and decide what kind it is!
Put what you read to the test
You've worked through Categorical vs. Numerical Data. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.