Start studying
Module 1 · Data Basics Module contents
Module 1  ·  Card 9 / 14beginner

Categorical vs Numerical Data

Numerical data measures counts or continuous amounts, while categorical data sorts observations into distinct groups.

Categorical variables can be nominal with no natural order, such as blood type or preferred payment method.

They can also be ordinal with a meaningful ranking, such as customer ratings from poor to excellent.

Storing categories as numbers, like postal codes or area codes, does not make them numerical data.

Checking whether mathematical operations like subtraction and averages make sense reveals the true type.

Learn in depth ↓
Module 01 · Data Basics · 14 concepts
In depth  /  15 lines

Categorical vs Numerical Data, in more detail

Classifying data correctly is the first step before choosing any statistical test or chart.

Numerical data divides further into discrete counts and continuous measurements.

Discrete numbers count indivisible units, such as the number of cars parked in a driveway.

Continuous numbers can take any real value along an interval, such as height or temperature.

Categorical data divides further into nominal categories and ordinal categories.

Nominal categories possess no natural order, such as colours, product names, or departments.

Ordinal categories carry an intrinsic ranking, such as small, medium, and large shirt sizes.

Even though ordinal groups have an order, the mathematical distance between them is rarely uniform.

The gap between strongly agree and agree is not necessarily equal to the gap between agree and neutral.

A widespread trap is storing categories as numbers and computing an average over them.

Assigning postcode numbers or telephone area codes does not make those values numerical data.

Calculating the average postal code produces a number with zero physical or mathematical meaning.

Visualising them also differs: categories use bar charts while continuous numbers use histograms.

Converting categories into numbers for computation requires careful encoding rather than plain arithmetic.

Always verify whether differences between values reflect true measurable distance.

Want the full technical article? Wikipedia ↗
Test yourself

One question on this card. Every option explains itself once you pick, right or wrong.

Question 1
A survey records customer satisfaction as 1 for poor, 2 for fair, and 3 for good. What type of data is this?
Data Basics

14 concepts in this module, then a graded test with every answer explained.

Study this module →
↑↓ move↵ openesc close