1. Types of Data

Learning outcomes
  • I can distinguish between qualitative and quantitative data.
  • I can distinguish between discrete and continuous variables.
  • I can identify levels of measurement.
  • I can classify data appropriately.
  • I can select appropriate methods for recording data.

Introduction

Data is collected whenever we make observations, conduct experiments, carry out surveys, or record measurements. Scientists, mathematicians, businesses, governments, and researchers all rely on data to answer questions, solve problems, and make informed decisions. However, not all data is the same. Different types of data require different methods of collection, organisation, and analysis.

Understanding the different types of data helps us choose the most appropriate way to record information, display results, and draw conclusions. In this lesson, you will learn how to classify data as qualitative or quantitative, distinguish between discrete and continuous variables, recognise the levels of measurement, and select suitable methods for recording different kinds of data.


What Is Data?

Data is a collection of facts, observations, measurements, or information gathered for analysis.

Data can come from:

  • Scientific experiments.
  • Surveys.
  • Observations.
  • Measurements.
  • Questionnaires.
  • Sensors and instruments.

Before analysing data, it is important to identify what type of data has been collected.


https://images.openai.com/static-rsc-4/FXYfIBVdWAw5z1r--Rutj8Zb2L3F45bo17Y4ulk6R7utEBBGmKEjjw11WMC00mSCsQ-OmgoE9vq2c6sY-shZpWBPuC0hx4sxp3t3CsVPLreH5b3ps6ubeFnMsymFsXsMgTxSSCbCDLri5F_vv9XHZwH9EtfyLJb9MA2XsNJ8FupqzzddiK2c0tFArVaQ5225?purpose=fullsize
 
https://images.openai.com/static-rsc-4/9bblNAwtSvwc2kc8dmZIICy7D7TFaYzTnIGvQHX7b_gGQiOjbDK0JXdsIADQFebVG2fUVmQeetaHbpXHkQV8_DyKhNWxEemWOUzS-rYxLRlPJeaNGYD0_MA7E3mtB55blijyZKEx9mvwj_QlG5X2oYPjgOdE43dfHzlRcY3cRBbwAKWtIhP8XCyF5gWCGI_L?purpose=fullsize
 
https://images.openai.com/static-rsc-4/ViBfHEeyi7wZz98mdaTxQ1dZsFIqL-dgId8Hj0pIhNuQXxuJ2BghqwnJeW5g3VlsMWkTbtulW7g5ap1Mm7CzhtLIB3Ukx7fZ5rbqvGT2PyETEnK6i3Xm05pzkhTf257qFPCGu4Z-7ngZiPOnRWaIU835kbf2pz9rgNLxtc9Q_FwSnRs-h1zgqOcUxi_kGpal?purpose=fullsize
5

Figure 1. Data can be collected in many different forms depending on the investigation.


Qualitative Data

Qualitative data describes qualities or characteristics.

It is usually non-numerical.

Examples include:

  • Eye colour.
  • Favourite sport.
  • Type of pet.
  • Weather description (sunny, cloudy, rainy).
  • Blood type.

Qualitative data is often grouped into categories.


Quantitative Data

Quantitative data consists of numbers that represent measurements or counts.

Examples include:

  • Height.
  • Age.
  • Temperature.
  • Number of siblings.
  • Test scores.

Quantitative data can be analysed using mathematical and statistical methods.


Comparing Qualitative and Quantitative Data

Qualitative Data Quantitative Data
Describes qualities Measures quantities
Usually non-numerical.    Numerical
Categories Counts or measurements
Example: Eye colour Example: Height

Both types of data are useful depending on the question being investigated.


https://images.openai.com/static-rsc-4/kqtVfaCOn8DQdPAFuZ9BvboQUOPFkQ7q49FKmsht8kjQd1zIgWkh_F2sluKvC-sj1wWsTwbVXFBqT2ehxJSKhbcHXomlWrRlwF8DGkRkP6gzKeZW1ywSFmZ8Fhg5Etw1gzoIN7jKcVbA-CfhXSEJ4lj1kAW5dRi6r0V_g0vimdYZ6-HWxZnIwzyh4Qs2UtGL?purpose=fullsize
 
https://images.openai.com/static-rsc-4/UyLM9hrZgyeThdjnZ25HsKZ8m7OYVih8d5NQXtrx2rZYFfMXxtsMGASgEW6hBQtTVwjyZjYdYhLh3r_zRI-vwhacvdQgGqrXxWzFFY1Y3LI0Pd-mi0ZnQ8lEGIjwu0oQ_Ev3CDoyoYFst1aud9gZUSC2TK4u2yU9VEqb1dyfzFnKJNPPlwmGGv9srtsfZCvb?purpose=fullsize
 
https://images.openai.com/static-rsc-4/IcqF6Zehf5-_yEwl3tTuN0Y-9RUNPMt3j2ER6KGexpoAfe0g5tOQ-WRdoKJ7VWGX-kt4tRmhF7Ks8jTI9YvuJ34AOnVdLY_IffuX36KmyrEdax-tbZgj8q2BvJ1g46IeqM799NeYb7cTEMtSmGYLO823-OUVcq6c7gdDDu8VqoBw2UrgxZaWScsm0Pf7NLSf?purpose=fullsize
4

