题目
Which of the following data types would be classified as being categorical?
选项
A.Discrete
B.Nominal
C.Continuous
答案
B
解析
B is correct. Categorical data (or qualitative data) are values that describe a quality or characteristic of a group of observations and therefore can be used as labels to divide a dataset into groups to summarize and visualize. The two types of categorical data are nominal data and ordinal data. Nominal data are categorical values that are not amenable to being organized in a logical order,while ordinal data are categorical values that can be logically ordered or ranked. A is incorrect because discrete data would be classified as numerical data (not categorical data). C is incorrect because continuous data would be classified as numerical data (not categorical data). B是正确的。分类(定性)数据是描述一组观察结果的质量或特征的值,可作为标签将数据集分组后进行汇总和可视化操作。分类(定性)数据可以分为名义数据和排序数据。名义数据是分类值,并不表示逻辑或者排列顺序,排序数据可对观测值进行排序并分类。 A是不正确的,因为离散数据被分类为定量数据(而不是分类数据)。 C是不正确的,因为连续数据被分类为定量数据(而不是分类数据)。