# 奥克萨卡—布林德分解（Oaxaca–Blinder decomposition）

奥克萨卡—布林德分解是一种统计方法，它把两组之间的平均结果差异（例如工资差距）拆分为两部分：一部分由可观测特征的差异解释，另一部分是未解释的残差部分。该方法于 1973 年发表的论文中引入经济学，至今仍是应用经济学家的标准工具，并被广泛用于研究性别或种族工资差距。<sup>[1](https://doi.org/10.2307/2525981)</sup><sup> • </sup><sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup><sup> • </sup><sup>[3](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)</sup>

| 关键事实 | 细节 |
|---|---|
| 输出 | 将平均差距拆分为已解释（构成）成分和未解释（系数或工资结构）成分<sup>[3](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)</sup> |
| 底层回归 | 对每一组分别做线性回归，采用普通最小二乘法<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> |
| 三重分解 | 禀赋效应、系数效应和交互项<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> |
| 指数问题 | 已解释和未解释成分取决于以哪一组的系数作为参照，尽管二者之和不变<sup>[4](https://economics.ucr.edu/wp-content/uploads/2019/11/Oaxaca-grad-sem-paper-for-4-14-09.pdf)</sup> |
| 解释注意事项 | 未解释部分常被用作歧视度量，但也包含未观测预测变量的组间差异<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> |
| 推断 | 德尔塔法或自助法，使用两组系数与均值估计的合并方差<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> |
| 软件 | Stata 的 `oaxaca`、R 的 `oaxaca`、Python 的 statsmodels，以及 SAS 宏 `%BO_decomp`<sup>[5](https://cran.r-project.org/web/packages/oaxaca/vignettes/oaxaca.pdf)</sup><sup> • </sup><sup>[6](https://www.statsmodels.org/stable/_modules/statsmodels/stats/oaxaca.html)</sup><sup> • </sup><sup>[7](https://link.springer.com/article/10.1186/s12982-021-00100-9)</sup> |

## 工作原理

设 A 组和 B 组的平均结果分别为 \( \bar{Y}_{A} \) 和 \( \bar{Y}_{B} \)，并在每一组内分别运行线性回归。总体两重分解将差距写为<sup>[8](https://www.sciencedirect.com/science/chapter/handbook/abs/pii/S0169721811004072)</sup>

\[ \hat{\Delta}^{O}_{\mu} = (\hat{\beta}_{B0} - \hat{\beta}_{A0}) + \sum_{k=1}^{K} \bar{X}_{Bk} \cdot (\hat{\beta}_{Bk} - \hat{\beta}_{Ak}) + \sum_{k=1}^{K} (\bar{X}_{Bk} - \bar{X}_{Ak}) \cdot \hat{\beta}_{Ak} \]

截距差异与第一个求和项共同构成未解释的工资结构效应，其驱动因素是系数差异（特征回报差异）；第二个求和项是已解释的构成效应，其驱动因素是以某一组系数评价的平均特征差异。<sup>[8](https://www.sciencedirect.com/science/chapter/handbook/abs/pii/S0169721811004072)</sup><sup> • </sup><sup>[3](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)</sup> 在项目评估的类比中，工资结构效应对应于处理组平均处理效应，构成效应对应于选择偏误。<sup>[3](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)</sup>

三重变体增加一个交互项，以考虑两组之间禀赋差异和系数差异同时存在这一事实。<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> 两重变体则在非歧视参照系数向量 \( \beta^{*} \) 上评价系数差距。<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> 使用哪一个向量就是指数问题：分别计算出的已解释成分和未解释成分会因假定哪一组的工资结构为基准而不同，尽管二者之和相同。<sup>[4](https://economics.ucr.edu/wp-content/uploads/2019/11/Oaxaca-grad-sem-paper-for-4-14-09.pdf)</sup> 文献还区分出第二个识别问题：一组虚拟变量的系数效应并不随参照组的选择而保持不变。<sup>[9](https://epflicht.ulb.uni-bonn.de/download/pdf/251109)</sup>

## 如何实施

研究者指定结果变量和协变量，对两组分别运行回归，并计算参数差异部分和禀赋差异部分。<sup>[10](https://www.accessecon.com/pubs/EB/2007/Volume3/EB-07C00003A.pdf)</sup> 由于分别使用某一组或另一组的禀赋所得到的两种歧视度量数值并不相同，研究者会同时报告两者，或采用参照系数规则：使用某一组的系数、两组系数的等权平均（赖默斯加权）、按观测数加权的平均，或混合回归的系数。<sup>[10](https://www.accessecon.com/pubs/EB/2007/Volume3/EB-07C00003A.pdf)</sup><sup> • </sup><sup>[5](https://cran.r-project.org/web/packages/oaxaca/vignettes/oaxaca.pdf)</sup>

标准误需要谨慎处理，因为回归变量是随机的：扬的 Stata 实现使用各组模型系数与均值估计的合并方差—协方差矩阵，通过德尔塔法获得标准误。<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup> R 包 `oaxaca` 使用自助法标准误，默认 100 次重复；statsmodels 默认自助 5,000 次迭代。<sup>[5](https://cran.r-project.org/web/packages/oaxaca/vignettes/oaxaca.pdf)</sup><sup> • </sup><sup>[6](https://www.statsmodels.org/stable/_modules/statsmodels/stats/oaxaca.html)</sup> 将回归变量视为固定会显著低估禀赋效应的标准误，这一点在伪面板情境中很重要。<sup>[11](https://www.mdpi.com/2225-1146/13/3/27)</sup> 海因里希斯和肯尼迪在萨尔基弗（1976）的基础上提出一种计算技巧：用一个虚构观测和一个虚拟变量同时估计两组的回归，使虚拟变量系数等于歧视度量；其置信区间仅在两组误差方差相等时有效。<sup>[10](https://www.accessecon.com/pubs/EB/2007/Volume3/EB-07C00003A.pdf)</sup>

## 起源

该分解的经济学版本由罗纳德·奥克萨卡（Ronald Oaxaca）在《城市劳动力市场中的男女工资差异》（《国际经济评论》，1973）中提出；该文估计了美国女性劳动者面临的歧视的平均程度，并将系数差异成分解释为贝克尔歧视系数。<sup>[1](https://doi.org/10.2307/2525981)</sup><sup> • </sup><sup>[12](https://docs.iza.org/dp16188.pdf)</sup> 《人力资源杂志》上的一篇论文将两组之间的平均工资差异表示为可归因于禀赋差异、系数差异以及二者交互作用的差异之和。<sup>[12](https://docs.iza.org/dp16188.pdf)</sup>

该方法在经济学之外有更早的根源。伊夫林·M·北川（Evelyn M. Kitagawa）于 1955 年在《美国统计协会杂志》发表《两个比率之间差异的构成》；北川分解与奥克萨卡—布林德分解仅在结果为二值、所有协变量都是互斥指示变量且使用 OLS 线性概率模型时才一致，这一联系由奥克萨卡和谢尔明斯卡（Sierminska）阐明。<sup>[13](https://doi.org/10.1080/01621459.1955.10501299)</sup><sup> • </sup><sup>[12](https://docs.iza.org/dp16188.pdf)</sup> 一部参考工具书的条目指出，该方法先在社会学中流行，之后才在实证经济学中得到广泛使用。<sup>[14](https://link.springer.com/rwe/10.1007/978-981-19-4166-5_15)</sup>

## 变体

参照系数规则是最早的变体：科顿（Cotton，1988）提出以两组估计系数的加权平均作为非歧视系数，诺伊马克（Neumark，1988）提出使用混合回归的系数；奥克萨卡和兰塞姆（Ransom，1994）为这些选择给出了统一框架。<sup>[15](https://doi.org/10.2307/1928307)</sup><sup> • </sup><sup>[16](https://doi.org/10.2307/145830)</sup><sup> • </sup><sup>[17](https://doi.org/10.1016/0304-4076%2894%2990074-4)</sup>

分布扩展超越了均值。马查多（Machado）和马塔（Mata，2005）提出使用分位数回归对工资分布进行反事实分解；也有人提出重加权程序；菲尔波（Firpo）、福廷（Fortin）和勒米厄（Lemieux，2009）提出再中心化影响函数（RIF）回归，该方法是路径无关的。<sup>[18](https://doi.org/10.1002/jae.788)</sup><sup> • </sup><sup>[3](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)</sup> 在 RIF 分解中，结果变量被替换为所关注统计量（如基尼系数）的组别特定再中心化影响函数；重加权变体计算使两组特征分布平衡的权重，从而得到四项分解。<sup>[19](http://fmwww.bc.edu/RePEc/dsug2025/Germany25_Jann.pdf)</sup> 费尔利（Fairlie，2005）将该技术扩展到 Logit 和 Probit 模型，辛宁（Sinning）、哈恩（Hahn）和鲍尔（Bauer，2008）在 Stata 中实现了非线性模型分解。<sup>[20](https://doi.org/10.3233/jem-2005-0259)</sup><sup> • </sup><sup>[21](https://doi.org/10.1177/1536867x0800800402)</sup>

## 应用

典型应用是性别和种族工资差距以及劳动力市场歧视的度量。<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup><sup> • </sup><sup>[14](https://link.springer.com/rwe/10.1007/978-981-19-4166-5_15)</sup> 该方法适用于任意两组之间健康结果的不平等；在一个健康示例中，可观测协变量的差异约占总差距的 75%（0.867/1.156）。<sup>[7](https://link.springer.com/article/10.1186/s12982-021-00100-9)</sup> 两重分解已在常用软件中实现，并被官方统计机构使用。<sup>[22](https://arxiv.org/html/2411.07368)</sup> 一项 2025 年针对哥伦比亚的伪面板应用分解了约 15% 的性别工资差距，该差距有利于男性队列。<sup>[11](https://www.mdpi.com/2225-1146/13/3/27)</sup>

## 局限与替代方法

未解释部分是一种核算残差，而不是歧视的度量：它包含了未观测预测变量中的组间差异，而遗漏控制变量会使分解高估歧视，因为价格效应把歧视和未观测特征差异加总在一起。<sup>[2](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)</sup><sup> • </sup><sup>[23](https://economiaemanagement.dip.unipv.it/sites/dip10/files/2022-04/DEMWP0170.pdf)</sup> 标准分解只估计相对差异，因此无法判断未解释差距中有多少来自对某一组的偏袒，多少来自对另一组的歧视。<sup>[4](https://economics.ucr.edu/wp-content/uploads/2019/11/Oaxaca-grad-sem-paper-for-4-14-09.pdf)</sup> 对于分类协变量，总体估计不随所省略的参照组而变，但各个虚拟变量组的贡献并非如此。<sup>[4](https://economics.ucr.edu/wp-content/uploads/2019/11/Oaxaca-grad-sem-paper-for-4-14-09.pdf)</sup> 赋予各成分因果含义需要强假设，而这些假设往往缺乏明确论证。<sup>[22](https://arxiv.org/html/2411.07368)</sup>

参照系数的选择在实践中很重要。一种常用的、不含组别指示变量的混合分解会系统性地高估可观测特征的贡献并低估未解释差异；其作者得出结论，不应使用它来区分已解释差距和未解释差距。<sup>[24](https://docs.iza.org/dp4159.pdf)</sup> 原始方案也是路径依赖的，会依据假定的顺序将同时发生的因素变化的联合效应归因于某一因素，而比文（Biewen，2012）的修正方案将交互项分离出来；不同方案之间的实证结果可能明显不同。<sup>[25](https://publications.jrc.ec.europa.eu/repository/bitstream/JRC125119/JRC125119_01.pdf)</sup>

替代方法包括朱恩—墨菲—皮尔斯分解和格尔巴赫（Gelbach）的遗漏变量偏误（OVB）公式分解，后者是路径无关的。<sup>[23](https://economiaemanagement.dip.unipv.it/sites/dip10/files/2022-04/DEMWP0170.pdf)</sup> 自 2023 年以来，扩展包括：一种双重机器学习版本的分解，它使用奈曼正交得分以根号 n 一致速率估计反事实均值，改善了高维或稀疏协变量下的表现；以及一种双重稳健的北川—奥克萨卡—布林德估计量，使用双重机器学习以避免截断和外推。<sup>[26](https://www.sciencedirect.com/science/article/abs/pii/S0165176525003623)</sup><sup> • </sup><sup>[27](https://arxiv.org/html/2511.13433v1)</sup>

## References

1. [Ronald Oaxaca (1973). Male-Female Wage Differentials in Urban Labor Markets. International Economic Review.](https://doi.org/10.2307/2525981)
2. [A Stata implementation of the Blinder-Oaxaca decomposition (Ben Jann, Stata Journal / ETH Zurich WP)](https://repec.ethz.ch/ets/papers/jann_oaxaca.pdf)
3. [Decomposition Methods in Economics (Fortin, Lemieux & Firpo, Handbook of Labor Economics working version)](https://economics.ubc.ca/wp-content/uploads/sites/38/2013/05/pdf_paper_nicole-fortin-decomposition-methods.pdf)
4. [The Econometrics of Wage Decompositions (Ronald L. Oaxaca lecture notes)](https://economics.ucr.edu/wp-content/uploads/2019/11/Oaxaca-grad-sem-paper-for-4-14-09.pdf)
5. [oaxaca: Blinder-Oaxaca Decomposition in R (Hlavac, JSS vignette)](https://cran.r-project.org/web/packages/oaxaca/vignettes/oaxaca.pdf)
6. [statsmodels.stats.oaxaca source documentation (statsmodels 0.15.0)](https://www.statsmodels.org/stable/_modules/statsmodels/stats/oaxaca.html)
7. [A detailed explanation and graphical representation of the Blinder-Oaxaca decomposition method with its application in health inequalities (BMC Public Health family, 2021)](https://link.springer.com/article/10.1186/s12982-021-00100-9)
8. [Decomposition Methods in Economics (Handbook of Labor Economics, Elsevier chapter page)](https://www.sciencedirect.com/science/chapter/handbook/abs/pii/S0169721811004072)
9. [An Alternative Estimator for Industrial Gender Wage Gaps: A Normalized Regression Approach (working paper)](https://epflicht.ulb.uni-bonn.de/download/pdf/251109)
10. [A Computational Trick for Calculating the Blinder-Oaxaca Decomposition and its Standard Error (Heinrichs & Kennedy, Economics Bulletin 2007)](https://www.accessecon.com/pubs/EB/2007/Volume3/EB-07C00003A.pdf)
11. [Pseudo-Panel Decomposition of the Blinder–Oaxaca Gender Wage Gap (Econometrics/MDPI, 2025)](https://www.mdpi.com/2225-1146/13/3/27)
12. [Oaxaca-Blinder Meets Kitagawa: What Is the Link? (Oaxaca & Sierminska, IZA DP No. 16188; published PLOS ONE 2025)](https://docs.iza.org/dp16188.pdf)
13. [Evelyn M. Kitagawa (1955). Components of a Difference Between Two Rates*. Journal of the American Statistical Association.](https://doi.org/10.1080/01621459.1955.10501299)
14. [Decompositions: Accounting for Discrimination (Popli, 2023, Handbook on Economics of Discrimination and Affirmative Action, Springer; Sheffield PDF copy merged here)](https://link.springer.com/rwe/10.1007/978-981-19-4166-5_15)
15. [Jeremiah Cotton (1988). On the Decomposition of Wage Differentials. The Review of Economics and Statistics.](https://doi.org/10.2307/1928307)
16. [David Neumark (1988). Employers' Discriminatory Behavior and the Estimation of Wage Discrimination. The Journal of Human Resources.](https://doi.org/10.2307/145830)
17. [On discrimination and the decomposition of wage differentials (Journal of Econometrics, 1994)](https://doi.org/10.1016/0304-4076%2894%2990074-4)
18. [José A. F. Machado, José Mata (2005). Counterfactual decomposition of changes in wage distributions using quantile regression. Journal of Applied Econometrics.](https://doi.org/10.1002/jae.788)
19. [The Oaxaca-Blinder decomposition in Stata: an update (Ben Jann, 2025 German Stata User Meeting)](http://fmwww.bc.edu/RePEc/dsug2025/Germany25_Jann.pdf)
20. [Robert W. Fairlie (2005). An extension of the Blinder-Oaxaca decomposition technique to logit and probit models. Journal of Economic and Social Measurement.](https://doi.org/10.3233/jem-2005-0259)
21. [Mathias Sinning, Markus Hahn, Thomas K. Bauer (2008). The Blinder–Oaxaca Decomposition for Nonlinear Regression Models. The Stata Journal Promoting communications on statistics and Stata.](https://doi.org/10.1177/1536867x0800800402)
22. [Traditional and modern approaches to decomposing social disparities (arXiv, 2024)](https://arxiv.org/html/2411.07368)
23. [Assessing Changes in Wage Gaps: A New Approach (DEM Working Paper, Pavia)](https://economiaemanagement.dip.unipv.it/sites/dip10/files/2022-04/DEMWP0170.pdf)
24. [Unexplained Gaps and Oaxaca-Blinder Decompositions (Elder, Goddeeris, Haider, IZA DP 4159; published Labour Economics 2010)](https://docs.iza.org/dp4159.pdf)
25. [Decomposition scheme matters more than you may think (Naszodi et al., EU JRC)](https://publications.jrc.ec.europa.eu/repository/bitstream/JRC125119/JRC125119_01.pdf)
26. [Double machine learning for Oaxaca-Blinder decomposition (Economics Letters, 2025)](https://www.sciencedirect.com/science/article/abs/pii/S0165176525003623)
27. [Decomposing Inequalities using Machine Learning and Overcoming Common Support Issues (arXiv, November 2025)](https://arxiv.org/html/2511.13433v1)

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

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Statistical inference, estimation, sampling, and testing › Regression analysis

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/oaxaca-blinder-decomposition

English original: https://www.edgepedia.org/oaxaca-blinder-decomposition
