# 剪补法

剪补法是一种非参数、基于秩的数据增强技术，用于荟萃分析中估计可能因发表偏倚而缺失的研究数量，并如同这些研究存在一般重新计算合并效应。该方法将漏斗图的不对称性解读为研究被压制的证据，为缺失研究填补镜像对应项，并报告调整后的效应估计值、置信区间和填补研究数。其提出者及后来的方法学家将调整后的估计值定位为敏感性分析，而非偏倚校正的点估计，因为漏斗图不对称也可能源于发表偏倚之外的其他原因。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup><sup> • </sup><sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup><sup> • </sup><sup>[3](https://www.metafor-project.org/doku.php/plots:funnel_plot_with_trim_and_fill)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 由苏·杜瓦尔（Sue Duval）和理查德·特威迪（Richard Tweedie）在2000年的两篇论文中提出，分别发表于《美国统计协会杂志》和《生物统计学》<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup><sup> • </sup><sup>[4](https://doi.org/10.1111/j.0006-341x.2000.00455.x)</sup> |
| 缺失研究数 \( k_{0} \) 的估计量 | 游程估计量 \( R_{0} \)、线性估计量 \( L_{0} \) 和二次估计量 \( Q_{0} \)<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup> |
| 典型输出 | 调整后的合并效应及95%置信区间、估计的缺失研究数 \( \hat{k}_{0} \)，以及（对于 \( R_{0} \)）无缺失研究的p值<sup>[5](https://wviechtb.github.io/metafor/reference/trimfill.html)</sup> |
| 迭代行为 | 迭代算法在实践中仅需2-3次迭代即可稳定<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup> |
| 估计量选择 | 当缺失研究超过观测研究的约25%时，\( L_{0} \) 更优；当观测研究较多时，\( R_{0} \) 更优<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup> |
| 软件 | 可在R（metafor、meta）、Stata（metatrim）、SAS宏和Comprehensive Meta-Analysis中使用；RevMan 5无法执行<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup> |
| 推荐用法 | 作为敏感性分析与未调整估计值并列报告，而非替代之<sup>[7](https://www.bmj.com/content/320/7249/1574)</sup><sup> • </sup><sup>[8](https://casrai.org/guides/how-to-detect-and-assess-publication-bias)</sup> |

## 工作原理

漏斗图将每项研究的效应估计值对其精确度的某种度量作图。发表偏倚压制了研究，该方法的核心假设是：未发表的是那些最极端的阴性研究，从而在图的某一侧留下可见的空缺。<sup>[9](https://www.ncbi.nlm.nih.gov/books/NBK84232/)</sup>

算法首先剪去导致不对称的研究，使剩余大致对称集的合并估计值受偏倚影响最小。然后填补推算的缺失研究：每个被剪去的研究的效应量围绕合并估计值进行反射，计算为 \( 2A - y_{i} \)，填补研究的标准误复制自其所镜像的被剪研究。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup> 合并估计值 \( A \) 从观测加填补的研究中重新估计，过程重复直至被剪研究数稳定。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup>

然而，不对称并非压制的证明。它也可能源于研究间的临床或方法学异质性，而异质性可以在不存在任何偏倚的情况下产生不对称。<sup>[10](https://www.ncbi.nlm.nih.gov/books/NBK84228/)</sup> 该方法对不对称的原因不作判断，这是它被视为敏感性工具的核心原因。<sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup>

## 操作方式

分析者选择缺失研究数 \( k_{0} \) 的估计量、漏斗图模型（固定效应或随机效应），以及假定研究缺失的一侧。杜瓦尔和特威迪定义了三种估计量：游程估计量 \( R_{0} = y^{*} - 1 \)，基于不对称放置研究的最右游程；线性估计量 \( L_{0} = \{4T_{n} - n \cdot (n+1)\}/(2n-1) \)，基于Wilcoxon秩统计量；以及二次估计量 \( Q_{0} = n - 1/2 - \sqrt{n^{2} - 4T_{n} + 1/4} \)。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup>

填补侧通常预先指定或通过检验选择；软件默认常用Egger回归，若缺失研究位于正方向，则将效应量反号，并将结果变换回原方向。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup> 迭代随后如上所述进行，反复剪补直至 \( \hat{k}_{0} \) 稳定，通常在2-3次迭代内。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup> 输出为调整后的合并估计值及置信区间和 \( \hat{k}_{0} \)。

关于模型选择，杜瓦尔后来的综述发现，迭代阶段最初推荐随机效应模型，但后来发现固定效应模型更为保守，且没有一种模型能在所有情况下都优于另一种。<sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup> 彼得斯（Peters）及其同事的模拟表明，共同-随机模型（在固定效应模型下估计 \( k_{0} \)，在随机效应下汇总）优于共同-共同模型，且不劣于随机-随机模型；它是R包meta的默认选项。<sup>[11](https://search.r-project.org/CRAN/refmans/meta/html/trimfill.html)</sup>

## 起源

该方法由苏·杜瓦尔和理查德·特威迪在2000年的两篇论文中提出：一篇发表于《美国统计协会杂志》，呈现基于秩的数据增强框架及估计量的性质；另一篇发表于《生物统计学》，将该方法作为检验和调整程序呈现。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup><sup> • </sup><sup>[4](https://doi.org/10.1111/j.0006-341x.2000.00455.x)</sup> 此前发表于《澳大利亚流行病学家》的一篇论文也被引用为该方法的来源。<sup>[7](https://www.bmj.com/content/320/7249/1574)</sup>

它建立在两个更早的漏斗图不对称检验之上：科林·B·贝格（Colin B. Begg）和马杜丘汉达·马宗达（Madhuchhanda Mazumdar）的秩相关检验（1994，《生物统计学》）以及马蒂亚斯·埃格（Matthias Egger）及其同事的回归检验（1997，《英国医学杂志》）。<sup>[12](https://doi.org/10.2307/2533446)</sup><sup> • </sup><sup>[13](https://doi.org/10.1136/bmj.315.7109.629)</sup><sup> • </sup><sup>[10](https://www.ncbi.nlm.nih.gov/books/NBK84228/)</sup> 选择模型方法，如J·科帕斯（J. Copas）的模型（2000，《生物统计学》），作为替代方案存在，但计算复杂且在实践中很少使用。<sup>[14](https://doi.org/10.1093/biostatistics/1.3.247)</sup><sup> • </sup><sup>[10](https://www.ncbi.nlm.nih.gov/books/NBK84228/)</sup>

## 变体

三种估计量的行为不同。\( R_{0} \) 公式最简单，其零分布恰好是负二项分布，在某些情况下偏保守；当荟萃分析中缺失研究超过25%时，\( L_{0} \) 可能具有更小的均方误差；\( Q_{0} \) 在文献中不被推荐，主要为完整性而提供。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup> 在无缺失研究的模拟中，截断的 \( R_{0} \) 产生的平均填补研究数约为0.5，而 \( L_{0} \) 和 \( Q_{0} \) 的均值约为1-2，因此小的正计数不应被解读为发表偏倚的证据。<sup>[1](https://doi.org/10.1080/01621459.2000.10473905)</sup>

实现包括R包metafor和meta中的trimfill()函数、Stata命令metatrim、SAS宏PUB_BIAS以及Comprehensive Meta-Analysis 3.0版。除SAS宏仅提供 \( R_{0} \) 外，所有程序均默认使用 \( L_{0} \)；metafor和Stata实现全部三种估计量，而R包meta不提供 \( Q_{0} \)。RevMan 5版无法执行剪补法。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[5](https://wviechtb.github.io/metafor/reference/trimfill.html)</sup><sup> • </sup><sup>[11](https://search.r-project.org/CRAN/refmans/meta/html/trimfill.html)</sup> 后来的改进包括一个方法学章节和一个适用于含协变量的二维元回归的改良剪补算法。<sup>[3](https://www.metafor-project.org/doku.php/plots:funnel_plot_with_trim_and_fill)</sup><sup> • </sup><sup>[9](https://www.ncbi.nlm.nih.gov/books/NBK84232/)</sup>

## 应用

该方法从一开始就在临床试验和心理测量学研究的荟萃分析中得到展示，现已在公共卫生研究中广泛使用。<sup>[4](https://doi.org/10.1111/j.0006-341x.2000.00455.x)</sup><sup> • </sup><sup>[10](https://www.ncbi.nlm.nih.gov/books/NBK84228/)</sup> 萨顿（Sutton）及其同事对48篇含二分类终点且至少10项研究的Cochrane综述进行的早期实证应用估计，在固定效应模型下有26篇（54%）存在缺失研究，在随机效应下有23篇（48%）；在4篇综述中，调整后关于干预的统计结论发生了变化。<sup>[7](https://www.bmj.com/content/320/7249/1574)</sup>

大规模评估给出了常规行为的概念。应用于29,932篇Cochrane荟萃分析，\( L_{0} \) 和 \( Q_{0} \) 在比 \( R_{0} \) 更多的荟萃分析中检测到至少一项缺失研究，且加入填补研究改变了许多荟萃分析中异质性和总体效应的显著性。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup> 在28,655篇Cochrane荟萃分析中，剪补法在6.7%的非二分类结局荟萃分析和10.1%的二分类结局荟萃分析中标记出统计学显著的发表偏倚，低于基于回归的检验如Egger检验（分别为13.5%和15.7%）。<sup>[15](https://pmc.ncbi.nlm.nih.gov/articles/PMC6082203/)</sup>

## 局限性与替代方法

已有若干失效模式的记录。研究间存在实质性异质性会严重损害该方法的功效，在异质性较大的模拟中，当不存在发表偏倚时它可能低估真实的正向效应，尽管当发表偏倚存在时其估计的偏倚小于常规荟萃分析模型。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[16](https://onlinelibrary.wiley.com/doi/10.1002/sim.2889)</sup> 一旦研究间方差超过研究内方差（\( I^{2} > 50\% \)），调整方法的性能即下降；在严重发表偏倚下，所有剪补变体均产生有偏估计和较差的覆盖率；\( L_{0} \) 和 \( Q_{0} \) 在包含效应量相同的研究的荟萃分析中也无法收敛。<sup>[17](https://link.springer.com/article/10.1186/1471-2288-9-2)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup> 该方法将填补的效应量视为观测值，可能低估其标准误，而错误的预先指定方向会使结果无效。<sup>[2](https://www.stata.com/manuals/metametatrimfill.pdf)</sup><sup> • </sup><sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup> Cochrane指南建议在约10项研究以下不要依赖剪补法或Egger检验，此时功效急剧下降。<sup>[8](https://casrai.org/guides/how-to-detect-and-assess-publication-bias)</sup>

与替代方法的比较结果不一。在一项二分类结局的模拟中，几种基于回归的方法始终优于剪补估计量。<sup>[17](https://link.springer.com/article/10.1186/1471-2288-9-2)</sup> 与科帕斯选择模型的实证比较表明，剪补法在实践中导致过于保守的推断，这一发现与最初声称调整能大幅改善置信区间覆盖率的说法相悖。<sup>[11](https://search.r-project.org/CRAN/refmans/meta/html/trimfill.html)</sup><sup> • </sup><sup>[4](https://doi.org/10.1111/j.0006-341x.2000.00455.x)</sup> 蒙特卡洛研究发现，剪补法、Egger回归和贝格秩相关在许多条件下对第一类错误控制不佳，在错误率得到控制的条件下功效极低。<sup>[18](https://journals.sagepub.com/doi/10.1177/0013164405278585)</sup>

填补的研究是算法生成的数值，而非真实数据，且该方法假设缺失研究将对称地分布在合并效应周围，这一假设在异质性或偏倚风险差异下往往不切实际。<sup>[19](https://ekja.org/journal/view.php?number=9142)</sup> 因此，方法学家建议并列报告原始和调整估计值，尝试全部三种估计量作为敏感性分析，并使用中性术语“小研究效应”，因为漏斗图本身无法识别不对称背后的机制。<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)</sup><sup> • </sup><sup>[8](https://casrai.org/guides/how-to-detect-and-assess-publication-bias)</sup>

## References

1. [Sue Duval, Richard Tweedie (2000). A Nonparametric “Trim and Fill” Method of Accounting for Publication Bias in Meta-Analysis. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.2000.10473905)
2. [Stata [META] meta trimfill manual](https://www.stata.com/manuals/metametatrimfill.pdf)
3. [Funnel Plot with Trim and Fill [The metafor Package]](https://www.metafor-project.org/doku.php/plots:funnel_plot_with_trim_and_fill)
4. [Sue Duval, Richard Tweedie (2000). Trim and Fill: A Simple Funnel‐Plot–Based Method of Testing and Adjusting for Publication Bias in Meta‐Analysis. Biometrics.](https://doi.org/10.1111/j.0006-341x.2000.00455.x)
5. [metafor: Trim and Fill Analysis for 'rma.uni' Objects](https://wviechtb.github.io/metafor/reference/trimfill.html)
6. [The trim-and-fill method for publication bias: practical guidelines and recommendations based on a large database of meta-analyses](https://pmc.ncbi.nlm.nih.gov/articles/PMC6571372/)
7. [Empirical assessment of effect of publication bias on meta-analyses (Sutton et al., BMJ 2000)](https://www.bmj.com/content/320/7249/1574)
8. [How to Detect and Assess Publication Bias (CASRAI guide)](https://casrai.org/guides/how-to-detect-and-assess-publication-bias)
9. [Correcting for Publication Bias in the Presence of Covariates (Duval & Weinhandl, AHRQ 2011), Methods chapter](https://www.ncbi.nlm.nih.gov/books/NBK84232/)
10. [Introduction - Correcting for Publication Bias in the Presence of Covariates (AHRQ, 2011)](https://www.ncbi.nlm.nih.gov/books/NBK84228/)
11. [R package meta: trimfill documentation](https://search.r-project.org/CRAN/refmans/meta/html/trimfill.html)
12. [Colin B. Begg, Madhuchhanda Mazumdar (1994). Operating Characteristics of a Rank Correlation Test for Publication Bias. Biometrics.](https://doi.org/10.2307/2533446)
13. [Matthias Egger and colleagues (1997). Bias in meta-analysis detected by a simple, graphical test. BMJ.](https://doi.org/10.1136/bmj.315.7109.629)
14. [J. Copas (2000). Meta-analysis, funnel plots and sensitivity analysis. Biostatistics.](https://doi.org/10.1093/biostatistics/1.3.247)
15. [Empirical Comparison of Publication Bias Tests in Meta-Analysis (28,655 Cochrane meta-analyses)](https://pmc.ncbi.nlm.nih.gov/articles/PMC6082203/)
16. [Performance of the trim and fill method in the presence of publication bias and between-study heterogeneity (Peters et al., Statistics in Medicine 2007)](https://onlinelibrary.wiley.com/doi/10.1002/sim.2889)
17. [Assessment of regression-based methods to adjust for publication bias through a comprehensive simulation study (Moreno et al., BMC Medical Research Methodology 2009)](https://link.springer.com/article/10.1186/1471-2288-9-2)
18. [On Knowing What We Do Not Know: An Empirical Comparison of Methods to Detect Publication Bias in Meta-Analysis](https://journals.sagepub.com/doi/10.1177/0013164405278585)
19. [Correcting what cannot be corrected: rethinking publication bias analysis methods in clinical meta-analyses](https://ekja.org/journal/view.php?number=9142)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/trim-and-fill-method

English original: https://www.edgepedia.org/trim-and-fill-method
