Lesson 2: Types of Data
Estimated time: 25-30 minutes
Learning Objectives
By the end of this lesson, you will be able to:
- Distinguish between quantitative (numerical) and qualitative (categorical) data
- Classify quantitative data as discrete or continuous
- Identify the four levels of measurement (nominal, ordinal, interval, ratio)
- Explain why data types matter for choosing statistical methods
- Correctly classify data from real-world examples
Why Data Types Matter
Imagine you're a chef choosing cooking methods. You wouldn't boil a steak or grill soup, right? Different ingredients require different techniques!
The same principle applies to statistics: different types of data require different statistical methods. Before you can analyze data, you need to understand what type of data you're working with.
Why This Matters
- Choose the right statistical test: You can't calculate a mean for "favorite color"!
- Create appropriate visualizations: Pie charts work for categories, not continuous measurements
- Avoid analysis mistakes: Using the wrong method can lead to nonsensical results
- Communicate findings correctly: Knowing your data type helps you explain results accurately
The Big Picture: Two Main Types
All data can be classified into two broad categories:
Quantitative Data
NUMERICAL
Definition: Data that can be measured with numbers and has mathematical meaning.
Can you: Add, subtract, find averages? YES!
Examples:
- Height: 5 feet 8 inches, 172 cm
- Age: 22 years old
- Test score: 85 out of 100
- Temperature: 75°F
- Income: $45,000 per year
- Number of siblings: 2
Qualitative Data
CATEGORICAL
Definition: Data that describes characteristics or qualities; placed into categories.
Can you: Add, subtract, find averages? NO!
Examples:
- Eye color: blue, brown, green, hazel
- Major: Biology, English, Math, Art
- Gender: Male, Female, Non-binary
- Zip code: 90405 (it's a label, not a number to calculate with!)
- Satisfaction: Satisfied, Neutral, Dissatisfied
- Type of car: Sedan, SUV, Truck
Quick Test: Is it Quantitative or Qualitative?
Ask yourself: "Can I do math with these values in a meaningful way?"
- Can you calculate an average? (Quantitative)
- Or does it just sort things into groups? (Qualitative)
Tricky example: Phone numbers are written with digits, but they're qualitative! You can't meaningfully average phone numbers or say one phone number is "greater than" another. They're just labels!
Breaking Down Quantitative Data
Quantitative data can be further divided into two types:
Discrete Data
COUNTABLE
Definition: Data that can only take specific, separate values (usually whole numbers). You can count it but not measure it infinitely precisely.
Key feature: There are gaps between possible values. You can't have 2.5 children!
Examples:
- Number of students in a class: 25, 26, 27 (not 25.7!)
- Cars in a parking lot: 0, 1, 2, 3...
- Dice roll result: 1, 2, 3, 4, 5, 6
- Correct answers on a quiz: 0, 1, 2,..., 10
- Pets owned: 0, 1, 2, 3...
Continuous Data
MEASURABLE
Definition: Data that can take any value within a range, including decimals. You measure it with instruments.
Key feature: Infinite possible values between any two points. Can always be more precise!
Examples:
- Height: 5'8", 5'8.2", 5'8.247"... (can always measure more precisely)
- Weight: 150 lbs, 150.3 lbs, 150.32 lbs...
- Temperature: 72.5°F, 72.53°F...
- Time to complete a race: 12.45 seconds, 12.453 seconds...
- Distance traveled: 5.2 miles, 5.24 miles...
Decision Flowchart: Discrete or Continuous?
YES → CONTINUOUS
NO (only specific values) → DISCRETE
Advanced: Levels of Measurement
Statisticians classify data into four levels of measurement, from simplest to most complex. Each level determines which mathematical operations are meaningful.
| Level | Description | Examples | What You CAN Do | What You CAN'T Do |
|---|---|---|---|---|
| Nominal (Names) |
Categories with no order or ranking |
• Eye color • Zip codes • Student ID • Type of car |
Count frequencies Find mode (most common) |
Order them Calculate mean Rank them |
| Ordinal (Ranked) |
Categories WITH meaningful order, but gaps between ranks aren't equal |
• Class rank (1st, 2nd, 3rd) • Satisfaction rating (Low, Medium, High) • Education level (HS, BA, MA, PhD) |
Order/rank them Find median Calculate mode |
Calculate mean (gaps aren't equal!) Say "how much more" |
| Interval (Equal Intervals) |
Numerical with equal intervals, but NO true zero |
• Temperature (°F, °C) • IQ scores • Calendar years |
Add and subtract Calculate mean Find differences |
Multiply/divide Say "twice as hot" (No true zero!) |
| Ratio (True Zero) |
Numerical with equal intervals AND a true zero (zero = absence of quantity) |
• Height, weight • Age • Income • Test scores |
ALL math operations! Multiply, divide Say "twice as tall" |
Nothing! This is the most flexible level. |
Why the Difference Between Interval and Ratio Matters
Temperature (Interval): 80°F is NOT "twice as hot" as 40°F. Why? Because 0°F doesn't mean "no temperature"—it's just an arbitrary point on the scale. If you convert to Celsius, the numbers change completely!
Height (Ratio): Someone who is 6 feet tall is twice as tall as someone who is 3 feet tall. Why? Because 0 feet truly means "no height." The ratio stays the same in any unit (meters, inches, etc.).
Interactive Practice: Classify the Data!
Click on the correct data type for each example. Get instant feedback!
1. The number of pets owned by students in a class
2. The weight of apples in pounds
3. Customer satisfaction ratings: Very Dissatisfied, Dissatisfied, Neutral, Satisfied, Very Satisfied
4. Zip codes
5. Time to run a marathon (in hours and minutes)
6. Student's letter grade: A, B, C, D, F
Key Takeaways
- Quantitative (numerical) data can be measured and calculated; Qualitative (categorical) data describes characteristics
- Discrete data can only take specific values (you count it); Continuous data can take any value in a range (you measure it)
- The four levels of measurement are: Nominal (categories), Ordinal (ranked), Interval (equal intervals, no true zero), Ratio (equal intervals + true zero)
- Data type determines which statistical methods and visualizations are appropriate
- Numbers aren't always quantitative—phone numbers and zip codes are qualitative labels!
Ready for More?
Next Lesson
In Lesson 3, you'll learn about data collection methods—surveys, experiments, observational studies—and how to identify bias.
Start Lesson 3Need Help?
Confused about discrete vs. continuous? Not sure about levels of measurement? Ask the AI tutor!
Ask AI Tutor