# 沃尔德检验

沃尔德检验是一种关于模型参数的渐近统计检验，其构造方式是：度量参数（或参数的函数）的无约束最大似然估计值偏离原假设所指定值的程度，并以该估计的方差为尺度进行标准化。它由匈牙利裔美国数学家、统计学家亚伯拉罕·沃尔德（Abraham Wald）提出，发表于1943年美国数学学会专著《当观测次数很大时关于若干参数的统计假设检验》<sup>[1](https://books.google.com/books/about/Tests_of_Statistical_Hypotheses_Concerni.html?id=igL7xgYxsJEC)</sup>。它与似然比检验和拉奥得分检验（也称拉格朗日乘子检验）一起，构成了基于大样本似然的标准三件套<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup>。

| 关键事实 | 详情 |
|---|---|
| 起源 | 亚伯拉罕·沃尔德，《当观测次数很大时关于若干参数的统计假设检验》，美国数学学会，1943年，57页<sup>[1](https://books.google.com/books/about/Tests_of_Statistical_Hypotheses_Concerni.html?id=igL7xgYxsJEC)</sup> |
| 统计量（一般形式） | \( W = r' (R V R')^{-1} r \)，其中 \( r \) 是在无约束最大似然估计处求值的约束函数，\( R \) 为其雅可比矩阵，\( V \) 为估计的协方差矩阵<sup>[3](https://www.mathworks.com/help/econ/model-comparison-tests.html)</sup> |
| 原假设下的分布 | 在 \( H_0 \) 下，\( W_n \xrightarrow{d} \chi^2_q \)，其中 \( q \) 为约束个数；该分布不依赖于所估计的参数个数<sup>[4](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)</sup> |
| 数据要求 | 只需拟合无约束模型（外加一个协方差估计）；似然比检验需要两个模型，得分检验只需约束模型<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup><sup> • </sup><sup>[3](https://www.mathworks.com/help/econ/model-comparison-tests.html)</sup> |
| 线性模型中的排序 | 三个检验统计量满足沃尔德 ≥ 似然比 ≥ 得分（Johnston and DiNardo 1997, p. 150）<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup> |
| 已知弱点 | 在重参数化下不具有不变性，小样本中不准确，且在参数空间边界附近受豪克-唐纳效应影响<sup>[5](https://arxiv.org/abs/2001.08431)</sup> |
| 典型用途 | 回归摘要中的系数p值，以及对虚拟变量集合的多自由度检验<sup>[6](https://www.datacamp.com/tutorial/likelihood-ratio)</sup><sup> • </sup><sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup> |

## 统计量是如何构造的

假设一个模型在无任何约束下通过最大似然拟合，得到估计 \( \hat{\theta} \) 及其估计协方差矩阵 \( \hat{V} \)。原假设通过约束函数 \( h(\theta) \) 对参数施加限制，在 \( H_0 \) 下 \( h(\theta_0) = 0 \)。记 \( \hat{\theta} = h(\hat{\theta}) \)、\( \hat{V}_{\theta} = \hat{H}' \hat{V} \hat{H} \)，其中 \( \hat{H} \) 是 \( h \) 在 \( \hat{\theta} \) 处求值的雅可比矩阵，则沃尔德统计量为<sup>[4](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)</sup>

\[ W_n = n \left( \hat{\theta} - \theta_0 \right)' \hat{V}_{\theta}^{-1} \left( \hat{\theta} - \theta_0 \right). \]

对于线性约束 \( h(\beta) = R'\beta \)，这变为 \( W_n = n (R'\hat{\beta} - \theta_0)' (R'\hat{V}R)^{-1} (R'\hat{\beta} - \theta_0) \)<sup>[4](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)</sup>。在MATLAB文档的等价记号中，\( W = r'(RVR')^{-1} r \)，其中 \( r \) 是在无约束最大似然估计处求值的约束<sup>[3](https://www.mathworks.com/help/econ/model-comparison-tests.html)</sup>。

在原假设和标准正则性假设下，\( W_n \) 依分布收敛于自由度为 \( q \) 的卡方随机变量，其中 \( q \) 为待检验的约束个数。当 \( W_n \) 超过 \( \chi^2_q \) 的上 \( \alpha \) 分位数时，检验拒绝 \( H_0 \)；对于单个约束在5%水平下，该临界值为3.84，即2.5%正态分位数的平方<sup>[4](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)</sup>。渐近分布只依赖于 \( q \)，而不依赖于所估计的参数个数 \( k \)<sup>[4](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)</sup>。

单参数情形退化为z统计量的平方。对于二项比例，\( Q_W = n(\hat{p} - p_0)^2 I(\hat{p}) \)，其中 \( I(p) = 1/(p(1-p)) \)，反演该检验即得熟悉的沃尔德置信区间 \( \hat{p} \pm \sqrt{\chi^2_{\alpha}/n \cdot \hat{p}(1-\hat{p})} \)<sup>[7](https://www.stat.purdue.edu/~dasgupta/testing.pdf)</sup>。

## 与似然比检验和得分检验的关系

对于嵌套模型，三种检验处理的是同一个问题：约束参数（通常是约束为零，即剔除预测变量）是否会显著降低模型拟合？它们的区别在于所需条件。似然比检验比较约束模型和无约束模型的最大化对数似然，因此两个模型都必须拟合。沃尔德检验只使用无约束拟合，考察估计值是否显著远离原假设值。得分检验只使用约束拟合，在约束估计处评估似然的斜率（得分）<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup>。三种视角的简洁表述：沃尔德看似然的峰顶，得分看原假设点，似然比看两者之间的高度差<sup>[8](https://metricgate.com/blogs/wald-vs-score-vs-lr-tests/)</sup>。

三个统计量渐近等价：随着样本量增大，它们的值趋于一致，且在原假设下各自服从自由度等于约束个数的 \( \chi^2 \) 分布<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup><sup> • </sup><sup>[3](https://www.mathworks.com/help/econ/model-comparison-tests.html)</sup>。在有限样本中它们则有差异。对于线性模型，统计量满足沃尔德 ≥ 似然比 ≥ 得分的排序，因此沃尔德检验倾向于最容易拒绝，得分检验最不容易拒绝<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup>。似然越不对称，三者分歧越大；差距大意味着有效样本量小，而似然比超过沃尔德往往表明边界附近存在豪克-唐纳效应，此时沃尔德统计量可能变得非单调，甚至随着反对原假设的证据增强反而减小<sup>[8](https://metricgate.com/blogs/wald-vs-score-vs-lr-tests/)</sup><sup> • </sup><sup>[22](https://academic.oup.com/aje/article/191/8/1508/6556182)</sup>。

高阶渐近理论细化了这一比较。Li（2001）证明，在 \( O(n^{-1}) \) 阶误差下，似然比、得分和沃尔德检验在原假设及局部备择假设下的分布对冗余参数变化的敏感程度相同<sup>[9](https://www.sciencedirect.com/science/article/abs/pii/S0378375800003451)</sup>。在非独立同分布设定下，Rao和Mukerjee（1997）展示了似然比检验在二阶局部最大最小性下的最优性质，以及得分检验在三阶局部平均功效下的最优性质<sup>[10](https://www.sciencedirect.com/science/article/pii/S0047259X96916450)</sup>。

## 实际优点与缺点

**计算便利性。** 沃尔德检验只需要参数估计及其（渐近）标准误，而每个回归输出都已提供这些；这就是软件摘要中的系数p值都是沃尔德检验的原因<sup>[11](https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/statug_glimmix_a0000001441.htm)</sup><sup> • </sup><sup>[6](https://www.datacamp.com/tutorial/likelihood-ratio)</sup>。它也是对代表分类预测变量的虚拟变量集合进行多自由度检验的标准工具<sup>[2](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)</sup>，而沃尔德型检验自然可推广到基于单个无约束估计量的线性与非线性约束<sup>[12](https://arxiv.org/abs/1312.0569)</sup>。

**小样本与不变性问题。** 沃尔德检验在重参数化下不具有不变性，而似然比和得分统计量具有不变性；其使用卡方临界值的有限样本第一类错误控制通常不如另外两种检验<sup>[5](https://arxiv.org/abs/2001.08431)</sup><sup> • </sup><sup>[13](https://ndl.ethernet.edu.et/bitstream/123456789/61932/1/265.pdf)</sup>。SAS文档指出，似然比检验渐近功效更高、更可靠，除非重新拟合模型不切实际，否则几乎总是更可取<sup>[11](https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/statug_glimmix_a0000001441.htm)</sup>。

**豪克-唐纳效应。** 豪克和唐纳于1977年证明，沃尔德检验在二项logit模型中关于单参数的假设下表现异常<sup>[14](https://www.jstor.org/stable/1402935)</sup>。该效应表现为：沃尔德统计量作为参数估计与原假设值之间距离的函数并非单调递增，导致p值向上偏倚、功效损失；真正很大的效应可能显得不显著，这在变量选择中尤其有害。它影响许多回归模型，对应于参数空间边界附近的估计；在2×2表中，一个必要条件是对数优势比至少为2<sup>[5](https://arxiv.org/abs/2001.08431)</sup>。

**特定设计中的不稳定性。** 一项针对匹配病例对照数据、使用相对优势函数混合模型的实证评估发现，似然比统计量在混合参数的合理取值范围内相对稳定，而沃尔德统计量不稳定，得分统计量则完全独立于混合参数<sup>[15](https://pubmed.ncbi.nlm.nih.gov/6534405/)</sup>。

**置信区间。** 反演沃尔德检验得到教科书式的沃尔德区间，对于二项比例即 \( \hat{p} \pm 1.96\sqrt{\hat{p}(1-\hat{p})/n} \)，当 \( \hat{p} \) 接近边界时可能延伸到0以下或1以上。Brown、Cai和DasGupta（2001）证明沃尔德区间的覆盖率极差，而得分区间和似然比区间表现好得多<sup>[7](https://www.stat.purdue.edu/~dasgupta/testing.pdf)</sup>。当似然偏斜时，推荐使用与似然比检验相呼应的轮廓似然区间而非沃尔德区间<sup>[8](https://metricgate.com/blogs/wald-vs-score-vs-lr-tests/)</sup>。

## 软件实现

沃尔德检验已内置于主要统计环境中。在R中，lmtest包的`waldtest`比较嵌套的线性模型和广义线性模型，报告渐近卡方统计量或有限样本F统计量，并接受用户提供的协方差估计量，如异方差稳健（HC）协方差矩阵<sup>[16](https://search.r-project.org/CRAN/refmans/lmtest/html/waldtest.html)</sup>。car包的`Anova`为广义线性模型和混合模型计算沃尔德卡方检验，作为似然比检验的替代<sup>[17](https://search.r-project.org/CRAN/refmans/car/help/Anova.html)</sup>；robust和robustbase包中提供了稳健变体，它们基于稳健的系数和协方差估计进行沃尔德检验<sup>[18](https://search.r-project.org/CRAN/refmans/robust/html/anova.lmRob.html)</sup><sup> • </sup><sup>[19](https://search.r-project.org/CRAN/refmans/robustbase/html/anova.lmrob.html)</sup>。在Python中，statsmodels为拟合模型的联合线性假设提供`wald_test`，可选择使用F分布代替卡方<sup>[20](https://www.statsmodels.org/v0.10.2/generated/statsmodels.regression.linear_model.OLSResults.wald_test.html)</sup>。MATLAB的Econometrics Toolbox提供`waldtest`，与`lratiotest`和`lmtest`并列<sup>[3](https://www.mathworks.com/help/econ/model-comparison-tests.html)</sup>。

小样本校正仍是一个活跃的改进方向：针对通过最大似然拟合的潜变量模型中的沃尔德检验，两种校正方法经模拟（使用两项已发表脑成像研究的数据）证明比未校正检验具有更好的第一类错误控制，代价是对某些参数偏保守<sup>[21](https://arxiv.org/abs/2002.02272)</sup>。

## References

1. [Abraham Wald (1943). Tests of Statistical Hypotheses Concerning Several Parameters when the Number of Observations is Large. American Mathematical Society.](https://books.google.com/books/about/Tests_of_Statistical_Hypotheses_Concerni.html?id=igL7xgYxsJEC)
2. [FAQ: How are the likelihood ratio, Wald, and Lagrange multiplier (score) tests different and/or similar? UCLA OARC Stats](https://stats.oarc.ucla.edu/other/mult-pkg/faq/general/faqhow-are-the-likelihood-ratio-wald-and-lagrange-multiplier-score-tests-different-andor-similar/)
3. [Model Comparison Tests, MATLAB & Simulink, MathWorks](https://www.mathworks.com/help/econ/model-comparison-tests.html)
4. [Bruce Hansen. Econometrics, Chapter 6.3: Wald Tests.](https://users.ssc.wisc.edu/~xshi/Econometrics_Hansen.pdf)
5. [Thomas William Yee (2020). On the Hauck-Donner Effect in Wald Tests: Detection, Tipping Points, and Parameter Space Characterization. arXiv.](https://arxiv.org/abs/2001.08431)
6. [Likelihood Ratio: A Measure of Statistical Evidence, DataCamp](https://www.datacamp.com/tutorial/likelihood-ratio)
7. [A. DasGupta. Likelihood-Based Tests and Confidence Regions (course notes), Purdue University.](https://www.stat.purdue.edu/~dasgupta/testing.pdf)
8. [Wald vs Score vs Likelihood-Ratio Tests, MetricGate](https://metricgate.com/blogs/wald-vs-score-vs-lr-tests/)
9. [Bing Li (2001). Sensitivity of Rao's score test, the Wald test and the likelihood ratio test to nuisance parameters. Journal of Statistical Planning and Inference 97(1):57-66.](https://www.sciencedirect.com/science/article/abs/pii/S0378375800003451)
10. [C. Radhakrishna Rao, Rahul Mukerjee (1997). Comparison of LR, Score, and Wald Tests in a Non-IID Setting. Journal of Multivariate Analysis 60(1):99-110.](https://www.sciencedirect.com/science/article/pii/S0047259X96916450)
11. [PROC GLIMMIX: Wald Versus Likelihood Ratio Tests, SAS/STAT 9.22 User's Guide](https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/statug_glimmix_a0000001441.htm)
12. [Wald tests when restrictions are locally singular. arXiv.](https://arxiv.org/abs/1312.0569)
13. [Likelihood-Based Tests and Confidence Regions (textbook chapter PDF)](https://ndl.ethernet.edu.et/bitstream/123456789/61932/1/265.pdf)
14. [On the Use of Wald's Test in Exponential Families, JSTOR](https://www.jstor.org/stable/1402935)
15. [E. D. Lustbader, S. H. Moolgavkar, D. J. Venzon (1984). Tests of the null hypothesis in case-control studies. Biometrics 40(4):1017-24.](https://pubmed.ncbi.nlm.nih.gov/6534405/)
16. [R: Wald Test of Nested Models (waldtest, lmtest package)](https://search.r-project.org/CRAN/refmans/lmtest/html/waldtest.html)
17. [R: Anova Tables for Various Statistical Models (car package)](https://search.r-project.org/CRAN/refmans/car/help/Anova.html)
18. [R: ANOVA for Robust Linear Model Fits (robust package)](https://search.r-project.org/CRAN/refmans/robust/html/anova.lmRob.html)
19. [R: Analysis of Robust Deviances for lmrob Objects (robustbase package)](https://search.r-project.org/CRAN/refmans/robustbase/html/anova.lmrob.html)
20. [statsmodels: OLSResults.wald_test documentation](https://www.statsmodels.org/v0.10.2/generated/statsmodels.regression.linear_model.OLSResults.wald_test.html)
21. [Small sample corrections for Wald tests in Latent Variable Models. arXiv.](https://arxiv.org/abs/2002.02272)
22. [academic.oup.com](https://academic.oup.com/aje/article/191/8/1508/6556182)

---
*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 › Hypothesis testing

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/wald-test

English original: https://www.edgepedia.org/wald-test
