Often, you will collect both categorical data and quantitative data when exploring a single subject. Categorical variables are often used to group or subset the data in graphs or analyses. Here are some examples of categorical and quantitative data that you could collect when exploring the same subject:
Subject of the analysis | Possible categorical variables | Possible quantitative variables |
---|---|---|
Household appliance sales |
Type of appliance; Make and model |
Sale price |
Automobile body painting |
Paint flaws (peel, scratch, smudge, other); Paint colors |
Temperature of metal to be painted; Thickness of paint layer |
The following tables show examples of categorical and quantitative variables for different types of data:
Data type | Examples |
---|---|
Numeric |
|
Text |
|
Date/time |
|
Data type | Examples |
---|---|
Numeric |
|
Date/time |
|