Module 01

Data Types

The foundation of statistical thinking

Four Data Categories

  • 01

    Nominal

    Categories without order

  • 02

    Ordinal

    Categories with ranking

  • 03

    Interval

    Equal spacing, no true zero

  • 04

    Ratio

    Equal spacing with true zero

01

Nominal Data

What is Nominal Data?

Male
Female
Other

Nominal data consists of categories or labels with no inherent order. 'Male' is not greater than 'Female' - they're just different categories. You can only count frequencies.

Real-World Examples

🎨 Colors
Red, Blue, Green
🌍 Countries
USA, Japan, Brazil
🩸 Blood Type
A, B, AB, O
💼 Job Title
Engineer, Doctor, Teacher

Nominal data appears everywhere: ZIP codes, product categories, marital status, brand names. The key is there's no meaningful way to rank or order these categories.

How to Analyze Nominal Data

Allowed Operations
✓Frequency counts
✓Mode (most common)
✓Percentages
✓Chi-square tests
✗Mean, median
✗Standard deviation

You can count nominal data and find the mode (most frequent category). You cannot calculate means or medians because there's no numeric value or order to work with.

02

Ordinal Data

What is Ordinal Data?

😠
Poor
😐
Fair
🙂
Good
😄
Excellent

Ordinal data has categories with a meaningful order, but the gaps between categories may not be equal. 'Excellent' is better than 'Good,' but we can't say how much better.

Real-World Examples

⭐ Ratings
1-star to 5-star reviews
🎓 Education
High School, Bachelor's, Master's, PhD
🏃 Race Position
1st, 2nd, 3rd place
📊 Likert Scale
Strongly Disagree → Strongly Agree

Survey responses, rankings, education levels, and any scale with ordered categories but unequal or unknown intervals. The gap between 'Agree' and 'Strongly Agree' isn't necessarily the same as between 'Neutral' and 'Agree.'

How to Analyze Ordinal Data

Allowed Operations
✓Everything from nominal
✓Median (middle value)
✓Percentiles / Quartiles
✓Rank correlations
⚠Mean (controversial)
✗Standard deviation

Ordinal data adds median to your toolkit. Some researchers calculate means on Likert scales (treating 1-5 as numbers), but this assumes equal intervals—a debated practice.

Nominal vs Ordinal

Nominal
Apple 🍎
Orange 🍊
Banana 🍌
No order relationship
Ordinal
Small 📏
Medium 📏
Large 📏
Clear order exists

The key difference: Can you rank the categories? If 'yes,' it's ordinal. If the categories are just different names with no logical order, it's nominal.

03

Interval Data

What is Interval Data?

0°C|20°C|40°C|60°C|80°C
Equal intervals: 20°C difference each step

Interval data has equal spacing between values, but zero is arbitrary—not a true absence. The difference between 20°C and 40°C equals 40°C to 60°C. But 0°C doesn't mean 'no temperature.'

Real-World Examples

🌡️ Temperature
Celsius, Fahrenheit (not Kelvin)
📅 Calendar Years
2020, 2021, 2022 (year 0 is arbitrary)
🧠 IQ Scores
100 is average, not 'zero intelligence'
📍 Longitude/Latitude
0° is arbitrary (Prime Meridian)

The classic examples are temperature scales (Celsius/Fahrenheit). 0°C is just the freezing point of water—not 'no heat.' You can't say 40°C is 'twice as hot' as 20°C.

How to Analyze Interval Data

