# 方差膨胀因子

**方差膨胀因子**（variance inflation factor，VIF）是回归分析中的一种诊断统计量，用来衡量自变量之间的多重共线性相对于该预测变量与其他变量不相关时的情形，会在多大程度上膨胀某个估计回归系数的方差。对于预测变量 \( X_{j} \)，VIF 由辅助回归的决定系数 \( R_{j}^{2} \) 计算，该辅助回归将 \( X_{j} \) 对其余所有预测变量进行回归：

\[ \mathrm{VIF}_{j} = \frac{1}{1 - R_{j}^{2}} \]

其倒数 \( 1 - R_{j}^{2} \) 称为**容忍度**。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup>

| 关键事实 | 详情 |
|---|---|
| 公式 | \( \mathrm{VIF}_{j} = 1/(1 - R_{j}^{2}) \)，其中 \( R_{j}^{2} \) 来自将 \( X_{j} \) 对其余预测变量进行回归<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup> |
| 取值范围 | 当 \( R_{j} = 0 \) 时最小值为 1；当 \( R_{j}^{2} \) 趋近于 1（完全多重共线性）时无上界增长<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup> |
| 常用阈值 | VIF 高于 10（内特（Neter）、沃瑟曼（Wasserman）和库特纳（Kutner））或高于 5 至 10（容忍度低于 0.1 至 0.2），被视为可能存在多重共线性的迹象<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup> |
| 衡量内容 | 第 \( j \) 个系数的方差是其在正交情形下方差的多少倍；其平方根给出标准误膨胀因子<sup>[3](https://www.researchgate.net/publication/226005307_A_Caution_Regarding_Rules_of_Thumb_for_Variance_Inflation_Factors)</sup> |
| 术语来源 | 唐纳德·W·马夸特（Donald W. Marquardt）在 1970 年发表于《技术计量学》（Technometrics）的一篇关于岭回归与广义逆的论文中，引入了“参数方差膨胀因子”这一术语<sup>[4](https://garfield.library.upenn.edu/classics1983/A1983QE68900001.pdf)</sup> |
| 软件 | 可在 R 包中获取，例如 car（函数 `vif`，包括广义 VIF），也可在 Python 的 statsmodels 中获取（`variance_inflation_factor`）<sup>[5](https://search.r-project.org/CRAN/refmans/car/html/vif.html)</sup><sup> • </sup><sup>[6](https://www.statsmodels.org/dev/generated/statsmodels.stats.outliers_influence.variance_inflation_factor.html)</sup> |
| 主要批评 | 方法论学者认为固定阈值是武断的，VIF 值为 10、20、40 甚至更高本身并不使一项分析失效<sup>[3](https://www.researchgate.net/publication/226005307_A_Caution_Regarding_Rules_of_Thumb_for_Variance_Inflation_Factors)</sup> |

## 什么是多重共线性，以及它为何重要

当设计矩阵 \( X \) 的各列相互依赖时，即当一个预测变量接近其他变量的线性组合时，就存在多重共线性。其统计后果是不精确：数据中的微小变化可能使估计的回归系数发生很大变化，而某个系数的方差会按 \( 1/(1 - R_{j}^{2}) \) 的比例增长。当 \( R_{j}^{2} = 0 \) 时，该系数的方差最小；当 \( R_{j}^{2} = 1 \)，即完全多重共线性时，方差为无穷大，该系数根本无法估计。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup>

方差的膨胀会提高系数的标准误，从而拓宽其置信区间并缩小其 t 统计量，因此一个真正重要的预测变量可能看起来在统计上不显著。预测变量之间的两两相关可以从相关矩阵中读出，但相关矩阵不能揭示同时涉及多个变量的高阶共线性；VIF 由每个预测变量与其余所有变量的多重相关构建，因此能够揭示这种共线性。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup>

## 计算

每个 VIF 都需要一次辅助回归：将预测变量 \( X_{j} \) 对其余 \( q - 1 \) 个预测变量（若设计矩阵包含截距，则为 \( q - 2 \) 个）进行回归，该回归的 \( R^{2} \) 进入公式。实践中不必分别运行这些回归：这些值可以从逆相关矩阵的对角线计算，其元素就是 VIF；也可以从“捕捉矩阵”（catcher matrix）\( X(X'X)^{-1} \) 计算。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC2811235/)</sup>

缩放设计矩阵的条件指数是主要的替代诊断方法；条件指数 5 至 10、30 至 100 以及高于 100，分别被描述为提示弱依赖、中等至强依赖和严重依赖。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC2811235/)</sup>

## 解读数值

由于 VIF 是方差之比，其平方根有直接的含义：VIF 为 4 意味着该系数的标准误是预测变量不相关时的两倍；VIF 为 10 意味着标准误约为预测变量不相关时的 3.2 倍。<sup>[3](https://www.researchgate.net/publication/226005307_A_Caution_Regarding_Rules_of_Thumb_for_Variance_Inflation_Factors)</sup>

**经验法则。** 教科书和软件通常引用一些阈值：内特、沃瑟曼和库特纳建议检查最大的 VIF，并将高于 10 的值视为可能存在多重共线性问题的迹象；其他来源使用 VIF 高于 5，或容忍度低于 0.20，作为需要仔细检查的水平。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)</sup><sup> • </sup><sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC6713981/)</sup>

俄勒冈大学（University of Oregon）社会学家罗伯特·M·奥布莱恩（Robert M. O'Brien）于 2007 年发表了一篇对这些截断值的有影响力的批评。他认为，阈值必须在影响系数方差的其他因素背景下评估，例如样本量和残差方差；VIF 值为 10、20、40 甚至更高，本身并不使回归结果失效、不要求删除变量，也不要求采用岭回归；他警告说，标准补救措施可能造成比它们所解决的问题更严重的问题。<sup>[3](https://www.researchgate.net/publication/226005307_A_Caution_Regarding_Rules_of_Thumb_for_Variance_Inflation_Factors)</sup> 2026 年发表的一项模拟研究支持了样本量这一点：在 \( N = 100 \) 时，即使轻微共线性（VIF 低于 2）也会膨胀平均绝对误差并降低检验效能；而在 \( N \geq 50{,}000 \) 时，即使 VIF = 50，估计仍然稳健；然而，固定的 VIF 截断值常常被统一应用于样本量差异很大的研究。<sup>[9](https://arxiv.org/abs/2601.18072)</sup>

## 批评与提出的替代方案

爱荷华大学（University of Iowa）的阿图尔斯·卡尔宁斯（Arturs Kalnins）和肯德尔·普雷蒂斯·希尔（Kendall Praitis Hill）在 2025 年的一篇论文中走得更远，认为将 VIF 分数用作阈值诊断具有误导性。他们的分析表明，一个遗漏了与已纳入预测变量相关的、本应纳入的变量的回归，可能遭受多重共线性所膨胀的偏倚和系数极化，同时仍显示较低的 VIF 分数；而遗漏变量会明确降低 VIF 分数。他们记录了这种做法已变得多么普遍：在谷歌学术（Google Scholar）提及多重共线性的 473,000 篇论文中，有 175,000 篇（37%）也提及 VIF；这一比例从 2010 年多重共线性论文的 28% 上升到 2022 年的 78%。他们建议转而依赖双变量相关和理论一致性。<sup>[10](https://journals.sagepub.com/doi/full/10.1177/10944281231216381)</sup>

其他改进针对特定弱点。重新定义的 VIF（TVIF）纳入了样本量和扰动项的方差，因为这些因素可能产生高 VIF 值，而普通最小二乘估计量的方差并无问题。<sup>[11](https://arxiv.org/abs/2005.02245)</sup> 对于含交互项的模型，由未中心化变量计算出的 VIF 可能高得毫无意义，因为一个变量会与包含它的交互项强烈相关；罗宾逊（Robinson）和舒马克（Schumacker）发现，在考察交互效应时必须对变量进行中心化，而未中心化变量会膨胀 VIF 值。<sup>[12](https://ojs.lib.ua.edu/glmj/article/view/249)</sup> 对于具有一个以上自由度的项，例如分类预测变量，约克大学（York University）的约翰·福克斯（John Fox）和乔治·莫内特（Georges Monette）于 1992 年提出了广义方差膨胀因子（GVIF），可解释为该项系数的置信椭球的膨胀；R 中的 car 包会计算它，并用 \( \mathrm{GVIF}^{1/(2 \cdot df)} \) 进行调整，以便在不同项之间比较。<sup>[5](https://search.r-project.org/CRAN/refmans/car/html/vif.html)</sup><sup> • </sup><sup>[13](https://www.tandfonline.com/doi/abs/10.1080/01621459.1992.10475190)</sup>

## 高 VIF 的补救措施

对检测到的多重共线性的标准应对措施包括：从拟合中删除一个或多个预测变量、主成分回归，以及通过奇异值分解计算回归。<sup>[1](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)</sup> 岭回归是一种有偏估计技术，自马夸特 1970 年的工作以来就与 VIF 相关联，是另一种选择。<sup>[4](https://garfield.library.upenn.edu/classics1983/A1983QE68900001.pdf)</sup>

## References

1. [Variance Inflation Factors, NIST Dataplot Reference Manual](https://www.itl.nist.gov/div898/software/dataplot/refman2/auxillar/vif.htm)
2. [Multicollinearity and misleading statistical results, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC6900425/)
3. [Robert M. O'Brien (2007). A Caution Regarding Rules of Thumb for Variance Inflation Factors. Quality & Quantity 41(5):673–690.](https://www.researchgate.net/publication/226005307_A_Caution_Regarding_Rules_of_Thumb_for_Variance_Inflation_Factors)
4. [Marquardt D W (1970). Generalized inverses, ridge regression, biased linear estimation, and nonlinear estimation. Technometrics 12:591–612; Citation Classic commentary.](https://garfield.library.upenn.edu/classics1983/A1983QE68900001.pdf)
5. [vif {car}, R Documentation](https://search.r-project.org/CRAN/refmans/car/html/vif.html)
6. [statsmodels.stats.outliers_influence.variance_inflation_factor, statsmodels documentation](https://www.statsmodels.org/dev/generated/statsmodels.stats.outliers_influence.variance_inflation_factor.html)
7. [Real Longitudinal Data Analysis for Real People, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC2811235/)
8. [Evaluation of Variance Inflation Factors in Regression Models Using Latent Variable Modeling Methods, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC6713981/)
9. [The effect of collinearity and sample size on linear regression results: a simulation study, arXiv](https://arxiv.org/abs/2601.18072)
10. [Kalnins, A., & Hill, K. P. (2025). The VIF Score. What is it Good For? Absolutely Nothing.](https://journals.sagepub.com/doi/full/10.1177/10944281231216381)
11. [Overcoming the inconsistences of the variance inflation factor: a redefined VIF and a test to detect statistical troubling multicollinearity, arXiv](https://arxiv.org/abs/2005.02245)
12. [Robinson, C., & Schumacker, R. E. (2009). Interaction Effects: Centering, Variance Inflation Factor, and Interpretation Issues. General Linear Model Journal 35(1).](https://ojs.lib.ua.edu/glmj/article/view/249)
13. [Fox, J., & Monette, G. (1992). Generalized Collinearity Diagnostics. Journal of the American Statistical Association 87(417).](https://www.tandfonline.com/doi/abs/10.1080/01621459.1992.10475190)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Regression analysis

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/variance-inflation-factor

English original: https://www.edgepedia.org/variance-inflation-factor