Figure 2. Qualitative data describes categories, while quantitative data measures quantities.


Discrete Variables

A discrete variable can take only specific, separate values.

It usually involves counting.

Examples:

  • Number of students in a class.
  • Number of books on a shelf.
  • Goals scored in a football match.
  • Number of pets owned.

Discrete values are usually whole numbers.

You cannot have 3.7 students or 5.2 bicycles.


Continuous Variables

A continuous variable can take any value within a range.

It usually involves measurement.

Examples:

  • Height.
  • Mass.
  • Time.
  • Temperature.
  • Distance.

Continuous variables may include decimal values.

For example:

  • 1.62 m
  • 25.4 °C
  • 3.78 kg

Comparing Discrete and Continuous Variables

Discrete Variable Continuous Variable
Counted Measured
Separate values Any value within a range
Usually whole numbers Often decimals
Example: Number of cars.  Example: Speed

Understanding this difference helps determine which graphs and statistical methods are appropriate.


https://images.openai.com/static-rsc-4/n9QN5I1J2Hj-RX8akYRJr-ec06vaHbBFl9kXRqPoqAvQdZcBXeWXoUmb8kCauWFvDfT9neTK2h-qJ9yGA-NCeKuuLHM8JQIabzxaeG9qcC77YJC0ig0kvwNlw908i98UPWR9BFV5hYWXmOhvbFFqcXeWgfyLlJO3rZbky0r4tMpnviBpTx1F-Ba4u1YJE5Z1?purpose=fullsize
 
https://images.openai.com/static-rsc-4/kYP09-K6_uA46STKUzH8GYQ62Y33Sp0hEmRazROUxYHnQGwprJLIxbRLyUbM-CxJxmGBVj2IUPnoK3x0X_B7aRjWCCsFNGkFtJ0TtbS8DVSPoKfg3RDZtGk8m36XTbNrixtCnRRCVJ5IV8K-DMIQrIJ-CfpGsZ0dtr_BV_fIfR-uLlbIrxENainY-Kd1RTq0?purpose=fullsize
 
https://images.openai.com/static-rsc-4/hf_3jRtU2RlAYJ1VGECFGV7dt_zgxyAMJY1-pjTFUSLy-fa5OF5AIihpV3Ljem4T3YNj6nImP0yTP8WLkUXsJyaypqEnKxJFN-NTru7s9p5fHlXUUatggca-PDDk1a8tmBuBTmegUlemRigAHa8kCD9FZCCBBrQDUCepiJ7w9asfJ9edEWz7_N8KXOsjK3DW?purpose=fullsize
5

Figure 3. Discrete variables are counted, while continuous variables are measured.


Levels of Measurement

Data can also be classified according to its level of measurement.

There are four commonly recognised levels.


Nominal

Data consists of categories with no natural order.

Examples:

  • Eye colour.
  • Favourite fruit.
  • Nationality.
  • Blood type.

Ordinal

Categories have a meaningful order, but the differences between them are not necessarily equal.

Examples:

  • Small, medium, large.
  • Class rankings.
  • Customer satisfaction ratings.
  • Letter grades.

Interval

Numerical data with equal intervals, but no true zero.

Examples:

  • Temperature in degrees Celsius.
  • Calendar years.

A temperature of 20 °C is not "twice as hot" as 10 °C because the zero point is arbitrary.


Ratio

Numerical data with equal intervals and a true zero.

Examples:

  • Height.
  • Mass.
  • Time.
  • Distance.
  • Age.

Because ratio data has a true zero, meaningful comparisons such as "twice as much" can be made.


Summary of the Levels of Measurement

Level Ordered?    Equal Intervals?    True Zero?    Example
Nominal.   No No No Eye colour
Ordinal Yes No No Competition ranking
Interval Yes Yes No Temperature (°C)
Ratio Yes Yes Yes Height

These levels help determine which statistical methods are appropriate.


https://images.openai.com/static-rsc-4/R4kP14bcaTYlxS1icUu8U8h_oZ4-BhJ5XwYkKy-WuTi09DEYce32KcDojXJ_FUpUef-jgrRAhRjZiUPSxS9ct7YM_l3nEjHNMw9HH2DL6_Nv5ZivjW5k4GPMh8DxYPAxYztFV0V1E3hi1BUIEea1h0UHduhSglUunNblUuKITGbDfSTBIgbDPVf8tWcOfb-_?purpose=fullsize
 
https://images.openai.com/static-rsc-4/KMmn8S0Rqi--w92UU-cmUGLWgmjUkro2Lz3IMrf0pmMTnPJ811vQmSJjC8PTROaCNsAo_4NEnRq2FmlGMB7o_KGEkKgu3uhd1Xt-OGmLWUWGZ1JL8EYcNoiAvj8mDIb21NKSf_MRR57dX5b2fJOm1gfa3O_cwpDxery06AY76HFLsv6_IGxXKCZ1pLb2zJ9v?purpose=fullsize
 