Allowed Operations
✓Everything from ordinal
✓Mean (arithmetic average)
✓Standard deviation
✓Addition / Subtraction
✓Pearson correlation
✗Ratios (can't say 'twice as much')

Interval data unlocks most statistical operations: mean, standard deviation, t-tests, ANOVA. The one limitation: you can't form meaningful ratios because zero is arbitrary.

Why Zero Matters

Interval Zero
0°C
Water freezes here, but temperature still exists
True Zero
0 kg
Means complete absence of weight

The 'zero test': Does zero mean complete absence? 0°C doesn't mean no temperature (molecules still move). But 0 kg means no mass at all. This distinction determines whether ratios are meaningful.

04

Ratio Data

What is Ratio Data?

$40
=
2 × $20
$40 is exactly twice $20 — ratios are meaningful

Ratio data has equal intervals AND a true zero point. This means ratios make sense: $40 is truly twice $20. Zero dollars means no money at all.

Real-World Examples

⚖️ Weight
0 kg = no mass
📏 Height
0 cm = no length
💵 Income
$0 = no money
⏱️ Time Duration
0 seconds = no time elapsed
🌡️ Kelvin
0K = absolute zero (no molecular motion)
👥 Count
0 people = nobody

Most physical measurements are ratio: height, weight, distance, time, speed, money. Kelvin temperature (unlike Celsius) is ratio because 0K is absolute zero—true absence of thermal energy.

Full Statistical Power

All Operations Unlocked
✓Everything from interval
✓Multiplication / Division
✓Geometric mean
✓Coefficient of variation
✓Meaningful ratios ('twice as much')
✓Any statistical test

Ratio data supports every statistical operation. You can calculate percentage change, create ratios, use geometric means, and apply any test. It's the most flexible data type.

Interval vs Ratio

Interval
40°C vs 20°C
❌ 40°C is NOT twice as hot
Zero is arbitrary
Ratio
$40 vs $20
✓ $40 IS twice as much
Zero means none

The key distinction: Can you make meaningful ratio statements? 'Person A earns twice as much as Person B' makes sense (ratio). 'Today is twice as hot as yesterday' doesn't (interval).

05

Decision Guide

Data Type Hierarchy

Ratio — All operations ✓
Interval — No ratios
Ordinal — No mean
Nominal — Mode only
Higher levels include all capabilities of lower levels

Data types form a hierarchy. Ratio data can be analyzed like interval, ordinal, or nominal. But nominal data can only be counted—you can't calculate a mean on categories.

Identification Flowchart

Can you order the values?
No → NOMINAL
Yes ↓
Are intervals equal?
No → ORDINAL
Yes ↓
Is there a true zero?
No → INTERVAL
Yes → RATIO

Three questions determine data type: (1) Can values be ordered? (2) Are intervals between values equal? (3) Does zero mean complete absence? Answer these in order.

At-a-Glance Summary

TypeOrderEqual GapTrue 0Example
Nominal✗✗✗Colors
Ordinal✓✗✗Rankings
Interval✓✓✗°C / °F
Ratio✓✓✓Weight

Each data type builds on the previous: Ordinal adds order to Nominal, Interval adds equal spacing to Ordinal, Ratio adds true zero to Interval.

★

Real-World Examples

Apply your knowledge to practical scenarios

01

Customer Satisfaction Survey

A company collects customer feedback with the following variables: Customer ID, Gender, Age, Income, Satisfaction Rating (1-5 stars), Product Category, and Purchase Amount.

02

The Temperature Trap

A weather report says 'Today at 30°C is 50% warmer than yesterday's 20°C.' Is this statement correct?

Key Insights
  • Always check if zero means 'complete absence' before making ratio statements.
03

Clinical Trial Data Classification

A pharmaceutical study tracks: Patient ID, Treatment Group (Drug A/B/Placebo), Pain Level (None/Mild/Moderate/Severe), Blood Pressure (mmHg), Temperature (°F), Recovery Time (days), and Outcome (Recovered/Not Recovered).

?

Data Types Mastery Quiz

Test your understanding • Passing score: 70%

0 of 12 answered
Q1 multiple-choice

A survey asks respondents to rate their agreement on a scale: Strongly Disagree, Disagree, Neutral, Agree, Strongly Agree. What type of data is this?

Explanation: This is ordinal data. The responses have a clear order (Strongly Agree > Agree > Neutral), but we can't assume the 'distance' between Agree and Strongly Agree equals the distance between Neutral and Agree.
Q2 multiple-choice

Which of the following is ratio data?

Explanation: Height is ratio data - 0 cm means no height, and 180 cm is truly twice 90 cm. Fahrenheit and IQ have arbitrary zeros. Year of birth has no true zero (year 0 is arbitrary).
Q3 multiple-choice

You can calculate a meaningful mean for all of the following EXCEPT:

Explanation: Movie star ratings are ordinal - the difference between 4 and 5 stars may not equal 1 and 2 stars. While people often average ratings, this technically assumes equal intervals that may not exist.
Q4 multiple-choice

Blood type (A, B, AB, O) is an example of:

Explanation: Blood type is nominal - the categories are just labels with no inherent order. Type A isn't 'more' or 'less' than Type B.
Q5 multiple-choice

What makes interval data different from ratio data?

Explanation: The key difference is the zero point. Interval data has an arbitrary zero (0°C doesn't mean 'no temperature'), while ratio data has a true zero (0 kg means no mass).
Q6 multiple-choice

A researcher says 'Patients in Group A recovered twice as fast as Group B.' For this statement to be valid, recovery time must be:

Explanation: To say 'twice as fast,' you need ratio data. Recovery time in days/hours is ratio - 0 days means no time elapsed, and 10 days is truly twice 5 days.
Q7 multiple-choice

Jersey numbers in basketball (23, 34, 11) are what type of data?

Explanation: Jersey numbers are nominal - they're just labels to identify players. #23 isn't 'greater than' #11 in any meaningful way. You can't average jersey numbers meaningfully.
Q8 multiple-choice

Which statistical measure can ONLY be used with nominal data?

Explanation: Mode (most frequent value) is the only central tendency measure for nominal data. You can't calculate mean or median without numeric values or order. Mode works for all data types.
Q9 multiple-choice

Temperature in Kelvin (where 0K = absolute zero) is:

Explanation: Kelvin is ratio data because 0K represents true zero - complete absence of thermal energy. Unlike Celsius/Fahrenheit, you CAN say 200K is twice as hot as 100K.
Q10 multiple-choice

Class rank (1st, 2nd, 3rd...) is what type of data?

Explanation: Class rank is ordinal - there's a clear order (1st > 2nd > 3rd), but the gap between ranks isn't equal. The difference in ability between 1st and 2nd might be huge, while 50th and 51st might be nearly identical.
Q11 multiple-choice

If you want to compare average satisfaction scores between two groups, what's the best approach for a 5-point Likert scale?

Explanation: Since Likert scales are ordinal, the Mann-Whitney U test (non-parametric) is technically correct. However, with large samples and approximately normal distributions, t-tests are often used - this is a debated practice in statistics.
Q12 matching

Match each variable to its data type:

Terms
1. ZIP code
2. Education (HS, BA, MA, PhD)
3. SAT score
4. Distance in miles
5. Eye color
Definitions
A. Nominal
B. Ordinal
C. Interval
D. Ratio
E. Nominal

Match each term with its definition. Correct matches: 1-A, 2-B, 3-C, 4-D, 5-E

Explanation: undefined

Quiz Results

0 %

← Chart Types Next: Central Tendency →