Data Types in Statistics - Qualitative Vs Quantitative Data
Data Types in Statistics - Qualitative Vs Quantitative Data
Home
Introduction
In Data Science, we aim to do different experiments with raw data and finds some good insights from the data. To drive
any business on the right path, data is very important or we can say that “Data is the fuel”. It can at least provide some
actionable insights that can help to:
For Example, On a daily basis, a company like Flipkart produces more than 2-TB of data.
Due to so much importance of data in our life, it becomes very crucial to properly store and process this data without
any error. While dealing with datasets, the data type or category of the data plays an important role to find the answer
to the questions below:
Which preprocessing strategy would work for a particular set to get the right results, or
Which type of statistical analysis should be applied for the best results.
So, In this article, we will discuss the different data types in statistics you need to know to do proper Exploratory Data
Analysis (EDA), which is one of the most important components in the pipeline of a Machine Learning Project.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 1/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Table of contents
Introduction
Introduction to Data Types in Statistics
Quantitative vs Qualitative Data
Quantitative Data
Qualitative Data
Nominal Data
Ordinal Data
Quantitative Data
Discrete Data
Continuous Data
Interval Data
Ratio Data
What makes data types significant?
Endnotes
FAQs
About the Author
Aashi Goyal
Similarly, we need to know which data analysis and its type you are working on to select the correct perception
technique since different data types are considered as an approach to arrange various types of variables.
While doing Exploratory Data Analysis (EDA) in a general data science project, it becomes crucial to have a good
understanding of the different data types since we can use certain statistical measurements only for specific data types.
While dealing with any of the data types, we also need to know which visualization method fits the particular data type.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 2/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
“how many,
“how much” and
“how often”
2. It can be expressed as a number, so it can be quantified. In simple words, it can be measured by numerical variables.
3. These are easily open for statistical manipulation and can be represented by a wide variety of statistical types of
graphs and charts like line charts, bar graphs, scatter plots, etc.
Discrete data
Continuous data
Qualitative Data
1. Qualitative data can’t be expressed as a number, so it can’t be measured. It mainly consists of words, pictures, and
symbols, but not numbers.
2. It is also known as Categorical Data as the information can be sorted by category, not by number.
Nominal data
Ordinal data.
Nominal Data
1. This data type is used just for labeling variables, without having any quantitative value. Here, the term ‘nominal’
comes from the Latin word “nomen” which means ‘name’.
2. It just names a thing without applying for any particular order. The nominal data sometimes referred to as “labels”.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 3/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Eye color is a nominal variable having a few levels or categories such as Blue, Green, Brown, etc and there is no possible
way to order these categories in a rank-wise manner i.e, from highest to lowest or vice-versa.
Ordinal Data
1. The crucial difference from nominal types of data is that Ordinal Data shows where a number is present in a
particular order.
2. This type of data is placed into some kind of order by their position on a scale. Ordinal data may indicate superiority.
3. We cannot do arithmetic operations with ordinal data because they only show the sequence.
5. In simple words, we can understand the ordinal data as qualitative data for which the values are ordered.
6. In comparison with nominal data, the second one is qualitative data for which the values cannot be placed in an order.
7. Based on the relative position, we can also assign numbers to ordinal data. But we cannot do math with those
numbers. For example, “first, second, third…etc.”
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 4/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Quantitative Data
Discrete Data
1. It shows the count that involves only integers and we cannot subdivide the discrete values into parts.
For Example, the number of students in a class is an example of discrete data since we can count whole individuals but
can’t count like 2.5, 3.75, kids.
2. In simple words, discrete data can take only certain values and the data variables cannot be divided into smaller parts.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 5/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Continuous Data
1. It represents the information that could be meaningfully divided into its finer levels. It can be measured on a scale or
continuum and can have almost any numeric value.
For Example, We can measure our height at very precise scales in different units such as meters, centimeters,
millimeters, etc.
2. The key difference between continuous and discrete types of data is that in the former, we can record continuous
data at so many different measurements such as width, temperature, time, etc.
3. The continuous variables can take any value between two numbers. For Example, between the range of 60 and 82
inches, there are millions of possible heights such as 62.04762 inches, 79.948376 inches, etc.
4. A good great rule for defining if data is continuous or discrete is that if the point of measurement can be reduced in
half and still make sense, the data is continuous.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 6/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Interval Data
1. These data types are measurable and ordered with the nearest items but have no meaningful zero.
In the Interval scale, the term ‘Interval’ signifies space in between, which is a significant thing to recall as interval scales
not only educate us about the order but in addition, give information about the value between every item.
2. Fundamentally, we can show interval data in the same way as ratio data, but the thing that we have to note is their
characterized zero points.
3. Hence, with the help of interval data, we can easily correlate the degrees of the data and also add or subtract the
values.
4. There are some descriptive statistics that we can calculate for interval data such as :
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 7/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Ratio Data
1. These data are also in the ordered units that have the same difference.
2. Ratio values are the same as interval values, but the only difference is that Ratio data do have an absolute zero. For
Example, height, weight, length, etc.
3. These are measured and ordered with equidistant items with a meaningful zero and never be negative like interval
data.
Height can be measured in units like centimeters, inches, meters, or feet and it is not possible to have a negative value of
height.
4. It enlightens us regarding the order for variables, the contrasts among them, and they have absolutely zero.
5. Ratio data is fundamentally the same as interval data, aside from zero means none.
6. The descriptive statistics which we can calculate for ratio data are the same as interval data such as :
NOTE:
If we picked the zero-point of the scale subjectively, then at that point the data can’t be ratio data and should be interval
data.
Imagine you’re talking to a friend who only speaks Spanish. If you want them to understand you, you need to speak
Spanish, too. Similarly, if you want a computer to understand your data, you need to provide it in the right data type.
For example, if you tell a computer that your age is 25, but you provide it as a text string instead of a number, the
computer might not understand what you mean. It might think you’re saying “twenty-five” as a word, not as a number.
That’s why data types are so important. They make sure that computers understand the information we give them, just
like languages help us understand each other.
Endnotes
Thanks for reading!
I hope you enjoyed the article and increased your knowledge about Data Types in Statistics.
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 8/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Something not mentioned or want to share your thoughts? Feel free to comment below And I’ll get back to you.
FAQs
Q1. What are the 4 types of data in statistics?
Nominal data is categorical data with no inherent order or ranking. Examples include hair color, gender, and religious
affiliation.
Ordinal data is categorical data that can be ranked or ordered, but the intervals between the values are not necessarily
equal. Examples include shoe size, level of education, and customer satisfaction rating.
Interval data can be ranked or ordered, and the intervals between the values are equal, but there is no true zero point.
Examples include temperature, IQ scores, and standardized test scores.
Ratio data can be ranked or ordered, the intervals between the values are equal, and there is a true zero point.
Examples include height, weight, and time.
Q2. What statistical methods can I use for each type of data?
The type of statistical methods you can use will depend on the type of data you are working with. For example, you can
calculate the mean, median, and standard deviation of ordinal, interval, and ratio data, but you cannot calculate these
measures for nominal data.
Aashi Goyal
Currently, I am pursuing my Bachelor of Technology (B.Tech) in Electronics and Communication Engineering from Guru
Jambheshwar University(GJU), Hisar. I am very enthusiastic about Statistics, and Data Science.
The media shown in this article on Data Types in Statistics are not owned by Analytics Vidhya and are used at the
Author’s discretion.
Aashi Goyal
view more
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 9/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
Download
Analytics Vidhya App for the Latest blog/Article
Next Post
Develop your First Image Processing Project with Convolutional Neural Network!
Leave a Reply
Your email address will not be published. Required fields are marked *
Comment
Name*
Email*
Website
Submit
Top Resources
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 10/11
01/01/2024, 21:11 Data Types in Statistics : Qualitative vs Quantitative data
© Copyright 2013-2024 Analytics Vidhya. Privacy Policy Terms of Use Refund Policy
https://www.analyticsvidhya.com/blog/2021/06/complete-guide-to-data-types-in-statistics-for-data-science/ 11/11