# 因变量与自变量

**因变量**是一项研究测量的结果，而**自变量**是被操纵、控制，或以其他方式被视为该结果变化之原因的因素。在实验中，研究者系统地操纵自变量——即假定的原因——并观察因变量——即假定的结果——是否随之改变<sup>[1](https://libguides.usc.edu/writingguide/variables)</sup>。同样的两个角色在统计学中又以其他名称反复出现：在回归中，自变量是解释变量、预测变量或回归变量，因变量则是响应、结果、被预测变量或回归因变量<sup>[2](https://lib.ysu.am/disciplines_bk/33b6e2aa30379171d53274830843d3f8.pdf)</sup>。

| 关键事实 | 详情 |
|---|---|
| 自变量 | 实验中由研究者系统操纵的条件；即假定的原因<sup>[1](https://libguides.usc.edu/writingguide/variables)</sup> |
| 因变量 | 实验中测量的结果，预期会因自变量的操纵而发生变化<sup>[3](https://ori.hhs.gov/basic-research-concepts-additional-sections-0)</sup> |
| 同义词 | 因变量：响应、结果、被预测变量、回归因变量、目标。自变量：解释变量、预测变量、控制变量、回归变量、协变量、特征<sup>[2](https://lib.ysu.am/disciplines_bk/33b6e2aa30379171d53274830843d3f8.pdf)</sup><sup> • </sup><sup>[4](https://www.statistics.com/glossary/dependent-and-independent-variables/)</sup> |
| 绘图惯例 | 按照标准统计实践，解释变量置于水平（x）轴，响应置于垂直（y）轴<sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup> |
| 非统计独立性 | 此处的“因变量”与“自变量”两个标签与事件的统计依赖性或独立性没有直接关系<sup>[4](https://www.statistics.com/glossary/dependent-and-independent-variables/)</sup> |
| 回归的不对称性 | 对Y关于X的回归与对X关于Y的回归产生不同的直线；交换角色会改变拟合直线，但相关系数r保持不变<sup>[6](https://www2.stat.duke.edu/~jerry/sta101/faq.html)</sup><sup> • </sup><sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup> |
| 历史起源 | “回归”一词最早由弗朗西斯·高尔顿在其1886年的论文《遗传身高向平庸的回归》中使用<sup>[7](https://www.bmj.com/content/308/6942/1499.long)</sup> |

## 定义与角色

美国研究诚信办公室将变量定义为研究中被研究的一种特征，它可以取不同的值，如体重、身高、对某种物质的暴露或收入。在实验中，变量要么是某种力量的结果，要么是引起另一变量变化的力量；这两者分别被称为因变量和自变量<sup>[3](https://ori.hhs.gov/basic-research-concepts-additional-sections-0)</sup>。例如，在一项药物试验中，治疗分配（活性药物与安慰剂）是自变量，每位参与者的反应是因变量<sup>[3](https://ori.hhs.gov/basic-research-concepts-additional-sections-0)</sup>。

这些标签描述的是分析，而非世界本身。哪个变量承担哪个角色，取决于所研究的问题，而非数据<sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup>。一个实用的识别检验是：把变量名代入句子“[自变量]引起[因变量]的变化，而[因变量]不可能引起[自变量]的变化”，看这句话是否说得通<sup>[1](https://libguides.usc.edu/writingguide/variables)</sup>。

## 各领域的术语

同义词集因学科和所主张的论断类型而异。在回归记号中，y被称为因变量、被解释变量、响应、被预测变量或回归因变量，而x被称为自变量、解释变量、控制变量、预测变量或回归变量<sup>[2](https://lib.ysu.am/disciplines_bk/33b6e2aa30379171d53274830843d3f8.pdf)</sup>。在数据挖掘和预测建模中，自变量是输入变量、预测变量或特征，因变量是响应、结果、目标或输出变量<sup>[4](https://www.statistics.com/glossary/dependent-and-independent-variables/)</sup>。

一些入门教材偏爱“解释变量”与“响应”这一对术语，恰恰是因为“独立”在统计学中已有专门含义，指不相关联的变量；一词两义容易引起混淆<sup>[8](https://datascienceuwl.github.io/STAT145/textbook/chapters/intro-to-data.html)</sup>。一篇统计学教育文章更尖锐地指出了同一点：“自变量”和“因变量”这两个术语并无严格定义，只是凭直觉理解，它们与随机变量的独立性、线性关系、向量的线性相关性等形式概念并存<sup>[9](https://jse.amstat.org/v18n1/kachapova.pdf)</sup>。

## 在回归中的使用

在简单线性回归中，一个定量响应变量被建模为一个定量预测变量的线性函数，写作\( \hat{y} = a + bx \)，其中解释变量x是代入的输入，响应y是模型所预测的值<sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup>。斜率b是解释变量每增加一个单位时响应的预测变化量，因此把两个变量的名称颠倒过来，就会颠倒整个模型的解释<sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup>。

方向之所以重要，是因为回归不是对称的。“Y关于X的回归”意味着Y是因变量、X是自变量；它用一条直线把X的每个取值所对应的Y的总体均值连接起来。X关于Y的回归回答的是另一个问题，两条直线并不相同<sup>[6](https://www2.stat.duke.edu/~jerry/sta101/faq.html)</sup>。相比之下，相关系数对称地对待变量：交换哪个变量被称为解释变量会改变回归直线，但r不受影响<sup>[5](https://www.statslearn.org/compare/explanatory-vs-response-variable)</sup>。

并非每一对相关变量都有天然的方向。就一个国家预算中用于军事的份额和专门用于公共卫生的份额而言，每一方都可以被视为依赖于另一方，而当无法识别出依赖关系时，任一数据集都可以被赋予任一角色<sup>[10](https://openstax.org/books/contemporary-mathematics/pages/8-8-scatter-plots-correlation-and-regression-lines)</sup>。伯克利统计学词汇表同样指出，自变量的选择并不总是明确的<sup>[11](https://www.stat.berkeley.edu/~stark/SticiGui/Text/gloss.htm?source=post_page---------------------------)</sup>。

## 因果、实验与混杂

把一个变量标为自变量、另一个标为因变量，表达的是关于因果的假设，而非确立因果。以此方式建立模型并用指标加以验证，本身并不能确认因果关系<sup>[4](https://www.statistics.com/glossary/dependent-and-independent-variables/)</sup>。随机实验可以支持解释变量与响应变量之间的因果关系，因为随机分配将潜在的潜伏变量均匀地分散到各治疗组中，使计划中的治疗成为各组之间唯一的差别<sup>[12](https://openstax.org/books/introductory-business-statistics/pages/1-4-experimental-design-and-ethics?modal=MH)</sup>。

在回归分析中，自变量构成一个更大的家族。协变量是出于调整其对结果的影响而纳入的自变量，而非因为其本身令人感兴趣，目的是使对所关注变量的估计更为精确。混杂变量与自变量和结果都相关联，因此观察到的关系可能源自混杂变量而非自变量；混杂变量应当被识别、测量并加以调整。协变量是一种特殊的自变量，混杂变量是一种特殊的协变量<sup>[13](https://pmc.ncbi.nlm.nih.gov/articles/PMC10958068/)</sup>。

## 高尔顿回归中的历史起源

这套词汇源自弗朗西斯·高尔顿（Francis Galton），一位维多利亚时代的博学家、查尔斯·达尔文（Charles Darwin）的表亲，从事遗传学与统计学研究。统计学术语“回归”源自拉丁语词根，意为“往回走”，最早由高尔顿在其论文《遗传身高向平庸的回归》中使用<sup>[7](https://www.bmj.com/content/308/6942/1499.long)</sup>。在那篇1886年的论文中，高尔顿分析了930名成年子女及其205对亲代的身高，将女性身高乘以1.08换算为男性等效值，发现人类身高向平庸回归的数值为“约1比2”：父母异常高或异常矮的子女，其平均偏差仅约为亲代偏差的一半，朝总体均值回归<sup>[14](https://utstat.toronto.edu/reid/sta2212s/2021/Galton85.pdf)</sup>。高尔顿意识到他对回归的研究并不限于遗传，而是适用于许多领域，都是同一种底层现象——相关——的表现；高尔顿和皮尔逊（Pearson）对回归与相关的发展都明确基于正态性假设，而高尔顿的图形工作导向了二元正态分布<sup>[15](https://onlinelibrary.wiley.com/doi/10.1002/9781119127963.ch2)</sup>。

高尔顿的工作所揭示的不对称性，正是现代两种变量角色之分的基础：由儿子身高预测其双亲平均身高的直线，与由双亲平均身高预测儿子身高的直线并不相同，因为每一种回归回答的都是关于哪个量被哪个量所解释的不同问题。

## References

1. [Independent and Dependent Variables, Organizing Your Social Sciences Research Paper, USC Libraries](https://libguides.usc.edu/writingguide/variables)
2. [Chapter 2: The Simple Regression Model (Gujarati), textbook excerpt](https://lib.ysu.am/disciplines_bk/33b6e2aa30379171d53274830843d3f8.pdf)
3. [Basic Research Concepts: Additional Sections, U.S. Office of Research Integrity](https://ori.hhs.gov/basic-research-concepts-additional-sections-0)
4. [Dependent and Independent Variables, Statistics.com Glossary](https://www.statistics.com/glossary/dependent-and-independent-variables/)
5. [Explanatory vs response variable: which is x, StatsLearn](https://www.statslearn.org/compare/explanatory-vs-response-variable)
6. [Statistics 101: FAQ, Duke University](https://www2.stat.duke.edu/~jerry/sta101/faq.html)
7. [Statistic Notes: Regression towards the mean, The BMJ](https://www.bmj.com/content/308/6942/1499.long)
8. [Introduction to Data, Introduction to Statistics: A Simulation-First Approach](https://datascienceuwl.github.io/STAT145/textbook/chapters/intro-to-data.html)
9. [Teaching Regression, Journal of Statistics Education 18(1), 2010 (Kachapova)](https://jse.amstat.org/v18n1/kachapova.pdf)
10. [8.8 Scatter Plots, Correlation, and Regression Lines, Contemporary Mathematics, OpenStax](https://openstax.org/books/contemporary-mathematics/pages/8-8-scatter-plots-correlation-and-regression-lines)
11. [Glossary, SticiGui, University of California, Berkeley](https://www.stat.berkeley.edu/~stark/SticiGui/Text/gloss.htm?source=post_page---------------------------)
12. [1.4 Experimental Design and Ethics, Introductory Business Statistics, OpenStax](https://openstax.org/books/introductory-business-statistics/pages/1-4-experimental-design-and-ethics?modal=MH)
13. [Confounding by Indication, Confounding Variables, Covariates, and Independent Variables (Andrade, Indian J Psychol Med 2024), PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC10958068/)
14. [Francis Galton (1886). Regression Towards Mediocrity in Hereditary Stature, Journal of the Anthropological Institute 15: 246-263](https://utstat.toronto.edu/reid/sta2212s/2021/Galton85.pdf)
15. [Gorroochurn, P. (2016). Galton, Regression, and Correlation, in Classic Topics on the History of Modern Statistics, Wiley](https://onlinelibrary.wiley.com/doi/10.1002/9781119127963.ch2)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistics and probability — overview and reference

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/dependent-and-independent-variables

English original: https://www.edgepedia.org/dependent-and-independent-variables