https://images.openai.com/static-rsc-4/C3hTCsjycbSrbcMtuj_EfywsNqRxD98qfM1ZJaOWbEknsSVrUTvRwd24KMWFYOKJDNHq_hrHSnibQBezQgjWAAdu6lopITO6FOrnBf8jghP-jkiK9yFkzoPOkInStbmOxtpjPXKZ422qNH94tBbj30OlBltxBIzSjSvlyQ_1M6dv7wHOaCmMks1BjmAFuzci?purpose=fullsize
5

Figure 4. The four levels of measurement classify data according to how it can be compared and analysed.


Recording Data

Different types of data are recorded in different ways.

Qualitative Data

Often recorded using:

  • Category tables.
  • Frequency tables.
  • Checklists.
  • Surveys.

Quantitative Data

Often recorded using:

  • Data tables.
  • Measurement sheets.
  • Spreadsheets.
  • Scientific notebooks.

Good data recording should always be:

  • Accurate.
  • Organised.
  • Clearly labelled.
  • Include units where appropriate.

Choosing an Appropriate Recording Method

Type of Data Suitable Recording Method
Favourite colour Frequency table
Height of students.   Measurement table
Number of pets Frequency table
Daily temperature Data table with units
Survey responses Spreadsheet or tally chart

Choosing the correct recording method makes later analysis much easier.


https://images.openai.com/static-rsc-4/Afv13lBhZkxDLWyy_9Jk0Vh1z6bltLkUpkALDxQtDdK6Cm58fspgcG4wshaNMVlQzDfTqas8LCBiHe7JFlAGSS-lVaBLSItUuKgQroKRTn1rLzIqhmE_6X73ShWBwDYDc1XewmD9To-27XBHzVmWSk97svE2qBho9lmkOzClmRb9fuIdgLDmwhrZcyVOhhx3?purpose=fullsize
 
https://images.openai.com/static-rsc-4/1-Tw4fCN9kbcQvlDeYgZaRRtSgOEdMbx3ujz5c3gcK6J_VTl00_oJi8NFwMDsI5VxjhLt-GwSzlwzD_BGOOMdISKkqom0UIlYEA3zuRk6uOABxF3qvzE--azrfOkA1ELkpmgrh-qsI9fi5B67V--XH2MXHqjxT-WinTBWSQZLaiqDqpw9tnaa58vDkaLmPPv?purpose=fullsize
 
https://images.openai.com/static-rsc-4/Yu0Is-3VKLZoov19ET2F1-nPbE2M2D1oKYbUjeIwa7BlcyXx-qHdWqFYhHmxbIJZ1iD8El33SAQkb2xfL7fDw2G6Ucp82F1pp9z433w5Mc7F53swiNg7Zv1A0hzz7vn7mhpvj5IWwOLzIzj5xs5r78r6In6NzIoEELpXSKdyFY4m7rz_hJ0FGkJ4JWiJi2WS?purpose=fullsize
4

Figure 5. Different types of data are best recorded using different methods.


Worked Example

Question

Classify each variable.

Variable Classification
Number of siblings.  ?
Height ?
Eye colour ?
Temperature ?

 

Solution

Variable Classification
Number of siblings.  Quantitative, discrete, ratio
Height Quantitative, continuous, ratio
Eye colour Qualitative, nominal
Temperature (°C) Quantitative, continuous, interval

Real-World Connection

A school conducting a student survey might collect several different types of data. Students' favourite subject is qualitative (nominal) data, while their height is quantitative (continuous) data. The number of siblings is quantitative (discrete), and a satisfaction rating such as "poor," "fair," "good," or "excellent" is qualitative (ordinal). Correctly identifying each type of data helps researchers choose appropriate graphs and statistical analyses.


Did You Know?

Many smartphones collect continuous data such as your location, speed, and altitude using sensors, while apps often ask for qualitative data such as your preferred language or favourite music genres. Modern data science combines many different types of data to improve navigation, weather forecasting, health monitoring, and personalised recommendations.


Key Terms

Continuous variable – A variable that can take any value within a range and is usually measured.

Data – Facts, observations, or measurements collected for analysis.

Discrete variable – A variable that takes separate, countable values.

Interval level – A level of measurement with equal intervals but no true zero.

Nominal level – A level of measurement consisting of unordered categories.

Ordinal level – A level of measurement with ordered categories.

Qualitative data – Descriptive, non-numerical data grouped into categories.

Quantitative data – Numerical data obtained by counting or measuring.

Ratio level – A level of measurement with equal intervals and a true zero.


Key Takeaways

  • Qualitative data describes categories or qualities, while quantitative data consists of numerical measurements or counts.
  • Discrete variables are counted and take separate values, while continuous variables are measured and can take any value within a range.
  • The four levels of measurement are nominal, ordinal, interval, and ratio.
  • Correctly classifying data helps determine the most appropriate methods for recording, displaying, and analysing it.
  • Different types of data are best recorded using methods such as frequency tables, measurement tables, tally charts, or spreadsheets.
  • Understanding data types is an essential foundation for statistics, scientific investigations, and data analysis.