CompTIA Data+ (DA0-002)Data Concepts and EnvironmentsMedium
A data scientist is preparing a dataset for a machine learning model that predicts customer purchasing behavior. The dataset includes 'Customer ID', 'Product Category', 'Purchase Amount', and 'Payment Method'. The 'Product Category' column contains values such as 'Electronics', 'Apparel', 'Home Goods', and 'Food'. Which of the following best describes the 'Product Category' data type?
- ARatio
- BOrdinal
- CNominal
- DInterval
Show answer & explanationAnswer & explanation
Correct answer: C. Nominal
'Product Category' represents distinct categories without any inherent order or ranking. There's no logical sequence or hierarchy between 'Electronics' and 'Apparel', making it a nominal data type.
Why the other options are wrong
- A. Ratio data has a true zero point and meaningful ratios, which doesn't apply to product categories.
- B. Ordinal data has a meaningful order, but the intervals between values are not equal, which is not true for product categories.
- D. Interval data has ordered values with equal intervals but no true zero, also not applicable here.
Nominal Data
A type of qualitative (categorical) data that consists of categories without any intrinsic order or ranking. It's used for labeling variables without any quantitative value.
- Represents categories or labels.
- No inherent order or ranking.
- Values are distinct and separate.
- Examples: gender, marital status, product type.
Memory trick: Think 'Nominal' as 'Name' only; just a label.