# 探索性图分析

探索性图分析（Exploratory graph analysis，EGA）是一种网络心理测量学方法，它对变量相关所构成的经正则化处理的网络施加社区检测算法，以此估计多变量数据中的维度数目。该方法旨在解决因子保留问题，即判定一组测验或问卷题目背后究竟由多少个潜在因子支撑。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9386885/)</sup> EGA 是在网络心理测量学的框架内提出的，该框架估计心理数据集的无向网络模型。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup><sup> • </sup><sup>[3](https://www.academyofcyprus.cy/wp-content/uploads/2021/03/GOLINO_DEMETRIOU_EGA_INTELL_2017.pdf)</sup> EGA 同时给出维度计数与结构：检测到的社区数目即为维度数目，而每个变量所属的社区则给出因子结构。<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 核心流程 | 以 EBIC 模型选择进行图套索估计，再用 walktrap 做社区检测；社区数目等于潜在因子数目<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> |
| 首发论文 | 戈利诺与埃普斯坎普，PLOS ONE，2017<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> |
| 模拟准确率（戈利诺等，2020） | EGA 总体为 93%，平行分析为 89%，EBIC 为 82%，BIC 与 Kaiser-Guttman 规则（K1）为 81%，MAP 为 50%，VSS 为 39%<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> |
| 最困难的条件 | 四个因子、相关为 .70：EGA 为 71%，次优方法（平行分析）为 40%；样本量为 5,000 时 EGA 达到 100%<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> |
| 软件 | EGAnet R 包；要求 R（>= 3.5.0），采用 AGPL（>= 3.0）许可<sup>[6](https://cran.r-project.org/web/packages/EGAnet/EGAnet.pdf)</sup> |
| 数据类型 | 连续、有序与二值数据，相关类型自动选择<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup> |
| 有序数据准确率（2024） | 在所有模拟条件下平均准确率为 71.0%，平行分析为 54.5%<sup>[7](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1359111/full)</sup> |

## 工作原理

EGA 把数据集的各个变量视为网络中的节点。其步骤为：估计观测变量的相关矩阵，施加图套索（glasso）以获得稀疏的逆协方差矩阵，再对所得的偏相关网络运行 walktrap 算法，找出其中的稠密子图即社区。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> 识别出的簇的数目等于数据集中的潜在因子数目。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup>

正则化是使网络可解释的关键。即便两个变量条件独立，由于抽样波动，其估计偏相关也并不为零，因此原始偏相关中含有虚假边。套索把小偏相关系数收缩到恰好为零，表示条件独立，从而剔除这些虚假相关。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> 稀疏性参数 \( \lambda \) 的选取遵循福伊格尔与德尔顿（2010）的做法，在 \( \lambda_{\mathrm{Max}} \) 与 \( \lambda_{\mathrm{Max}}/100 \) 之间取 100 个对数等距的值，使扩展贝叶斯信息准则（EBIC；陈与陈，2008）最小化。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup><sup> • </sup><sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup>

随后，社区检测从网络中读出维度计数。默认的 walktrap 基于随机游走度量顶点之间的相似性，而随机游走能够捕捉图的社区结构。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup><sup> • </sup><sup>[8](https://r-ega.net/articles/research/Christensen%20et%20al.%20-%202023%20-%20Comparing%20community%20detection%20algorithms%20in%20psycho.pdf)</sup> 载荷于同一潜在因子上的变量，在虚假边被剔除后往往形成一个连接稠密的子图，因此每个社区对应一个维度。

## 操作步骤

EGAnet 包中的 `EGA()` 函数接受原始数据或相关矩阵（样本量通过 `n` 参数提供），默认使用 glasso 模型。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> 当 `corr = "auto"` 时，函数对连续数据计算皮尔逊相关，对有序数据计算多分格相关，对二值数据计算四分格相关，对混合数据计算多系列或二系列相关。<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup> 模型选项有 "BGGM"、"glasso" 和 "TMFG"；算法选项有 "leiden"、"louvain" 和 "walktrap"。<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup>

在标准实现中，EBICglasso 的 gamma 超参数设为 0.5。若所得网络含有不连通的节点，则把 gamma 降至 0.25，如此反复，直至所有节点连通或 gamma 降至零，此时 EBIC 等于常规 BIC。只含单个节点的簇会被剔除；这一改动使结果比原先 0.5 的默认值更为稳定。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> 维度检测使用 walktrap，默认步数为 4<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup>，并施加基于戈利诺等（2020）与克里斯滕森（2023）的单维性检验。<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup>

输出包括：估计出的网络、社区归属向量 `wc`（不连通节点记为 NA）、给出维度总数的标量 `n.dim`、`dim.variables` 分配、零阶相关矩阵、有序的题目分配矩阵、用于模型比较的总熵拟合指数（TEFI），以及一张图。<sup>[4](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)</sup><sup> • </sup><sup>[9](https://r-ega.net/workflows/ega.html)</sup>

## 起源

EGA 由哈德森·F. 戈利诺与萨沙·埃普斯坎普于 2017 年在 PLOS ONE 上提出，论文题为《探索性图分析：估计心理学研究中维度数目的一种新方法》。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> 一篇发表于《Intelligence》（第 62 卷，第 54–70 页）的姊妹论文把 EGA 应用于类智力数据，将该方法定位于网络心理测量学之中，并随文发布了一个包含三个主要函数 EGA、bootEGA 和 CFA 的 R 包，可从 GitHub 安装。<sup>[3](https://www.academyofcyprus.cy/wp-content/uploads/2021/03/GOLINO_DEMETRIOU_EGA_INTELL_2017.pdf)</sup> EGA 是作为在埃普斯坎普、马里斯、瓦尔多普与博尔斯布姆所关联的网络心理测量学框架内识别心理数据维度的一种途径而实现的。<sup>[8](https://r-ega.net/articles/research/Christensen%20et%20al.%20-%202023%20-%20Comparing%20community%20detection%20algorithms%20in%20psycho.pdf)</sup>

原始算法之后有两项改进。戈利诺等（2020b）加入了单维性调整，使 walktrap 能够检测单维结构<sup>[8](https://r-ega.net/articles/research/Christensen%20et%20al.%20-%202023%20-%20Comparing%20community%20detection%20algorithms%20in%20psycho.pdf)</sup>；另一项校正则防止 walktrap 对单簇解施加惩罚。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC9386885/)</sup> 克里斯滕森与戈利诺（2021）在《Psych》上发表了关于 bootEGA（用于稳定性评估的自助法扩展）的蒙特卡洛模拟与教程。<sup>[10](https://doi.org/10.3390/psych3030032)</sup>

## 变体

**bootEGA** 使用参数化（默认）或重抽样程序评估经验 EGA 解的稳定性，默认迭代 500 次。其图展示各次自助抽样间两两偏相关的中位数网络结构，并对该中位数网络施加 walktrap。<sup>[9](https://r-ega.net/workflows/ega.html)</sup> 它量化题目稳定性（某题目在其指定维度中复现的频率）与结构一致性（某维度被精确复现的频率），并把不稳定性诊断为错分（题目被放入错误维度）、多维性（题目同属多个维度）或题目冗余（语义内容相似）。<sup>[10](https://doi.org/10.3390/psych3030032)</sup>

**EGAtmfg** 用三角最大化过滤图方法估计的网络替代 glasso 网络；在模拟中其表现与 EGA 和平行分析相当。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> 单维扩展则处理原始 walktrap 程序无法检测的单因子结构。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup>

**层次 EGA（hierEGA）** 无需研究者手动输入即可检测层次结构，如高阶构念。<sup>[11](https://link.springer.com/chapter/10.1007/978-3-031-95365-1_13)</sup> **动态 EGA（dynEGA）** 在个体、群体与总体层面上估计多变量时间序列与密集纵向数据中的动态社区。<sup>[11](https://link.springer.com/chapter/10.1007/978-3-031-95365-1_13)</sup><sup> • </sup><sup>[12](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGAnet-package.html)</sup> 该包还实现了熵拟合指数系列，以及唯一变量分析——一种检测题目间局部依赖的网络心理测量学方法。<sup>[12](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGAnet-package.html)</sup><sup> • </sup><sup>[13](https://doi.org/10.31234/osf.io/4kra2)</sup>

## 应用

有文献记载的应用包括类智力数据<sup>[3](https://www.academyofcyprus.cy/wp-content/uploads/2021/03/GOLINO_DEMETRIOU_EGA_INTELL_2017.pdf)</sup>，以及老龄化研究——该领域需要对多种量表、问卷和测验进行维度评估。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup>

## 局限与替代方法

EGA 的主要失效模式是因子数低估。在 2024 年的有序数据模拟中，它在 27.6% 的情形下低估因子数，平行分析则为 44.8%；两者的高估都很少见（EGA 为 1.3%，平行分析为 0.7%）。<sup>[7](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1359111/full)</sup> 偏态的题目分布明显降低了两种方法的准确率，在复杂情形中尤为如此。<sup>[7](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1359111/full)</sup> 对于因子结构较简单、较强的数据集——具体而言即单因子、主载荷高、交叉载荷低、因子间相关低至中等——建议选用平行分析；而在多因子、因子间相关高、载荷低至中等的复杂情形中，EGA 优于平行分析。<sup>[7](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1359111/full)</sup>

在最初的模拟中，当因子间相关为 .70、样本量为 5,000 个观测时，EGA 在四因子结构上达到 100% 的准确率。<sup>[2](https://doi.org/10.1371/journal.pone.0174035)</sup> 后来一项涵盖连续与二分数据、单维与多维结构的大规模模拟发现，EGA 与 EGAtmfg 的表现与平行分析相当，并在所有受评估方法中呈现出最好的大样本性质。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup> walktrap 仍是默认选项，但其他社区检测算法可能同样有效甚至更有效，替代的网络估计方法也已通过蒙特卡洛模拟加以考察。<sup>[8](https://r-ega.net/articles/research/Christensen%20et%20al.%20-%202023%20-%20Comparing%20community%20detection%20algorithms%20in%20psycho.pdf)</sup> 相较于某些传统技术的一项实际优势是，该算法是确定性的，意味着研究者的自由度更少。<sup>[5](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)</sup>

## References

1. [Exploratory Graph Analysis for Factor Retention: Simulation Results for Continuous and Binary Data](https://pmc.ncbi.nlm.nih.gov/articles/PMC9386885/)
2. [Hudson F. Golino, Sacha Epskamp (2017). Exploratory graph analysis: A new approach for estimating the number of dimensions in psychological research. PLoS ONE.](https://doi.org/10.1371/journal.pone.0174035)
3. [Estimating the dimensionality of intelligence like data using Exploratory Graph Analysis](https://www.academyofcyprus.cy/wp-content/uploads/2021/03/GOLINO_DEMETRIOU_EGA_INTELL_2017.pdf)
4. [R: Exploratory Graph Analysis (EGA function documentation)](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGA.html)
5. [Investigating the performance of Exploratory Graph analysis and traditional techniques to identify the number of latent factors: a simulation and tutorial](https://pmc.ncbi.nlm.nih.gov/articles/PMC7244378/)
6. [EGAnet: Exploratory Graph Analysis – a Framework for Estimating the Number of Dimensions in Multivariate Data using Network Psychometrics](https://cran.r-project.org/web/packages/EGAnet/EGAnet.pdf)
7. [Dimensionality assessment in ordinal data: a comparison between parallel analysis and exploratory graph analysis](https://www.frontiersin.org/journals/psychology/articles/10.3389/fpsyg.2024.1359111/full)
8. [Comparing community detection algorithms in psychometric networks: A Monte Carlo simulation](https://r-ega.net/articles/research/Christensen%20et%20al.%20-%202023%20-%20Comparing%20community%20detection%20algorithms%20in%20psycho.pdf)
9. [Exploratory Graph Analysis, EGAnet (official workflow documentation)](https://r-ega.net/workflows/ega.html)
10. [Alexander P. Christensen, Hudson Golino (2021). Estimating the Stability of Psychological Dimensions via Bootstrap Exploratory Graph Analysis: A Monte Carlo Simulation and Tutorial. Psych.](https://doi.org/10.3390/psych3030032)
11. [The Advanced Applications of Psychological Networks with Exploratory Graph Analysis](https://link.springer.com/chapter/10.1007/978-3-031-95365-1_13)
12. [R: EGAnet-package overview](https://search.r-project.org/CRAN/refmans/EGAnet/html/EGAnet-package.html)
13. [Alexander P. Christensen, Luis Eduardo Garrido, Hudson Golino (2020). Unique variable analysis: A network psychometrics method to detect local dependence. .](https://doi.org/10.31234/osf.io/4kra2)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/exploratory-graph-analysis

English original: https://www.edgepedia.org/exploratory-graph-analysis
