Notes on Qualitative vs Quantitative Variables
Key Concepts
- Qualitative variables (categorical) classify individuals based on attributes, characteristics, or qualities.
- Quantitative variables (numerical) provide numerical measures of individuals, and the values can be added or subtracted in meaningful ways.
- Important caveat: just because data contain numbers does not automatically make a variable quantitative; you must be able to add or subtract the values in a meaningful way for the variable to be quantitative.
Classification of the four variables from the example
- A) Race
- Qualitative; based on a quality/attribute.
- Examples of categories: white, black, Asian, American Indian, Native Hawaiian, etc.
- B) Temperature
- Quantitative; numerical quantity; the difference between values is meaningful.
- Example: if it is 70 degrees today and 90 degrees tomorrow, the difference is 20 degrees, which is a meaningful measure.
- Expressed as: 90 - 70 = 20
- C) Number of days during the past week that a college student studied
- Quantitative; numerical count of days.
- Example: you studied 4 days and your roommate studied 3 days; together you studied 7 days.
- Expressed as: 4 + 3 = 7
- D) ZIP code
- May appear to be quantitative, but it is actually qualitative.
- It categorizes a location and is not a numerical measure.
- You cannot meaningfully add two ZIP codes together or subtract one from another to obtain a meaningful result.
Important nuances and explanations
- A numeric value does not automatically make a variable quantitative; the key is whether arithmetic on the values is meaningful.
- Qualitative variables classify individuals by attribute or quality rather than by magnitude.
- Quantitative variables provide numerical measures where addition/subtraction yields meaningful interpretations (e.g., differences, totals).
Practical implications
- When analyzing data, check whether the variable supports meaningful arithmetic before treating it as quantitative.
- ZIP codes are identifiers for location and should not be treated as numbers for arithmetic purposes in analysis.
Summary of the four variables
- A: Qualitative
- B: Quantitative
- C: Quantitative
- D: Qualitative
Quick decision guideline
- If you can meaningfully add, subtract, or compute an average across values, the variable is quantitative.
- If the values are categories or labels without inherent numeric magnitude, the variable is qualitative.