1.2
变量通常用大写字母(例如 X 和 Y)来进行表示,是可以确定总体中每个成员的特征或测量值。数据是变量的实际值。它们可以是数字,也可以是文字。同时数据还是一个单一的值。
数据的分类基于其是否能够进行测量。分类数据是无法进行测量的,但是可以将其分为不同类别。例如,如果 Y 能够表示一个人的政党关系,那么…
数据是用于观测值和测量值集合的科学术语,构成了所有统计分析和推断的基础。
数据可以根据是否可测量进行分类。例如,考虑不同的发色。发色无法用升或千米来衡量,而只能将其归类为黑色、棕褐色或红色等类别。
此类数据集被称为分类数据或定性数据;它们无法被测量或计数,但可以被标记或归入不同的类别。
另一个例子是人类血液,它被分为四种不同类型:A型、B型、O型或AB型。
在某些情况下,分类数据可以按特定方式排序,这类数据称为有序分类。例如,咖啡杯的大小——小、中、大——或森林中树木的高度——矮、中、高——均可按尺寸递增的顺序排列。
View the full transcript and gain access to JoVE Core videos
Q1: What is categorical data and how does it differ from other data types?
Categorical data, also called qualitative data, cannot be measured in units like liters or kilometers. Instead, it is grouped into categories or labels. For example, hair colors such as black, brunette, or red are categorical. Unlike how data are classified numerical data, categorical data represents characteristics that can only be labeled or organized into distinct groups rather than counted or measured numerically.
Q2: What are examples of categorical data in scientific research?
Common examples of categorical data include blood type (A, B, O, or AB), party affiliation (Republican, Democrat, Independent), hair color, age group, and sex. These variables represent characteristics that cannot be measured numerically but instead are divided into distinct categories. Each observation falls into one category, allowing researchers to organize and analyze populations based on these qualitative attributes.
Q3: What are ordinal categories and how do they differ from regular categorical data?
Ordinal categories are categorical data that can be arranged in a meaningful order or sequence. Examples include coffee cup sizes (small, medium, large) or tree heights (short, medium, tall). Unlike nominal categorical data, ordinal categories have a natural ranking, though the differences between categories cannot be measured numerically. This ordering reflects a progression from one level to another.
Q4: How are variables and data related in statistical analysis?
A variable is a characteristic or measurement determined for each member of a population, typically notated by capital letters such as X or Y. Data are the actual values of those variables, which may be numbers or words. A single value is called a datum. Variables provide the framework for collecting and organizing data during statistical analysis and research.
Q5: Can you measure the difference between ordinal categorical responses?
No, the differences between ordinal categorical responses cannot be measured numerically. For example, in a cruise survey with responses ranked as excellent, good, satisfactory, and unsatisfactory, the responses are ordered from most to least desired. However, you cannot quantify the exact difference between excellent and good or between any two consecutive responses.
Q6: Why is it important to classify data as categorical in research?
Classifying data as categorical is essential because it determines how data are analyzed and interpreted. Categorical data requires different statistical methods than numerical data. Recognizing whether observations represent categories or measurable quantities guides researchers in selecting appropriate analysis techniques and drawing valid conclusions from their data.
Q7: What is the difference between nominal and ordinal categorical data?
Nominal categorical data has no inherent order, such as blood types or hair colors. Ordinal categorical data can be ranked in a meaningful sequence, like survey ratings or size classifications. While both are categorical, ordinal data conveys additional information through its ordering, whereas nominal data simply assigns observations to unordered categories.