# 路径分析（统计学）

路径分析是一种统计方法，它估计由观测变量构成的一个联立线性回归方程组，并以路径图的形式呈现，从而把两个变量之间的相关分解为直接因果效应与间接因果效应。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/9781119111931.ch105)</sup> 它介于多元回归与完整的结构方程模型（SEM）之间：多元回归每次只估计一个方程，而路径分析是结构方程模型的前身与子集——其中每个变量都被直接测量，测量被假定为完美无误，且只对观测变量之间的结构关系建模。<sup>[2](https://stats.oarc.ucla.edu/mplus/seminars/mplus-class-notes/path/)</sup><sup> • </sup><sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup>

| 关键事实 | 详情 |
|---|---|
| 它估计什么 | 观测变量之间的一个回归方程组，把每一个零阶相关分解为指定路径图中所有可容许路径上系数乘积之和，并视情况归类为直接效应、间接效应、虚假效应或未分析效应<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/9781119111931.ch105)</sup> |
| 路径系数 | 在其他因素保持不变时，某一指定因素直接负责的因变量标准差的比例<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup> |
| 分解规则 | 两个变量之间的相关，等于所有可接受路线上各系数乘积之和<sup>[5](https://web.pdx.edu/~newsomj/semclass/ho_path.pdf)</sup> |
| 与SEM的关系 | SEM的前身与子集，受线性回归假定与递归（无反馈回路）路径图的约束<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup> |
| 样本量 | 一种大样本技术：常被引用的最低标准是个案数与自由参数数目之比为5:1至10:1，但此类经验法则几乎没有实证支持，样本量应改为针对目标效应做功效分析来确定<sup>[6](https://people.ucsc.edu/~zurbrigg/psy214b/09SEM4a.pdf)</sup> |
| 识别 | T规则是一种初步的自由度检查，要求参数数目不超过协方差矩阵的 \( s \cdot (s+1)/2 \) 个独立元素，但这只是识别的必要条件而非充分条件，识别还取决于模型的结构；识别不足的模型没有唯一解<sup>[7](https://jihongzhang.org/teaching/2024-07-21-applied-multivariate-statistics-esrm64503/Lecture09/ESRM64503_Lecture09.html)</sup> |
| 检验间接效应 | 自助置信区间优于索贝尔检验，因为间接效应的抽样分布是不对称的非正态分布<sup>[8](https://ladal.edu.au/tutorials/structural_equations/structural_equations.html)</sup> |

## 工作原理

路径图是一种图形，其中单箭头表示假设的因果影响，弯曲的双箭头表示外生变量之间未经分析的相关。若一个变量的方差不由模型中的其他变量决定，它就是外生变量；反之则为内生变量。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup> 每条单箭头都带有一个路径系数，它被解释为回归系数，即 \( y_{j} \) 对 \( y_{i} \) 的效应。<sup>[9](https://tdjorgensen.github.io/SEM-in-Ed-compendium/ch3.html)</sup> 赖特把该系数定义为：在其他因素保持不变时，因变量标准差中由指定因素直接负责的部分所占的比例；其平方则度量方差中相应的比例。<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup>

赖特的追踪定理指出，在一个由相继关系构成的网络中，任意两个变量之间的相关都可以分解为所有连接路径的贡献之和，每一项贡献是沿基本路径各系数的乘积，且每条路径上至多允许一个弯曲（双向）箭头。<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup> 追踪规则另加三条限制：任何路线不得两次经过同一变量；路线不得先向前再向后（只有共同原因而非共同结果才能解释相关）；每条路线至多允许一个弯曲箭头。<sup>[5](https://web.pdx.edu/~newsomj/semclass/ho_path.pdf)</sup> 每个方程所解释的总方差可分解为直接效应、间接效应、虚假效应（源于共同原因）与未分析效应（方向未知，涉及弯曲箭头）；总效应是全部直接效应与间接效应之和。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup><sup> • </sup><sup>[6](https://people.ucsc.edu/~zurbrigg/psy214b/09SEM4a.pdf)</sup> 在中介路径模型中，总效应 \( c \) 等于直接效应 \( c' \) 加上间接效应 \( a \cdot b \)；当所有因果效应都是线性的且不在个体之间变化时，这一分解成立。<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC8725051/)</sup><sup> • </sup><sup>[11](https://journals.sagepub.com/doi/10.1177/25152459221095827)</sup>

## 操作步骤

整个流程从一开始就是理论驱动的。研究者先依据实质性理论画出路径图，然后检查识别问题。T规则是一种初步的自由度检查，要求自由参数的数目不超过协方差矩阵的 \( s \cdot (s+1)/2 \) 个独立元素；它是必要条件而非充分条件，因为识别还取决于模型的结构。当协方差数目等于参数数目时，模型恰好识别（自由度为零，因而没有可用的拟合指数）；当协方差有剩余、拟合可以检验时，模型为过度识别；当协方差少于参数时，模型识别不足，此时参数没有唯一解。<sup>[7](https://jihongzhang.org/teaching/2024-07-21-applied-multivariate-statistics-esrm64503/Lecture09/ESRM64503_Lecture09.html)</sup><sup> • </sup><sup>[2](https://stats.oarc.ucla.edu/mplus/seminars/mplus-class-notes/path/)</sup>

随后在协方差矩阵上进行估计，这是标准做法，也优于在相关矩阵上估计。<sup>[5](https://web.pdx.edu/~newsomj/semclass/ho_path.pdf)</sup> 路径分析模型常用全信息最大似然（FIML）估计。<sup>[12](https://www.bauer.uh.edu/departments/accy/research/documents/losing-our-way.pdf)</sup> 在数据完整且服从多元正态分布时，最大似然仅凭样本均值与协方差矩阵即可计算；而针对不完整数据的全信息最大似然（FIML）则利用个案层面的观测值及其缺失数据模式。ML假定多元正态性，加权最小二乘（WLS，又称渐近无分布估计）则放弃正态性假定。<sup>[13](https://mspeekenbrink.github.io/sdam-book/ch-SEM-path-models.html)</sup> 对于非正态数据，可使用稳健的MLR估计量。<sup>[14](https://metricgate.com/docs/manifest-variable-path-analysis/)</sup>

拟合优度通过似然比卡方来评估，即把使用者模型与饱和模型相比较——对 \( P \) 个观测变量而言，饱和模型有 \( P \cdot (P-1)/2 + 2P \) 个参数——并辅以CFI、TLI与SRMR；模型修正则使用标准化残差协方差以及带有期望参数变化的修正指数。<sup>[13](https://mspeekenbrink.github.io/sdam-book/ch-SEM-path-models.html)</sup><sup> • </sup><sup>[7](https://jihongzhang.org/teaching/2024-07-21-applied-multivariate-statistics-esrm64503/Lecture09/ESRM64503_Lecture09.html)</sup>

## 源流

休厄尔·赖特（Sewall Wright）于1918年提出路径系数方法，并在1920年和1921年作了更完整的阐述，把它作为一种灵活的手段，将多重系统中各变量之间的相关系数与它们之间的函数（因果）关系联系起来。<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup> 1918年的论文《论大小因子的性质》发表在《遗传学》上。<sup>[15](https://doi.org/10.1093/genetics/3.4.367)</sup> 他1920年发表在《美国国家科学院院刊》上的论文讨论遗传与环境在决定豚鼠花斑图案上的相对重要性，其中给出了第一幅路径图——以程式化的方式描绘父本与母本的遗传贡献、环境以及随机因素对豚鼠后代毛色的共同影响——并首创了“路径系数”一词。<sup>[16](https://doi.org/10.1073/pnas.6.6.320)</sup><sup> • </sup><sup>[17](https://dukespace.lib.duke.edu/server/api/core/bitstreams/83f6a2e0-4e6f-40e5-b926-74e7d4584d94/content)</sup> 他1934年发表于《数理统计年刊》的论文《路径系数方法》完整地重述了该方法及其追踪规则。<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup>

早期的接受既充满敌意又十分缓慢。亨利·E·奈尔斯（Henry E. Niles）1922年在《遗传学》上发表批评文章《相关、因果与赖特的“路径系数”理论》。<sup>[18](https://doi.org/10.1093/genetics/7.3.258)</sup> 赖特本人强调，该方法并不打算仅凭相关系数推断因果关系，而是要把定量的相关信息与定性的因果知识结合起来，给出定量的解释。<sup>[4](https://gwern.net/doc/statistics/1934-wright.pdf)</sup>

社会科学界的重新发现发生在20世纪60年代，其推动力是布莱洛克（Blalock）1964年的著作《非实验研究中的因果推断》；阿尔温与豪泽（Alwin and Hauser）认为，因果建模在社会学家中的传播主要归功于布莱洛克（1961、1969）与邓肯（Duncan，1966）。<sup>[17](https://dukespace.lib.duke.edu/server/api/core/bitstreams/83f6a2e0-4e6f-40e5-b926-74e7d4584d94/content)</sup><sup> • </sup><sup>[19](https://faculty.washington.edu/matsueda/courses/529/Readings/Alwin%20and%20Hauser%201975.pdf)</sup> 社会学的路径方法与计量经济学的联立方程、心理学的因素分析相融合，产生了如今称为SEM的推广形式，并被形式化为LISREL模型。<sup>[17](https://dukespace.lib.duke.edu/server/api/core/bitstreams/83f6a2e0-4e6f-40e5-b926-74e7d4584d94/content)</sup>

## 变体

经典的路径模型是递归的：因果沿一个方向流动，没有反馈回路。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup> SEM把路径分析推广到可以容纳非线性关系、聚类、重复测量、测量误差、反馈回路与潜变量；路径模型则算作SEM的一个特例，其中所有变量都是观测的，测量被假定为完美无误。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup><sup> • </sup><sup>[2](https://stats.oarc.ucla.edu/mplus/seminars/mplus-class-notes/path/)</sup> 阿尔温与豪泽提出了一种通用方法，通过逐次简化式方程把总效应分解为直接效应与间接效应；博伦（Bollen）则把总效应、直接效应与间接效应的处理推广到结构方程模型。<sup>[20](https://doi.org/10.2307/2094445)</sup><sup> • </sup><sup>[21](https://doi.org/10.2307/271028)</sup>

## 应用

凡需要量化测量变量之间假设的因果链条之处，都会用到路径分析，最常见的是效应经由中间变量传递的中介模型。<sup>[2](https://stats.oarc.ucla.edu/mplus/seminars/mplus-class-notes/path/)</sup> 它最大的贡献在生物学、心理学、社会学与计量经济学领域，通常已被纳入SEM之中。<sup>[1](https://onlinelibrary.wiley.com/doi/10.1002/9781119111931.ch105)</sup> 赖特本人的应用是量化基因与环境对豚鼠毛色的贡献，以及评估气候对植物蒸腾的影响。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup>

## 局限与替代方法

要使路径系数可以被解释为效应，就必须满足一整套标准假定：因变量近似正态分布；因果关系是线性且可加的；因果单向、没有反馈回路；残差与预测变量不相关；变量测量无误差；多重共线性低。逻辑回归方程通过logit连接函数而非以可加方式对概率建模，因此不能简单地替换进来。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup>

即便这些假定都成立，路径模型仍建立在相关之上，不能证明因果关系或因果效应的方向；该方法是理论驱动的，不应用来从数据中发展模型。<sup>[3](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)</sup> 通常会有若干等价模型对同一数据的拟合同样好，却带有不同的因果解释；确立因果关系的金标准是干预或实验。<sup>[13](https://mspeekenbrink.github.io/sdam-book/ch-SEM-path-models.html)</sup> 统计上显著的间接效应表明数据与某种中介机制相容；若要作出更强的因果断言，则需要纵向设计、操纵中介变量或其他识别策略。<sup>[8](https://ladal.edu.au/tutorials/structural_equations/structural_equations.html)</sup>

首要的局限是内生性。递归路径模型通常依赖每个方程的扰动项相对于其预测变量的外生性，才能使基于回归的估计具有因果解释——这一假定等同于把内生性问题假定掉；工具变量（IV）估计则对工具变量施加一项或多项排除性约束。因此两种方法建立在不同的识别假定之上，路径分析并不能自动解决内生性。<sup>[12](https://www.bauer.uh.edu/departments/accy/research/documents/losing-our-way.pdf)</sup> 若没有这些约束，把总效应分解为直接成分与间接成分就是识别不足的：无法把二者拆解开来。<sup>[12](https://www.bauer.uh.edu/departments/accy/research/documents/losing-our-way.pdf)</sup>

在观测变量路径模型中，残差因素的方差把测量误差与未测量原因所致的方差混在一起，这两个成分无法分离；测量越不可靠，问题越严重。<sup>[9](https://tdjorgensen.github.io/SEM-in-Ed-compendium/ch3.html)</sup> 当中介变量是对撞变量时，为估计直接效应而对其加以校正就会失败，因为对对撞变量加以控制会在其原因之间引入虚假关联；避免对撞变量问题的通常做法是不对对撞变量加以控制，而校正共同原因则可处理混杂。<sup>[11](https://journals.sagepub.com/doi/10.1177/25152459221095827)</sup><sup> • </sup><sup>[24](https://www.nature.com/articles/s41467-020-19478-2)</sup> 巴伦与肯尼（Baron and Kenny）的程序使用三个独立的回归，并依据直接路径是否仍然显著来区分完全中介与部分中介；相比之下，路径分析同时估计所有方程，并直接检验间接效应。<sup>[22](https://uoepsy.github.io/msmr/2122/labs/09_path.html)</sup>

由于间接效应是系数的乘积，其抽样分布往往不对称且非正态，使得基于正态性的标准误不可靠；推荐的做法是自助法，即对数据做有放回的重抽样，以经验方式生成抽样分布，例如在lavaan中做1000次抽样的自助95%置信区间——在那里，间接效应用“:=”运算符定义为带标签路径的乘积。<sup>[8](https://ladal.edu.au/tutorials/structural_equations/structural_equations.html)</sup><sup> • </sup><sup>[22](https://uoepsy.github.io/msmr/2122/labs/09_path.html)</sup> 1982年发表的索贝尔（Sobel）一阶间接效应检验，则是经典的渐近替代方案。<sup>[23](https://doi.org/10.2307/270723)</sup>

## References

1. [Path Analysis (Wooldredge, Encyclopedia of Research Methods in Criminology and Criminal Justice, 2021)](https://onlinelibrary.wiley.com/doi/10.1002/9781119111931.ch105)
2. [Mplus Class Notes: Path Analysis (UCLA OARC)](https://stats.oarc.ucla.edu/mplus/seminars/mplus-class-notes/path/)
3. [Path Analysis (Columbia Mailman School of Public Health)](https://www.publichealth.columbia.edu/research/population-health-methods/path-analysis)
4. [The Method of Path Coefficients (Sewall Wright, Annals of Mathematical Statistics, 1934)](https://gwern.net/doc/statistics/1934-wright.pdf)
5. [Basics of Path Analysis: Wright's Rules of Tracing (Newsom, Portland State University)](https://web.pdx.edu/~newsomj/semclass/ho_path.pdf)
6. [Path Analysis lecture slides (UCSC Psy 214B)](https://people.ucsc.edu/~zurbrigg/psy214b/09SEM4a.pdf)
7. [Lecture 09: Path Analysis – Jihong Zhang, Ph.D.](https://jihongzhang.org/teaching/2024-07-21-applied-multivariate-statistics-esrm64503/Lecture09/ESRM64503_Lecture09.html)
8. [Structural Equation Modelling in R – LADAL](https://ladal.edu.au/tutorials/structural_equations/structural_equations.html)
9. [3 Path Models | A lavaan Compendium for Structural Equation Modeling in Educational Research](https://tdjorgensen.github.io/SEM-in-Ed-compendium/ch3.html)
10. [Sample Size Requirements for Simple and Complex Mediation Models](https://pmc.ncbi.nlm.nih.gov/articles/PMC8725051/)
11. [That's a Lot to Process! Pitfalls of Popular Path Models](https://journals.sagepub.com/doi/10.1177/25152459221095827)
12. [Losing our way? (path analysis vs. instrumental variable estimation)](https://www.bauer.uh.edu/departments/accy/research/documents/losing-our-way.pdf)
13. [Chapter 13 Path models (SEM 1) | Statistics: Data analysis and modelling (Speekenbrink)](https://mspeekenbrink.github.io/sdam-book/ch-SEM-path-models.html)
14. [Manifest Variable Path Analysis Calculator | MetricGate](https://metricgate.com/docs/manifest-variable-path-analysis/)
15. [Sewall Wright (1918). ON THE NATURE OF SIZE FACTORS. Genetics.](https://doi.org/10.1093/genetics/3.4.367)
16. [Sewall Wright (1920). The Relative Importance of Heredity and Environment in Determining the Piebald Pattern of Guinea-Pigs. Proceedings of the National Academy of Sciences.](https://doi.org/10.1073/pnas.6.6.320)
17. [Path Analysis and Structural Equation Modeling (historical chapter, Duke repository)](https://dukespace.lib.duke.edu/server/api/core/bitstreams/83f6a2e0-4e6f-40e5-b926-74e7d4584d94/content)
18. [Henry E Niles (1922). CORRELATION, CAUSATION AND WRIGHT'S THEORY OF "PATH COEFFICIENTS". Genetics.](https://doi.org/10.1093/genetics/7.3.258)
19. [The Decomposition of Effects in Path Analysis (Alwin & Hauser, American Sociological Review, 1975)](https://faculty.washington.edu/matsueda/courses/529/Readings/Alwin%20and%20Hauser%201975.pdf)
20. [Duane F. Alwin, Robert M. Hauser (1975). The Decomposition of Effects in Path Analysis. American Sociological Review.](https://doi.org/10.2307/2094445)
21. [Kenneth A. Bollen (1987). Total, Direct, and Indirect Effects in Structural Equation Models. Sociological Methodology.](https://doi.org/10.2307/271028)
22. [Path Analysis lab (University of Edinburgh MScR methods lab)](https://uoepsy.github.io/msmr/2122/labs/09_path.html)
23. [Michael E. Sobel (1982). Asymptotic Confidence Intervals for Indirect Effects in Structural Equation Models. Sociological Methodology.](https://doi.org/10.2307/270723)
24. [Collider bias undermines our understanding of COVID-19 disease risk and severity, Nature Communications](https://www.nature.com/articles/s41467-020-19478-2)

---
*Initially written Sep 29, 2026 · Edited: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Multivariate association and dimension reduction › Titles Mo to W

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/path-analysis-statistics

English original: https://www.edgepedia.org/path-analysis-statistics
