# 增强逆概率加权

增强逆概率加权（augmented inverse probability weighting, AIPW）是一种双重稳健估计量，用于因果推断和缺失数据分析中估计平均处理效应与总体均值。它将逆概率加权（IPW）估计量与结果回归结合起来，使得只要处理（或缺失）模型或结果模型中有一个被正确设定——包括两者都正确的情形——估计就保持一致性。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 因此，双重稳健估计量给了分析者两次而非仅一次做出有效推断的机会。<sup>[2](https://onlinelibrary.wiley.com/doi/10.1111/j.1541-0420.2005.00377.x)</sup>

| 关键事实 | 详情 |
|---|---|
| 估计什么 | 平均处理效应（风险差、风险比、优势比），以及从不完整数据中估计总体均值<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup> |
| 核心性质 | 双重稳健：只要倾向评分模型被正确设定，或两个结果回归模型都被正确设定，估计即保持一致<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> |
| 所需模型 | 一个倾向评分模型加两个结果模型（处理组与对照组）<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup> |
| 效率 | AIPW得分即有效影响函数，因此当两个模型都正确时，它是半参数有效的<sup>[5](https://www.mdpi.com/2227-7390/11/4/818)</sup> |
| 推断 | 渐近正态；标准误来自经验三明治（M估计）估计量<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup>或自助法<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup> |
| 机器学习形式 | 带堆叠学习器（SuperLearner或sl3）的交叉拟合AIPW在AIPW R包中实现<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup> |
| 主要失效模式 | 估计出的极端倾向评分产生高度变异、偏斜的抽样分布<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> |

## 工作原理

AIPW从Horvitz-Thompson估计量的IPW思想出发，后者将每个观测到的结果按其被观测到或被处理的概率的倒数进行加权。当缺失概率或处理概率被正确建模时，这些估计量是一致的，但它们可能不精确，并且对非常接近零的估计概率很敏感。<sup>[6](https://www.degruyterbrill.com/document/doi/10.1515/jci-2020-0015/html?lang=en)</sup> AIPW加入了一个由结果回归构建的增强项，在保持与IPW相同假设的同时降低了变异性。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

对于二值处理\( A \)、协变量\( X \)、结果\( Y \)、倾向评分\( \pi(X) \)和结果回归\( Q_a(X) \)，\( \mathrm{E}[Y(1)] \)的AIPW估计量是\( \frac{A_i \cdot (Y_i - Q_1(X_i))}{\pi(X_i)} + Q_1(X_i) \)的样本平均。<sup>[7](https://www.stats.ox.ac.uk/~evans/APTS/dr.html)</sup> 在平均处理效应的Horvitz-Thompson形式中，该估计量将IPW对比\( T_i \cdot Y_i / \pi(X_i) - (1-T_i) \cdot Y_i / (1-\pi(X_i)) \)与增强项\( \{ \pi(X_i) - T_i \} \{ \mu_1(X_i)/\pi(X_i) + \mu_0(X_i)/(1-\pi(X_i)) \} \)结合，其中\( \mu_1 \)和\( \mu_0 \)是两个结果回归的预测值。<sup>[8](https://link.springer.com/article/10.3758/s13428-026-02999-x)</sup>

增强项在倾向模型下是一个均值为零的校正。用估计方程的语言来说，AIPW估计函数是IPW估计函数与一个均值为零的增强项之和，而最优增强项是IPW估计函数在冗余参数切空间上的正交投影。<sup>[6](https://www.degruyterbrill.com/document/doi/10.1515/jci-2020-0015/html?lang=en)</sup> 当倾向评分几乎完美地预测处理时，增强项在期望上趋于零，AIPW简化为IPW估计量。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

双重稳健性与效率相伴而来。由于该得分是目标参数的有效影响函数，当两个冗余模型都已知时，基于AIPW的估计在正则渐近线性估计量中最为有效。<sup>[5](https://www.mdpi.com/2227-7390/11/4/818)</sup> 如果缺失模型和结果回归都被正确设定，AIPW是半参数有效的，尽管当只有部分模型正确时它并非最优。<sup>[6](https://www.degruyterbrill.com/document/doi/10.1515/jci-2020-0015/html?lang=en)</sup>

## 如何实施

实施需要两个熟悉的建模步骤：为倾向评分设定一个二值回归模型，并为结果设定回归模型。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 更详细地说，该过程有两个基本步骤：首先拟合倾向评分模型（给定基线特征下接受处理的概率），然后拟合两个结果模型，一个在处理组、一个在对照组，并将它们的预测值与倾向评分权重结合成加权平均。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

两个模型不必使用相同的调整变量集；所要求的只是在给定协变量下条件可忽略性成立。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 模拟证据表明，对倾向模型使用最小充分协变量集、对结果模型使用最大充分协变量集，可以降低抽样变异性。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup>

该估计量渐近服从正态分布，有效的大样本标准误可由M估计理论得出；Lunceford和Davidian发现经验三明治估计量在实践中表现良好。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 自助法是另一种选择。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

## 起源

AIPW背后的基本思想由生物统计学家发展而来。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 一类增强逆概率加权估计量被识别出来，它们同时对结果回归和倾向评分建模，当两个模型都正确时得到该类中的有效成员。<sup>[9](https://academic.oup.com/biomet/article-pdf/96/3/723/38625237/biomet_96_3_723.pdf)</sup> 该估计量的现代形式被推导出来。<sup>[7](https://www.stats.ox.ac.uk/~evans/APTS/dr.html)</sup> 这一类的估计量是双重稳健的，当两个冗余模型中的一个（而非两个）被错误设定时仍保持一致。<sup>[9](https://academic.oup.com/biomet/article-pdf/96/3/723/38625237/biomet_96_3_723.pdf)</sup><sup> • </sup><sup>[10](https://econtent.hogrefe.com/doi/10.1027/1614-2241/a000005)</sup> 后来的改进来自Robins（2005）、Tan（2006）、Kang和Schafer（2007）、Cao及其同事（2009）、Tan（2010）以及Rotnitzky及其同事（2012），相关的计量经济学工作由Wooldridge（2007）完成。<sup>[11](https://docs.iza.org/dp8084.pdf)</sup> Glynn和Quinn于2009年在《政治分析》上将该估计量介绍给社会科学读者。<sup>[12](https://doi.org/10.1093/pan/mpp036)</sup>

## 变体

交叉拟合机器学习AIPW用堆叠学习器替代参数冗余模型。AIPW R包为观察性研究和随机试验实现交叉拟合与灵活协变量调整，估计风险差、风险比和优势比尺度上的效应；它通过SuperLearner或sl3堆叠结合广义可加模型、多元自适应回归样条、随机森林和XGBoost。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup><sup> • </sup><sup>[13](https://yqzhong7.github.io/AIPW/index.html)</sup> 在模拟中，交叉拟合实质性地降低了偏差，并改善了用机器学习拟合的双重稳健估计量的置信区间覆盖率。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup>

目标学习提供了通往双重稳健估计的相关路径。标准目标最大似然估计量于2006年被提出，协作双重稳健TMLE（C-TMLE）是在其基础上的进一步推进。<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC2898626/)</sup> 当似然的结果因子或处理因子被正确设定时，TMLE是一致的且渐近正态，当两者都正确时则是半参数有效的。<sup>[14](https://pmc.ncbi.nlm.nih.gov/articles/PMC2898626/)</sup>

双重/去偏机器学习将AIPW得分视为一个Neyman正交（对冗余模型估计中的小误差不敏感）的估计方程。IPW得分不是Neyman正交的，不应与通用机器学习器结合，而AIPW得分是Neyman正交的。<sup>[15](https://docs.iza.org/dp18438.pdf)</sup> Chernozhukov及其同事的双重/去偏机器学习框架于2017年发表在《计量经济学杂志》上，形式化了这一联系。<sup>[16](https://doi.org/10.1111/ectj.12097)</sup>

## 应用

AIPW用于在观察性研究和随机对照试验中估计二值暴露的平均因果效应，具有灵活的协变量调整，并支持在随机缺失假设下处理缺失结果数据。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup> 在缺失数据问题中，它从不完整数据估计总体均值，这正是双重稳健性质最初被阐明的设定。<sup>[9](https://academic.oup.com/biomet/article-pdf/96/3/723/38625237/biomet_96_3_723.pdf)</sup>

## 局限与替代方案

与普通IPW、结果回归和匹配相比，AIPW的主要优势在于对部分错误设定的稳健性。一项样本量从300到5000的独立模拟发现，只有AIPW在所有设定下都提供了无偏估计：当响应曲面被错误设定时，回归严重有偏，而AIPW和IPW无偏；当倾向评分被错误设定时，IPW有偏，而AIPW和回归仍然无偏。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

实际代价是真实的建模需求和不稳定性。AIPW需要估计一个倾向模型加两个响应曲面模型。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup> 如果估计的倾向评分高度变异，估计量的抽样分布可能偏斜，估计值也可能相当不稳定。<sup>[1](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)</sup> 对权重进行归一化可得到估计量的Hájek形式，降低了对极端权重的敏感性。<sup>[8](https://link.springer.com/article/10.3758/s13428-026-02999-x)</sup> 倾向评分截断被用来缓解对近乎违反正性假设的担忧，尽管也存在替代的AIPW估计方法。<sup>[3](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)</sup> 倾向评分分布的充分重叠很重要，尽管分布不必完全一致，因为AIPW按观测到的相似性对观测进行加权。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup> 还有一些证据表明，双重稳健估计量可能比正确设定模型下的最大似然估计量效率更低，这是一种偏差-精度权衡。<sup>[4](https://journals.sagepub.com/doi/10.1177/0272989X211027181)</sup>

## References

1. [An Introduction to the Augmented Inverse Propensity Weighted Estimator (Glynn & Quinn, Political Analysis)](https://www.cambridge.org/core/journals/political-analysis/article/abs/an-introduction-to-the-augmented-inverse-propensity-weighted-estimator/4B1B8301E46F4432C4DCC91FE20780DB)
2. [Doubly Robust Estimation in Missing Data and Causal Inference Models (Biometrics)](https://onlinelibrary.wiley.com/doi/10.1111/j.1541-0420.2005.00377.x)
3. [AIPW: An R Package for Augmented Inverse Probability–Weighted Estimation of Average Causal Effects (American Journal of Epidemiology)](https://pmc.ncbi.nlm.nih.gov/articles/PMC8796813/)
4. [Augmented Inverse Probability Weighting and the Double Robustness Property (Medical Decision Making)](https://journals.sagepub.com/doi/10.1177/0272989X211027181)
5. [Non-Asymptotic Bounds of AIPW Estimators for Means with Missingness at Random (Mathematics, MDPI, 2023)](https://www.mdpi.com/2227-7390/11/4/818)
6. [Improved Doubly Robust Estimation in Marginal Mean Models (Journal of Causal Inference)](https://www.degruyterbrill.com/document/doi/10.1515/jci-2020-0015/html?lang=en)
7. [Chapter 12 Doubly Robust Estimation | Causal Inference (Oxford APTS lecture notes)](https://www.stats.ox.ac.uk/~evans/APTS/dr.html)
8. [A review and evaluation of doubly robust approaches for estimating average treatment effects (Behavior Research Methods)](https://link.springer.com/article/10.3758/s13428-026-02999-x)
9. [Efficiency and robustness of doubly robust estimators (Biometrika 2009)](https://academic.oup.com/biomet/article-pdf/96/3/723/38625237/biomet_96_3_723.pdf)
10. [Analysis of Incomplete Data Using Inverse Probability Weighting and Doubly Robust Estimators (Methodology)](https://econtent.hogrefe.com/doi/10.1027/1614-2241/a000005)
11. [A General Double Robustness Result for Estimating Average Treatment Effects (IZA DP 8084)](https://docs.iza.org/dp8084.pdf)
12. [Adam N. Glynn, Kevin M. Quinn (2009). An Introduction to the Augmented Inverse Propensity Weighted Estimator. Political Analysis.](https://doi.org/10.1093/pan/mpp036)
13. [Augmented Inverse Probability Weighting • AIPW (package documentation)](https://yqzhong7.github.io/AIPW/index.html)
14. [Collaborative Double Robust Targeted Maximum Likelihood Estimation (International Journal of Biostatistics)](https://pmc.ncbi.nlm.nih.gov/articles/PMC2898626/)
15. [An Introduction to Double/Debiased Machine Learning (IZA DP 18438)](https://docs.iza.org/dp18438.pdf)
16. [Victor Chernozhukov and colleagues (2017). Double/debiased machine learning for treatment and structural parameters. Econometrics Journal.](https://doi.org/10.1111/ectj.12097)

---
*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 › Estimation: overview

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/augmented-inverse-probability-weighting

English original: https://www.edgepedia.org/augmented-inverse-probability-weighting
