Distinguishing Categorical and Numerical Data
Distinguishing Categorical and Numerical Data
When we collect information, we call it data. Data helps us answer questions, compare things, and learn about the world.
There are two important kinds of data you need to know: categorical data and numerical data.
Learning the difference helps you know how to sort information, make charts, and understand what the data is telling you.
1. What is categorical data?
Categorical data tells about a group, type, or label. It names what something is like, but it does not tell a number you can count or measure.
These are often answers such as:
- favorite fruit
- eye color
- pet type
- day of the week
- shirt color
For example, if students say their favorite sport is soccer, basketball, or tennis, those answers are categories. They are names of groups.
2. What is numerical data?
Numerical data is data shown with numbers. It tells how many, how much, or how long.
Numerical data can be counted or measured.
These are often answers such as:
- age
- height
- number of books
- minutes spent reading
- how many pets
For example, if students say they have 2 pets, 1 pet, or 0 pets, those answers are numerical data because they are numbers.
3. A simple way to tell the difference
Ask yourself this question:
Is the answer a label or a number?
- If it is a label, type, or name, it is categorical data.
- If it is a number that tells how many or how much, it is numerical data.
Here is another helpful check:
- Categorical data: You sort it into groups.
- Numerical data: You can count it, compare the numbers, or put the numbers in order.
4. Words and numbers together
Sometimes data may include words and numbers, so you have to think carefully.
For example, a jersey number like 8 is written as a number, but it is really a label for a player. It is not telling how many or how much. So in that case, it acts like categorical data.
But if you ask, “How many goals did the player score?” and the answer is 8, then it is numerical data because it tells an amount.
5. Why this matters
Different kinds of data are shown in different ways.
- Categorical data is often shown in bar graphs or picture graphs because it compares groups.
- Numerical data is often listed, ordered, or shown on graphs that help us compare numbers.
If you know what kind of data you have, you can choose the best way to organize it.
Worked Example 1: Favorite ice cream flavor
A class is asked, “What is your favorite ice cream flavor?”
Some answers are:
- chocolate
- vanilla
- strawberry
Step 1: Look at the answers. Are they labels or numbers?
They are labels.
Step 2: Decide the type of data.
This is categorical data because the answers are groups or names of flavors.
Worked Example 2: Number of siblings
A class is asked, “How many siblings do you have?”
Some answers are:
- 0
- 1
- 3
- 2
Step 1: Look at the answers. Are they labels or numbers?
They are numbers.
Step 2: Ask what the numbers mean.
They tell how many siblings each student has.
Step 3: Decide the type of data.
This is numerical data because it tells an amount.
Worked Example 3: Sorting different data
Decide whether each one is categorical or numerical data.
- favorite school subject
- height in centimeters
- type of pet
- minutes to clean your room
1. favorite school subject
Possible answers: math, reading, science
These are names of groups, so this is categorical data.
2. height in centimeters
Possible answers: 130, 142, 138
These are numbers that measure height, so this is numerical data.
3. type of pet
Possible answers: dog, cat, fish
These are labels, so this is categorical data.
4. minutes to clean your room
Possible answers: 10, 15, 20
These are numbers that measure time, so this is numerical data.
Worked Example 4: A tricky one
Question: “What bus do you ride home?”
Answers: 12, 7, 3
These answers are written as numbers, but here they name which bus each student rides. They do not tell how many buses or how long.
So this is categorical data because the numbers are being used as labels.
6. Practice thinking
Try asking these questions to yourself:
- Does this answer tell what kind of thing it is?
- Or does it tell how many or how much?
If it tells what kind, it is probably categorical.
If it tells how many or how much, it is probably numerical.
7. Quick comparison chart
- Categorical data
- shows labels or groups
- answers questions like “Which kind?”
- examples: color, animal, month, food
- Numerical data
- shows numbers
- answers questions like “How many?” or “How much?”
- examples: 4 pencils, 12 minutes, 135 centimeters
8. Let’s check a few more
- shoe size → numerical
- favorite animal → categorical
- number of students in a class → numerical
- birthday month → categorical
- length of a pencil in centimeters → numerical
- kind of sandwich → categorical
Summary
Data is information we collect.
Categorical data tells about groups, labels, or types. Examples are favorite color, type of pet, and birthday month.
Numerical data tells numbers that show how many or how much. Examples are age, height, number of books, and time in minutes.
To decide which kind of data you have, ask: Is it a label or a number that tells an amount? That one question can help you choose the correct type of data.
Put what you read to the test
You've worked through Distinguishing Categorical and Numerical Data. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.