# 拟似然

拟似然是一种统计方法，用于在仅给定数据均值和方差的设定下估计和检验模型参数，而不假定完整的概率分布。它主要用于回归分析，尤其是广义线性模型（GLM），当数据相对于二项分布或泊松分布等标准模型存在过度离散时。<sup>[1](https://doi.org/10.1093/biomet/61.3.439)</sup><sup> • </sup><sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 关键观察在于，计算上拟合一个GLM只需要以回归参数表示的均值设定以及均值与方差之间的关系，而不需要完全指定的似然。<sup>[3](http://inis.jinr.ru/sl/M_Mathematics/MV_Probability/MVas_Applied%20statistics/Heyde%20Quasi-Likelihood.pdf)</sup> 对于单参数指数族，对数似然与拟似然重合，因此假定单参数指数族是拟似然与最大似然一致的最弱分布假定。<sup>[1](https://doi.org/10.1093/biomet/61.3.439)</sup>

| 关键事实 | 详情 |
|---|---|
| 假定什么 | 仅假定均值-方差关系，例如 \( \mathrm{var}(Y_i) = \phi \cdot \mu_i \)；无完整分布。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> |
| 估计方程 | \( D^{\mathrm T} V^{-1}(y - \mu) = 0 \)，其中 \( D \) 为导数矩阵 \( \partial \mu_i / \partial \beta_r \)。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> |
| 渐近方差 | \( \phi (D^{\mathrm T} V^{-1} D)^{-1} \)；若工作协方差设定错误，则适用信息三明治公式。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> |
| 效率 | 对泊松数据和二值数据等价于最大似然；在线性无偏估计方程中最优。<sup>[4](https://encyclopediaofmath.org/wiki/Generalized_quasi-likelihood)</sup><sup> • </sup><sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> |
| 过度离散的处理 | 拟泊松：方差与均值呈线性关系；负二项：方差与均值呈二次关系。<sup>[5](https://utstat.utoronto.ca/reid/sta2201s/QUASI-POISSON.pdf)</sup> |
| 与GEE的关系 | 广义估计方程是拟似然和M估计的特例。<sup>[6](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> |
| 主要应用 | 过度离散的GLM、RNA-seq差异表达分析（edgeR）、健康经济学中的零膨胀计数模型。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup><sup> • </sup><sup>[7](https://europepmc.org/article/med/27008025)</sup><sup> • </sup><sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/hec.2844)</sup> |

## 工作原理

该方法用由均值-方差设定构建的拟得分函数替代对数似然的得分函数。记 \( D \) 为 \( n \times p \) 的导数矩阵 \( \partial \mu_i / \partial \beta_r \)，\( V \) 为未缩放的工作方差函数矩阵，使得 \( \mathrm{cov}(Y) = \phi V(\mu) \)，\( \phi \) 为离散参数，则拟得分为<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

\[ U = \frac{D^{\mathrm T} V^{-1}(Y - \mu)}{\phi}. \]

等价形式将拟得分写为 \( Q(\theta) = \dot{\mu} \cdot V^{-1}(Y - \mu(\theta)) \)。<sup>[3](http://inis.jinr.ru/sl/M_Mathematics/MV_Probability/MVas_Applied%20statistics/Heyde%20Quasi-Likelihood.pdf)</sup> 拟得分满足与真实似然得分相同的恒等式：\( E(U) = 0 \) 和 \( \mathrm{cov}(U) = -E(\partial U / \partial \beta) \)。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 正是这些恒等式使得Wald检验、得分检验和拟似然比检验可以像存在似然一样被构建。

令 \( U = 0 \) 的估计量是一致的且渐近正态，渐近协方差矩阵为 \( \phi (D^{\mathrm T} V^{-1} D)^{-1} \)，即拟信息矩阵 \( (1/\phi) D^{\mathrm T} V^{-1} D \) 的逆。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup><sup> • </sup><sup>[14](https://www.maths.usyd.edu.au/u/jchan/GLM/QuasiLikelihood.pdf)</sup> 在所有作为线性（关于 \( y \) 线性）无偏估计方程之解获得的估计量中，拟似然估计量具有最大的渐近精度，这一结果由McCullagh（1983）证明，推广了最小二乘的高斯-马尔可夫最优性。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 对于泊松数据和二值数据，拟似然估计量等价于最大似然估计量，因此是最优的。<sup>[4](https://encyclopediaofmath.org/wiki/Generalized_quasi-likelihood)</sup>

## 操作步骤

拟合拟似然回归（如拟泊松或拟二项GLM）分三步进行。

**1. 选择方差函数。** 对于过度离散的泊松数据，设定 \( \mathrm{var}(Y_i) = \phi \cdot \mu_i \)，其中 \( \phi > 1 \) 表示过度离散，\( \phi < 1 \) 表示较少见的欠离散。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup> 对于RNA-seq计数数据，假定的形式为 \( \mathrm{var}(Y_{ijk}) = \Phi_k V_k(\mu_{ijk}) \)，其中 \( V_k \) 由用户完全指定，常用 \( V_k(\mu) = \mu + \omega \cdot \mu^2 \)（基于负二项）或 \( V_k(\mu) = \mu \)（基于泊松）。<sup>[9](https://gksmyth.github.io/pubs/QuasiSeqPreprint.pdf)</sup>

**2. 求解估计方程。** 方程 \( D^{\mathrm T} V^{-1}(y - \mu) = 0 \) 通过迭代求解。非线性最小二乘的高斯-牛顿方法推广到最大拟似然估计，对其重新整理即产生GLM中普遍使用的迭代重加权拟合方案。<sup>[1](https://doi.org/10.1093/biomet/61.3.439)</sup> 对于拟泊松模型，所得方程与泊松最大似然方程完全相同。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

**3. 估计离散参数并缩放标准误。** 来自似然式分析的标准误乘以 \( \sqrt{\hat{\phi}} \)，以容许过度离散或欠离散（视情况而定）。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

## 起源

该方法在一篇Biometrika论文中提出，该论文同时给出了广义线性模型的高斯-牛顿拟合方案。<sup>[1](https://doi.org/10.1093/biomet/61.3.439)</sup> 已发表的历史记述区分了两条汇聚到相同估计方程的研究路线。一条是经由估计函数的最优估计，始于1960年；另一条是分析广义线性回归的拟似然方法，从一开始就被称为拟似然。拟似然方法可视为最优估计函数方法的一个特例，限于一类特殊的估计函数。<sup>[3](http://inis.jinr.ru/sl/M_Mathematics/MV_Probability/MVas_Applied%20statistics/Heyde%20Quasi-Likelihood.pdf)</sup> 拟似然解的一致性和渐近正态性条件，以及过度离散的处理，在1983至1991年关于该方法的文献中得到整合。<sup>[10](http://www.stat.uchicago.edu/~pmcc/pubs/paper6.pdf)</sup><sup> • </sup><sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

## 变体

**扩展拟似然（EQL）** 允许在同组数据上比较不同的方差函数，是均值与离散参数联合建模的核心。一种跷跷板算法交替进行：给定当前离散估计拟合均值，再给定当前均值拟合离散参数；通常三个循环就足够了。<sup>[11](https://doi.org/10.1214/lnms/1215455043)</sup> 扩展拟得分纳入关于底层分布偏度、峰度和更高阶矩的可能知识，其有限样本最优性不需要分布假定。<sup>[12](https://www.sciencedirect.com/science/article/abs/pii/S0378375898002274)</sup><sup> • </sup><sup>[11](https://doi.org/10.1214/lnms/1215455043)</sup>

**相关数据。** 广义拟似然（GQL）估计方程 \( \sum_i (\partial \mu_i' / \partial \beta) \Sigma_i^{-1}(\rho)(y_i - \mu_i) = 0 \) 处理相关响应，并通过相关参数 \( \rho \) 的矩估计迭代求解；所得估计量在完全最大似然不可能或极其复杂的情况下是一致且高效的。<sup>[4](https://encyclopediaofmath.org/wiki/Generalized_quasi-likelihood)</sup> 纵向数据的广义估计方程（GEE）可视为拟似然、M估计和一般估计函数理论的特例。<sup>[6](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>

## 应用

**过度离散的GLM。** 拟似然方法在回归分析中常规使用，尤其是GLM，用于处理相对于二项分布或泊松模型过度离散的数据。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

**生态学。** 拟泊松回归和负二项回归都考虑过度离散，通常在标准软件中均可使用。它们在结构上不同：拟泊松的方差与均值呈线性关系，而负二项的方差呈二次关系，因此负二项的过度离散因子 \( 1 + \phi \cdot \mu \) 依赖于 \( \mu \)，而拟泊松的不依赖。在斑海豹数据集上的比较显示两种拟合之间存在显著差异。<sup>[5](https://utstat.utoronto.ca/reid/sta2201s/QUASI-POISSON.pdf)</sup>

**基因组学。** 用于RNA-seq差异表达的edgeR流程使用拟似然方法进行假设检验，涵盖读段比对与计数、过滤与标准化、生物变异性的建模以及假设检验，还包括基因集检验。<sup>[7](https://europepmc.org/article/med/27008025)</sup> `glmQLFTest` 函数用经验贝叶斯拟似然F检验替代似然比检验，其p值总是大于或等于具有相同负二项离散度的相应似然比检验的p值。<sup>[13](https://rdrr.io/bioc/edgeR/man/glmQLFTest.html)</sup>

**健康经济学。** 用于零膨胀计数数据的泊松拟似然估计量即使在真实数据生成过程不是泊松的情况下（如存在超额零值）也是一致的；已通过蒙特卡洛模拟和对卫生服务需求的应用加以说明。<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/hec.2844)</sup>

## 局限与替代方案

**方差设定错误。** 估计方程的无偏性——从而一致性——对工作协方差结构 \( V(\mu) \) 的失效是稳健的，因为方程关于 \( y \) 是线性的。但如果 \( \mathrm{cov}(Y) \) 被错误设定，渐近协方差变为信息三明治 \( (D^{\mathrm T} V^{-1} D)^{-1} D^{\mathrm T} V^{-1} \mathrm{cov}(Y) V^{-1} D (D^{\mathrm T} V^{-1} D)^{-1} \)，因此效率取决于方差函数与真实值的匹配程度。<sup>[2](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)</sup>

**离散参数估计。** 在RNA-seq应用中，Pearson离散度估计往往小于基于偏差的估计，并产生偏松的结果——过多的小p值以及被低估的经验错误发现率；在那里推荐使用偏差估计量。<sup>[9](https://gksmyth.github.io/pubs/QuasiSeqPreprint.pdf)</sup>

**零膨胀。** 零膨胀是一种特殊类型的过度离散，适用于发生事件罕见的情形；一项比较研究发现，在建模一种稀有植物物种的丰度时，零膨胀模型优于拟泊松或负二项模型。<sup>[5](https://utstat.utoronto.ca/reid/sta2201s/QUASI-POISSON.pdf)</sup> 一般的权衡是对设定错误的稳健性与相对于正确设定模型的最大似然而言的精度损失之间的取舍。<sup>[8](https://onlinelibrary.wiley.com/doi/10.1002/hec.2844)</sup> 在估计函数估计量中，基于扩展拟似然的估计量对 \( V(\mu) \) 的设定错误最为稳健。<sup>[11](https://doi.org/10.1214/lnms/1215455043)</sup>

## References

1. [Quasi-likelihood functions, generalized linear models, and the Gauss, Newton method (Wedderburn, 1974, Biometrika)](https://doi.org/10.1093/biomet/61.3.439)
2. [Quasi-likelihood (Firth, 1993, Encyclopedia of Biostatistics draft)](https://warwick.ac.uk/fac/sci/statistics/staff/academic-research/firth/Florence1993.pdf)
3. [Quasi-Likelihood And Its Application: A General Approach to Optimal Estimation (Heyde, monograph copy)](http://inis.jinr.ru/sl/M_Mathematics/MV_Probability/MVas_Applied%20statistics/Heyde%20Quasi-Likelihood.pdf)
4. [Generalized quasi-likelihood - Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Generalized_quasi-likelihood)
5. [Quasi-Poisson vs. Negative Binomial Regression: How Should We Model Overdispersed Count Data? (Ver Hoef & Boveng, Ecology)](https://utstat.utoronto.ca/reid/sta2201s/QUASI-POISSON.pdf)
6. [The effect of the working correlation on fitting models to longitudinal data (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)
7. [It's DE-licious: A Recipe for Differential Expression Analyses of RNA-seq Experiments Using Quasi-Likelihood Methods in edgeR](https://europepmc.org/article/med/27008025)
8. [Consistent Estimation of Zero-Inflated Count Models (Health Economics, publisher DOI page)](https://onlinelibrary.wiley.com/doi/10.1002/hec.2844)
9. [Detecting Differential Expression In RNA-sequence Data Using Quasi-likelihood With Shrunken Dispersion Estimates (Smyth, author preprint)](https://gksmyth.github.io/pubs/QuasiSeqPreprint.pdf)
10. [Quasi-Likelihood (McCullagh)](http://www.stat.uchicago.edu/~pmcc/pubs/paper6.pdf)
11. [Extended Quasilikelihood and Estimating Equations](https://doi.org/10.1214/lnms/1215455043)
12. [A generalised quasi-likelihood estimation (ScienceDirect)](https://www.sciencedirect.com/science/article/abs/pii/S0378375898002274)
13. [glmQLFTest: quasi-likelihood F-tests in edgeR (package documentation)](https://rdrr.io/bioc/edgeR/man/glmQLFTest.html)
14. [maths.usyd.edu.au](https://www.maths.usyd.edu.au/u/jchan/GLM/QuasiLikelihood.pdf)

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

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

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/quasi-likelihood

English original: https://www.edgepedia.org/quasi-likelihood
