1.2: 数据如何分类:分类数据

How Data are Classified: Categorical Data
JoVE Core
Statistics
A subscription to JoVE is required to view this content.  Sign in or start your free trial.
JoVE Core Statistics
How Data are Classified: Categorical Data

33,872 Views

01:11 min
April 30, 2023

Overview

A variable, usually notated by capital letters such as X and Y, is a characteristic or measurement that can be determined for each member of a population. Data are the actual values of variables. They may be numbers, or they may be words. Datum is a single value.

Data are classified based on whether they are measurable or not. Categorical data cannot be measured; instead, it can be divided into categories. For example, if Y denotes a person's party affiliation, some examples of Y include Republican, Democrat, and Independent. Y is categorical data. Categorizing a population-based on hair color, age, sex, blood group are examples of categorical data.

In some cases, categorical data can be ordered in a particular fashion, and these fall under the ordinal category. Consider the list of the top five national parks in the United States. The top five national parks can be ranked from one to five, but the differences between the data are not measurable. Another example is a cruise survey where the responses to questions about the cruise are "excellent," "good," "satisfactory," and "unsatisfactory." These responses are ordered from the most desired response to the least desired. However, the differences between the two pieces of data cannot be measured.

This text is adapted from Openstax, Introductory Statistics, Section 1.1 Definitions of Statistics, Probability, and Key Terms

Transcript

数据是一个科学术语,用于收集观察和测量,构成了所有统计分析和推断的基础。

可以根据是否可以测量数据对数据进行分类。例如,考虑不同的头发颜色。人们不能以升或公里为单位测量头发颜色,而是可以将它们分为黑色、黑发或红色等类别。

此类数据集称为分类数据或定性数据;它们无法测量或计数,但可以标记或归入不同的类别。

另一个例子是人血,它分为四种不同的类型:A、B、O 或 AB。

在某些情况下,分类数据可以按特定方式排序;此类数据称为序数类别。例如,咖啡杯的大小(小、中、大)或森林中树木的高度(短、中、高)可以按大小递增的顺序排列。

Key Terms and definitions​

Learning Objectives

Questions that this video will help you answer

This video is also useful for