In Grade 6 you learned that a statistical question expects answers that vary. Statistics starts by collecting those answers. Each person, animal or thing we collect data about is an individual, and each characteristic we record about it is a variable. A class survey might record each student's height, favorite sport and number of siblings: three variables.
Key idea
Why it works
A quick test
Ask: would it make sense to find the average? The average height of a class is a useful fact, so height is quantitative. The average favorite sport is nonsense, so favorite sport is categorical.
| Variable | Type | Reason |
|---|---|---|
| Time to run a mile | Quantitative | Measured in minutes; differences make sense |
| Number of pets | Quantitative | A count |
| Blood type | Categorical | A label: A, B, AB or O |
| Shirt size (S, M, L) | Categorical | Ordered labels, but you cannot average them |
| Jersey number | Categorical | A name written with digits |
Worked example: A club survey
- Age in years: the average age of the club is meaningful, so age is quantitative.
- Favorite snack: each answer is a name, like "popcorn," so it is categorical.
- Owns a bike (yes or no): a two-category label, so it is categorical.
Answer: Age is quantitative; favorite snack and bike ownership are categorical.
Worked example: Numbers that are really labels
- ZIP codes are written with digits, so they look quantitative.
- But ask the average test: the average of 90210 and 10001 is 50105.5, which is not a place and tells you nothing.
- A ZIP code only names a region, so it is categorical.
- Number of items bought is a count, and the average number of items per customer is useful: quantitative.
Answer: ZIP code is categorical; number of items is quantitative.
Common mistake