Types of Data: From Intuition to Precision
Imagine you walk into a classroom and want to describe the students. You could say things like "five students wear glasses," "the average height is 160 cm," or "most students prefer cricket over football." Each of these statements uses a different kind of information. That difference is what "types of data" is about.
Data is just a collection of facts. But not all facts are the same. Some facts are categories (like "cricket" or "football"), some are numbers you can count (like "5 students"), and some are numbers you can measure (like "160 cm"). The type of data tells you what you can do with it — what calculations make sense, what graphs to draw, and what conclusions you can draw.
The Two Big Families
All data falls into one of two broad families:
Qualitative (Categorical) Data — data that describes qualities or categories. It answers "which kind?" or "what type?"
Quantitative (Numerical) Data — data that involves numbers. It answers "how many?" or "how much?"
The word "qualitative" comes from "quality" — think of it as descriptive data. "Quantitative" comes from "quantity" — think of it as measurable data.
Qualitative Data: Names and Labels
This is data that can be sorted into groups, but you cannot do arithmetic on it. For example:
- Eye colour (brown, blue, green)
- Favourite subject (Maths, Science, English)
- Gender (Male, Female, Other)
- City of residence (Delhi, Mumbai, Chennai)
You can count how many students are in each group, but you cannot add "brown" to "blue" or find the average of "Maths" and "Science."
Qualitative data splits further into two types:
Nominal Data — categories with no natural order. Eye colour is nominal: brown is not "greater than" blue. There is no ranking.
Ordinal Data — categories that do have a natural order, but the gaps between them are not equal. For example, survey responses: "Very satisfied," "Satisfied," "Neutral," "Dissatisfied," "Very dissatisfied." You know "Very satisfied" is better than "Satisfied," but you cannot say it is exactly twice as good.
A quick memory trick: Nominal = Names (no order), Ordinal = Order (has a sequence).
Quantitative Data: Numbers You Can Work With
This is data that comes from counting or measuring. You can add, subtract, average, and do all sorts of maths with it.
Quantitative data also splits into two types:
Discrete Data — data that can only take specific, separate values. Usually these are whole numbers from counting. Examples: number of students in a class (you cannot have 30.5 students), number of cars in a parking lot, number of heads when flipping a coin 10 times.
Continuous Data — data that can take any value within a range. These come from measurement. Examples: height (could be 160.2 cm, 160.23 cm, etc.), temperature, time, weight.
A common mistake: thinking "discrete" means "small numbers." Discrete just means countable and separate. The number of grains of sand on a beach is discrete (you could, in theory, count each grain), even though it is huge.
The Complete Picture
Here is the full classification in one table:
| Type | Subtype | Description | Example |
|---|
| Qualitative | Nominal | Categories, no order | Blood group (A, B, AB, O) |
| Ordinal | Categories, ordered | Education level (10th, 12th, Graduate) |
| Quantitative | Discrete | Countable, separate values | Number of siblings |
| Continuous | Measurable, any value in a range | Weight in kg |
Why This Matters
The type of data determines everything you do next:
- For nominal data, you can only talk about mode (most common category) and frequencies. A bar chart works.
- For ordinal data, you can also talk about median (the middle category). A bar chart still works, but the order matters.
- For discrete quantitative data, you can calculate mean, median, mode, and range. A bar chart or histogram works.
- For continuous quantitative data, you can do all of the above plus more advanced statistics. A histogram or frequency polygon works.
Never calculate the mean of categorical data. "Average eye colour" is meaningless. Always ask: What kind of information is this? before deciding what to do with it.
A Quick Check
Try classifying these:
- The brand of your phone (Samsung, Apple, OnePlus) — Nominal
- The time it takes to run 100 metres — Continuous
- The number of goals scored in a football match — Discrete
- The rating of a movie (1 star, 2 stars, 3 stars, 4 stars, 5 stars) — Ordinal
The key insight: the type of data is not about the number itself, but about what the number represents. A jersey number like "7" looks like a number, but it is actually nominal data — you cannot average jersey numbers. Always think about the meaning, not just the appearance.