In the previous module, you learned that data refers to facts, figures, observations, or information collected for a particular purpose.
Let's imagine your teacher wants to know more about the students in your classroom. The teacher collects information such as:
All this information is called data. However, not all data is the same. Some data contains words, while other data contains numbers. This is why we classify data into different types.
Data can be divided into two major categories: qualitative data and quantitative data.
Qualitative data describes something using names, labels, categories, or qualities rather than numerical measurements.
Examples include:
Imagine you ask five students about their favourite Nigerian foods. Their answers are:
| Student | Favourite Food |
|---|---|
| John | Jollof Rice |
| Mary | Amala |
| Peter | Beans |
| Sarah | Fried Rice |
| David | Jollof Rice |
The food names are examples of qualitative data because they describe categories rather than numerical measurements.
Quantitative data contains numbers that represent quantities or measurements. It helps us answer questions such as how many, how much, or how long.
Examples include:
Quantitative data is useful when we want to count or measure something.
| Qualitative Data | Quantitative Data |
|---|---|
| Describes qualities or categories. | Represents quantities or measurements. |
| Usually expressed using words or labels. | Usually expressed using numbers. |
| Example: Favourite food. | Example: Age of a student. |
| Example: Car colour. | Example: Number of cars. |
Discrete data is a type of quantitative data that can be counted. It usually consists of whole numbers.
For example, you can count the number of students in a classroom. You might have 20 students, 25 students, or 30 students. You cannot have 25.5 students in a classroom.
Other examples of discrete data include:
Remember: Discrete data is counted, and its values are usually whole numbers.
Continuous data is another type of quantitative data. It represents measurements and can take different values, including decimal values.
For example, imagine you are measuring your height. Your height could be 150 centimetres, 150.5 centimetres, or 150.75 centimetres.
Other examples include:
Remember: Continuous data is measured and can include decimal values.
| Discrete Data | Continuous Data |
|---|---|
| Can be counted. | Can be measured. |
| Usually uses whole numbers. | Can include decimal values. |
| Example: Number of students. | Example: Height of students. |
| Example: Number of cars. | Example: Speed of a car. |
Nominal data is a type of qualitative data used to identify or name categories. The categories do not have a natural order or ranking.
Examples include:
For example, Lagos, Oyo, Ogun, and Abuja are names or categories. There is no natural ranking that makes one category higher than another.
Another important point is that numbers can sometimes be used as labels. For example, a footballer's jersey number is not necessarily a measurement. It identifies the player.
Ordinal data is qualitative data that has a meaningful order or ranking. However, the differences between the positions are not necessarily equal.
Examples include:
Imagine three students finish a school competition. Their positions are:
| Student | Position |
|---|---|
| Mary | 1st |
| John | 2nd |
| David | 3rd |
We can arrange the positions from first to third. This makes the information ordinal data.
Interval data is numerical data where the difference between values is meaningful and equal, but zero does not mean that the measured quantity is completely absent.
A common example is temperature measured in degrees Celsius.
Consider these temperatures:
The difference between 10°C and 20°C is 10 degrees. The difference between 20°C and 30°C is also 10 degrees.
However, 0°C does not mean there is no temperature. It simply represents a particular point on the Celsius temperature scale.
Other examples include:
Ratio data is numerical data that has equal intervals and a true zero. A true zero means that the quantity being measured is completely absent.
Examples include:
Imagine two students have ₦1,000 and ₦2,000 respectively. The second student has twice as much money as the first student. This comparison is meaningful because money has a true zero.
A variable is something we collect information about that can have different values.
Examples include:
For example, students in a classroom may have different ages. Age is therefore a variable.
An observation is a recorded value or set of values collected from one person, object, or event.
For example, if you record the age and examination score of John, those recorded values form one observation in your dataset.
| Student | Age | Score |
|---|---|---|
| John | 13 | 75 |
| Mary | 14 | 90 |
| Peter | 13 | 80 |
In this table, age and score are variables, while each student's recorded information represents one observation.
| Data Type | Meaning | Example |
|---|---|---|
| Qualitative | Describes categories or qualities. | Favourite food. |
| Quantitative | Represents quantities or measurements. | Age. |
| Discrete | Countable numerical data. | Number of students. |
| Continuous | Measurable numerical data. | Height. |
| Nominal | Categories without a natural order. | Blood group. |
| Ordinal | Categories with a meaningful order. | Competition rankings. |
| Interval | Equal numerical intervals without a true zero. | Temperature in Celsius. |
| Ratio | Equal numerical intervals with a true zero. | Weight. |
Imagine you are collecting information about 10 students in your school. Create a table containing the following information:
After collecting the information, answer these questions:
In this module, you have learned that data comes in different forms. You explored qualitative and quantitative data, discrete and continuous data, as well as nominal, ordinal, interval, and ratio data.
You also learned about variables and observations and how they are used when collecting information.
Understanding these data types is important because it helps you choose the correct methods to organise, analyse, and present information.