# 估计方程

估计方程是一个关于未知参数的方程，其解被取作参数估计；它推广了最大似然，后者的方程是对数似然的梯度设为零。<sup>[1](https://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/EstimatingEquations.pdf)</sup> 这一框架之所以重要，是因为一个有效的估计方程可以仅由数据的一阶矩（至多二阶矩）构造，无需完整的概率模型，而推断随后依赖于均值设定，而非正确的似然。<sup>[2](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)</sup><sup> • </sup><sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 广义估计方程（GEE）将这一思想应用于纵向数据和聚类数据，并帮助其在生物统计学中流行起来。<sup>[2](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)</sup>

| 关键事实 | 取值或陈述 |
|---|---|
| 定义方程 | \( U_n(X, \theta) = 0 \)；对于最大似然，\( U_n = \partial_{\theta} L_n \)，即对数似然梯度<sup>[1](https://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/EstimatingEquations.pdf)</sup> |
| 拟得分 | \( U(\beta) = D^{T} V^{-1}\{Y - \mu\}/\alpha \)，其中 \( \mathrm{E}[U(\beta)] = 0 \) 且 \( \mathrm{cov}\{U(\beta)\} = D^{T} V^{-1} D/\alpha \)<sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup> |
| 方差估计量 | 三明治 \( V(\theta_0) = A(\theta_0)^{-1} B(\theta_0)\{A(\theta_0)^{-1}\}^{T} \)，在模型错误设定下有效<sup>[2](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)</sup> |
| 相合性的稳健性 | 拟得分关于 \( y \) 是线性的，因此仅在 \( \mathrm{E}(Y) = \mu(\beta) \) 下即无偏；即使工作协方差错误，相合性仍然成立<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> |
| 渐近分布 | 对于正确设定的最大似然，\( \sqrt{n}(\hat{\theta}_n - \theta_0) \to_d N(0, I_0^{-1}) \)<sup>[1](https://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/EstimatingEquations.pdf)</sup> |
| 效率示例 | 在工作独立下，聚类大小为1至8且真实相关为可交换相关时，相对效率降至0.82<sup>[5](https://doi.org/10.1093/biomet/73.1.13)</sup> |

## 工作原理

估计函数 \( U_n(X, \theta) \) 是数据和参数的函数，其根即为估计量。在诸如 \( a_n U_n(\theta_0) \to_p 0 \) 和 \( a_n U'_n(\theta_0) \to_p \Gamma \) 非奇异等条件下，存在相合根且渐近正态；对于具有受控导数的一维独立同分布最大似然，\( a_n = 1/n \) 且 \( \Gamma = -I(\theta_0) \)，因为得分的期望导数为负，从而给出 \( \sqrt{n}(\hat{\theta}_n - \theta_0) \to_d N(0, I_0^{-1}) \)。<sup>[1](https://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/EstimatingEquations.pdf)</sup>

只需要前两阶矩。拟得分 \( U(\beta) = D^{T} V^{-1}\{Y - \mu\}/\alpha \) 关于 \( y \) 是线性的，因此只要均值模型 \( \mathrm{E}(Y) = \mu(\beta) \) 成立，即使工作协方差 \( V(\mu) \) 错误，它也是无偏的；此时根是相合的。<sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup><sup> • </sup><sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 如果存在一个线性指数族模型，满足 \( \mathrm{E}(Y) = \mu \) 且 \( \mathrm{cov}(Y) \propto V(\mu) \)，那么求解拟似然方程等价于求解该族的最大似然方程。<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

此类估计量的极限协方差是三明治矩阵 \( V(\theta_0) = A(\theta_0)^{-1} B(\theta_0)\{A(\theta_0)^{-1}\}^{T} \)，其中“肉” \( B \) 夹在“面包” \( A^{-1} \) 与其转置之间；当参数族正确时 \( A(\theta_0) = B(\theta_0) \)，但当它不正确时，推断应使用三明治，而不是 \( I(\theta_0)^{-1} \)。<sup>[2](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)</sup> 在拟似然记号中，同一对象是 \( (D^{T} V^{-1} D)^{-1} D^{T} V^{-1} \mathrm{cov}(Y) V^{-1} D (D^{T} V^{-1} D)^{-1} \)。<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 在所有来自线性无偏估计方程的估计量中，拟似然估计量具有最大的渐近精度；后来的工作确立了正交估计函数线性组合的最优性，扩展了拟似然方程。<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/science/article/abs/pii/S0378375898002274)</sup>

## 实施步骤

首先，通过连接函数和均值的方差函数指定均值模型 \( \mu(\beta) \)，可能相差一个尺度因子 \( \alpha \)。其次，构造拟得分 \( U(\beta) = D^{T} V^{-1}\{Y - \mu\}/\alpha \)。<sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup> 第三，用迭代重加权最小二乘求解，这是韦德伯恩（Wedderburn）和内尔德（Nelder）在1972年构建广义线性模型时使用的算法（当时称为迭代加权最小二乘）：初始化 \( \mu \)，计算线性预测子 \( \eta = g(\mu) \)，构造权重矩阵 \( W \)，用权重 \( W \) 对合成因变量 \( Z \) 关于模型设计矩阵进行加权回归，并迭代直到偏差变化低于容差。<sup>[7](https://api.taylorfrancis.com/content/books/mono/download?identifierName=doi&identifierValue=10.1201%2Fb13880&type=googlepdf)</sup> 第四，由经验三明治 \( V^n = A_n^{-1} B_n \{A_n^{-1}\}^{T} \) 计算稳健标准误，这除了指定得分之外不需要任何解析工作，其中 \( \mathrm{var}(Y) \) 用残差平方对角矩阵估计。<sup>[2](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)</sup><sup> • </sup><sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup>

对于聚类数据，GEE 使用 \( G(\beta, \alpha) = \sum_i D_i^{T} W_i^{-1}(Y_i - \mu_i) = 0 \)，其中工作协方差为 \( W_i(\alpha, \beta) \)，在求解 \( \beta \) 和估计 \( \alpha \) 之间交替；当工作相关矩阵为单位矩阵（\( R_i = I \)）时，GEE 退化为独立估计方程，不过求解 \( \beta \) 仍可能需要迭代，并且仍使用三明治估计。<sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup> 在工作独立下，边际线性回归的 GEE 估计量就是普通最小二乘估计量。<sup>[8](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)</sup>

## 起源

这一谱系有若干支脉。戈丹贝（Godambe）1960年发表在《数理统计年鉴》（The Annals of Mathematical Statistics）上的论文《正则最大似然估计的一个最优性质》引入了最优估计函数的概念。<sup>[9](https://doi.org/10.1214/aoms/1177705693)</sup> 韦德伯恩1974年发表在《生物计量学》（Biometrika）上的论文引入了拟似然，创造了这个名称，因为拟得分仅在二阶矩假设下就表现得像真实得分。<sup>[10](https://doi.org/10.1093/biomet/61.3.439)</sup><sup> • </sup><sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 广义估计方程由梁（Liang）和泽格（Zeger）1986年发表在《生物计量学》上的论文《使用广义线性模型的纵向数据分析》引入，将拟似然扩展到纵向和聚类数据；配套的泽格和梁1986年发表在《生物统计学》（Biometrics）上的论文《离散和连续结果的纵向数据分析》展示了应用。<sup>[11](https://doi.org/10.2307/2531248)</sup>

## 变体

GEE 将拟似然扩展到二阶矩不能完全由期望指定的情形，因此必须估计额外的相关参数；估计量及其方差的相合性仅取决于均值的正确设定，而不取决于工作相关矩阵。<sup>[11](https://doi.org/10.2307/2531248)</sup><sup> • </sup><sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 1986年的工作区分了独立估计方程和广义估计方程，后者跨受试者借力来估计工作相关矩阵，以获得更大的渐近效率。GEE 可视为 M 估计、拟似然和一般估计函数理论的特例。<sup>[8](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)</sup>

相关扩展包括多元离散和连续响应的均值与协方差的估计方程（普伦蒂斯（Prentice）和赵（Zhao），《生物统计学》，1991）以及聚类数据的扩展 GEE（霍尔（Hall）和塞韦里尼（Severini），《美国统计协会杂志》（Journal of the American Statistical Association），1998）。<sup>[12](https://doi.org/10.2307/2532642)</sup><sup>[13](https://doi.org/10.1080/01621459.1998.10473798)</sup> 二次推断函数（QIF）方法将工作相关矩阵的逆表示为基矩阵的线性组合（通常 \( m = 2 \) 或 3，例如对于可交换相关，\( R_i^{-1} = \alpha_1 I + \alpha_2 J \)），并最小化扩展得分方程的二次函数，类似于广义矩方法。<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC9782733/)</sup> GMM 本身来自汉森（Hansen）1982年发表在《计量经济学》（Econometrica）上的论文，是估计函数框架的一个特例。<sup>[15](https://doi.org/10.2307/1912775)</sup><sup> • </sup><sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC3262292/)</sup> 经验似然（秦（Qin）和劳利斯（Lawless），《统计年鉴》（The Annals of Statistics），1994）在类似然框架内处理一般估计方程，而贝拉（Bera）和比利阿斯（Bilias）2002年发表在《计量经济学杂志》（Journal of Econometrics）上的综合文章将矩方法、估计方程、最大似然、经验似然和 GMM 方法置于一个框架中。<sup>[17](https://doi.org/10.1214/aos/1176325370)</sup><sup> • </sup><sup>[18](https://doi.org/10.1016/s0304-4076%2801%2900113-0)</sup> 最近，由切尔诺茹科夫（Chernozhukov）及其同事2017年发表在《计量经济学刊》（Econometrics Journal）上的双重/去偏机器学习，通过将奈曼正交得分与交叉拟合相结合，对带有高维冗余参数的低维目标参数进行推断。<sup>[19](https://doi.org/10.1111/ectj.12097)</sup>

## 应用

广义线性模型是基本情况：对于指数族，拟似然估计与最大似然一致。<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 生物统计学中的纵向和聚类结果是 GEE 的标准场景，处理正态和非正态结果，例如泊松或二值数据。<sup>[20](https://onlinelibrary.wiley.com/doi/10.1002/sim.4780121807)</sup> 在计量经济学中，难以构建完全参数模型时，矩限制模型由 GMM 处理，这是一种估计方程方法，其中 \( q > p \) 个方程的过度识别情形将两阶段最小二乘作为特例包含在内。<sup>[21](http://www.econ.uiuc.edu/%7Eroger/courses/574/lectures/L14.pdf)</sup>

## 局限与替代方法

已有若干失败模式被记录。相合性并非自动成立：克劳德（Crowder）1986年发表在《计量经济理论》（Econometric Theory）上的论文建立了一个一般框架，其中来自估计方程 \( g_n(\theta) = 0 \) 的估计量不相合。<sup>[22](https://ideas.repec.org/a/cup/etheor/v2y1986i03p305-330_01.html)</sup> 工作相关的选择很重要：对于多元正态结果，只有当没有缺失观测且相关为非结构化时，GEE 才退化为最大似然得分方程；否则 GEE 给出相合估计量，但可能不同于 MLE。<sup>[20](https://onlinelibrary.wiley.com/doi/10.1002/sim.4780121807)</sup> 在一项糖尿病临床试验应用中，不同的工作相关结构导致关于处理效应的不同结论。<sup>[23](https://onlinelibrary.wiley.com/doi/10.1002/sim.962)</sup> GEE 通常通过求解加权残差估计方程而非最小化残差的单个二次型来估计回归参数，因此可能对重尾、污染分布和极端值敏感；在模拟中，它在纯正态数据下效率略高，但在污染下其效率下降得比稳健（截断）估计方程快得多。<sup>[23](https://onlinelibrary.wiley.com/doi/10.1002/sim.962)</sup><sup> • </sup><sup>[24](https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/statug_gee_details01.htm)</sup> 一项2024年的分析发现，对于任何工作相关结构，GEE、QIF 或 rQIF 都没有有界影响函数，并且工作相关的选择可能对性能产生惊人的大影响。<sup>[8](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)</sup>

拟似然估计在适度过度离散下保持高效率，但当工作 \( V(\mu) \) 正确时，稳健三明治协方差比基于模型的估计量效率低；GEE 还要求聚类数 \( m \) 足够大以进行渐近推断，而工作协方差远离真实协方差会损失效率。<sup>[3](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup><sup> • </sup><sup>[4](https://courses.washington.edu/b571/lectures/notes131-181.pdf)</sup>

与最大似然相比，估计方程不需要完整分布，但可能效率较低；与 M 估计相比，GEE 是 M 估计框架的特例。<sup>[8](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)</sup> 矩方法、经验似然和 GMM 都是基于矩的相关方法，由贝拉和比利阿斯在一个共同框架中处理。<sup>[18](https://doi.org/10.1016/s0304-4076%2801%2900113-0)</sup> 具体关于 QIF，已发表的论断存在分歧：一类工作报告称，当工作相关被错误设定时，QIF 比 GEE 提高效率，而当其正确时保持相同效率；<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC9782733/)</sup> 而2024年的分析发现，在错误设定下 QIF 和 GEE 估计量渐近不同，且 QIF 有时比 GEE 更有效，有时则不如。<sup>[8](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)</sup>

## References

1. [Estimating Equations and Maximum Likelihood asymptotics (textbook chapter)](https://dornsife.usc.edu/larry-goldstein/wp-content/uploads/sites/221/2023/06/EstimatingEquations.pdf)
2. [M-Estimation (Boos and Stefanski, NCSU repository)](https://repository.lib.ncsu.edu/server/api/core/bitstreams/40ad2126-511c-49e8-b15f-a02683725978/content)
3. [Quasi-likelihood review (Firth, 1993, Florence conference paper, University of Warwick)](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)
4. [Quasi-likelihood and generalized estimating equations (course notes, U. Washington)](https://courses.washington.edu/b571/lectures/notes131-181.pdf)
5. [Longitudinal data analysis using generalized linear models (Liang & Zeger, Biometrika 1986)](https://doi.org/10.1093/biomet/73.1.13)
6. [A generalised quasi-likelihood estimation (William and Durairajan, JSPI 1999)](https://www.sciencedirect.com/science/article/abs/pii/S0378375898002274)
7. [Generalized Estimating Equations (Hardin & Hilbe)](https://api.taylorfrancis.com/content/books/mono/download?identifierName=doi&identifierValue=10.1201%2Fb13880&type=googlepdf)
8. [The effect of the working correlation on fitting models to longitudinal data (Müller, Scandinavian Journal of Statistics, 2024)](https://research-management.mq.edu.au/ws/portalfiles/portal/340880271/Scandinavian_J_Statistics_2024_Muller_The_effect_of_the_working_correlation_on_fitting_models_to_longitudinal_data.pdf)
9. [V. P. Godambe (1960). An Optimum Property of Regular Maximum Likelihood Estimation. The Annals of Mathematical Statistics.](https://doi.org/10.1214/aoms/1177705693)
10. [R. W. M. WEDDERBURN (1974). Quasi-likelihood functions, generalized linear models, and the Gauss, Newton method. Biometrika.](https://doi.org/10.1093/biomet/61.3.439)
11. [Scott L. Zeger, Kung-Yee Liang (1986). Longitudinal Data Analysis for Discrete and Continuous Outcomes. Biometrics.](https://doi.org/10.2307/2531248)
12. [Ross L. Prentice, Lue Ping Zhao (1991). Estimating Equations for Parameters in Means and Covariances of Multivariate Discrete and Continuous Responses. Biometrics.](https://doi.org/10.2307/2532642)
13. [Daniel B. Hall, Thomas A. Severini (1998). Extended Generalized Estimating Equations for Clustered Data. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1998.10473798)
14. [A note on the estimation and inference with quadratic inference functions for correlated outcomes](https://pmc.ncbi.nlm.nih.gov/articles/PMC9782733/)
15. [Lars Peter Hansen (1982). Large Sample Properties of Generalized Method of Moments Estimators. Econometrica.](https://doi.org/10.2307/1912775)
16. [Estimating functions and the generalized method of moments (review)](https://pmc.ncbi.nlm.nih.gov/articles/PMC3262292/)
17. [Jin Qin, Jerry Lawless (1994). Empirical Likelihood and General Estimating Equations. The Annals of Statistics.](https://doi.org/10.1214/aos/1176325370)
18. [The MM, ME, ML, EL, EF and GMM approaches to estimation: a synthesis (Journal of Econometrics, 2002)](https://doi.org/10.1016/s0304-4076%2801%2900113-0)
19. [Victor Chernozhukov and colleagues (2017). Double/debiased machine learning for treatment and structural parameters. Econometrics Journal.](https://doi.org/10.1111/ectj.12097)
20. [A comparison of the generalized estimating equation approach with the maximum likelihood approach for repeated measurements (Park, 1993, Statistics in Medicine)](https://onlinelibrary.wiley.com/doi/10.1002/sim.4780121807)
21. [Lecture 14 'GEE-GMM' (University of Illinois econometrics course notes)](http://www.econ.uiuc.edu/%7Eroger/courses/574/lectures/L14.pdf)
22. [On Consistency and Inconsistency of Estimating Equations (Crowder, Econometric Theory 1986), IDEAS/RePEc record](https://ideas.repec.org/a/cup/etheor/v2y1986i03p305-330_01.html)
23. [Application of robust estimating equations to the analysis of quantitative longitudinal data (Hu & Lachin, 2001, Statistics in Medicine)](https://onlinelibrary.wiley.com/doi/10.1002/sim.962)
24. [Generalized Estimating Equations :: SAS/STAT(R) 14.1 User's Guide](https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/statug_gee_details01.htm)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Sep 30, 2026 · Last review: Sep 30, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Estimation theory and estimator families

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/estimating-equations

English original: https://www.edgepedia.org/estimating-equations
