- Introduced by
- Ronald Oaxaca; Alan Blinder (health extension popularized by Fairlie and others)
- Year
- 1973
- Type
- Regression-based decomposition of a between-group mean gap in a health outcome
- Family
- Counterfactual mean decomposition / explained-unexplained partition
What does it do?
The Oaxaca-Blinder decomposition splits the mean difference in a health outcome between two groups into an explained part, due to differences in their measured characteristics, and an unexplained part, due to differences in how those characteristics relate to health.
Ronald Oaxaca and Alan Blinder introduced it in 1973 to study labor-market wage gaps, and social epidemiologists later applied it to gaps by race, urban-rural residence, or income in outcomes such as self-rated health, BMI, hypertension, and mortality. Separate regressions are fitted for each group, the gap in fitted means is written in terms of mean covariates and coefficients, and that gap is partitioned into composition and coefficient components, each of which can be broken down variable by variable.
The intuition behind the method
Imagine two populations with a real difference in average blood pressure. Part of that difference may be straightforward: one group is older, poorer, more likely to smoke, and has worse access to care, and those exposures themselves push blood pressure up. If you could give the disadvantaged group the same age, income, smoking, and access profile as the advantaged group, how much of the gap would close? That closable part is the 'explained' component, driven by differences in the distribution of risk factors. But suppose a gap remains even after equalizing the profiles. That leftover means the same risk factor buys different health in the two groups, perhaps because of discrimination, chronic stress, unmeasured environmental hazards, or differential treatment by the health system. That residual is the 'unexplained' component, lodged in the regression coefficients rather than the covariate means. Oaxaca-Blinder is the bookkeeping device that cleanly separates 'they differ because their exposures differ' from 'they differ because the same exposure does something different to them.'
History
The decomposition originates in labor economics. Ronald Oaxaca's 1973 International Economic Review paper on male-female wage differentials and Alan Blinder's 1973 Journal of Human Resources paper on wage discrimination each proposed splitting a mean wage gap into a part due to differing characteristics and a part due to differing coefficients. The approach was then applied to other group gaps. Fairlie's 2005 extension to logit and probit models made the approach usable with binary outcomes, which include many health outcomes; that paper also analyzes how the decomposition estimates respond to different parameter choices. Its use in health followed as social epidemiologists applied it to racial, socioeconomic, and geographic disparities. Rahimi and Hashemi Nazari (2021) gave a detailed, graphical explanation of the method with a health-inequality application and reviewed some criticisms of the model.
When to use it
Use Oaxaca-Blinder health decomposition when you observe a mean difference in a health outcome between two well-defined groups and want to know how much of that disparity is attributable to differences in measured risk factors versus differences in the effects of those risk factors. It is appropriate when you have individual-level data with a rich, comparable covariate set in both groups, when the comparison is genuinely two-group (or can be reduced to one), and when the goal is descriptive accounting of a gap rather than estimation of a single causal effect. Reach for the nonlinear (Fairlie) variant when the outcome is binary and modelled with a logit or probit; count outcomes fall outside this variant. The method is less suitable when the covariates are sparse or non-comparable across groups, when the outcome distributions barely overlap, or when stakeholders will misread the unexplained component as a clean estimate of discrimination; it should be paired with sensitivity analysis over the reference-coefficient choice and explicit caveats about omitted variables.
Limitations and considerations
- The split depends on the choice of reference coefficients (the index-number problem), so the explained-unexplained partition is not unique.
- The unexplained component also absorbs omitted-variable bias and the effects of unmeasured characteristics, so it is often over-interpreted as a pure measure of discrimination.
- It is a descriptive decomposition of means, not a causal estimator, and it rests on an implicit counterfactual in which one group's covariates or coefficients are substituted while everything else is held fixed.
- Detailed unexplained contributions for categorical variables are sensitive to the omitted reference category, which complicates per-variable interpretation.
- In the nonlinear extension, the estimates depend on the order of substitution and the pairing of observations across groups.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Splits a group gap in a health outcome into a composition component and a returns component, so a reader can see whether a disparity reflects different exposures or different effects of the same exposures.
- The explained component is a sum of per-covariate terms, so each exposure's compositional contribution can be reported separately, which helps identify candidate modifiable factors.
- In the linear case the decomposition is an exact algebraic identity once group means are evaluated at the group's mean covariates, so the split introduces no approximation beyond the fitted regressions.
- Fairlie's logit and probit extension carries the explained-unexplained logic over to binary health outcomes such as hypertension or diabetes.
Applications
- Quantifying how much of a racial or ethnic gap in hypertension, obesity, or self-rated health is explained by socioeconomic exposures versus differential returns.
- Decomposing urban-rural or regional disparities in access to care, immunization, or chronic-disease prevalence.
- Analyzing income- or education-related gaps in health behaviors such as smoking, physical activity, and diet.
- Comparing health-disparity decompositions across countries or over time to assess whether composition or returns are widening gaps.
- Attributing disparities in birth outcomes or child health to maternal characteristics versus differential effects of those characteristics.
How it works
How it works
The pipeline begins by estimating a separate regression of the health outcome on a common set of covariates within each of the two groups, A and B. Each regression yields its own coefficient vector, so the returns to age, income, education, behavior, and access are allowed to differ entirely across groups rather than being forced to share a single slope. Evaluating each fitted model at the group's mean covariates reproduces that group's mean outcome exactly for linear models, which is what makes the subsequent algebra an identity rather than an approximation. Estimating distinct coefficient vectors is essential, because the whole logic of the unexplained component rests on the two groups having potentially different returns to the same characteristics.
Formula
Y_{gi} = X_{gi}^{\top}\beta_g + \varepsilon_{gi},\quad g\in\{A,B\},\ \ \hat{\bar{Y}}_g = \bar{X}_g^{\top}\hat\beta_gNext the analyst writes the observed mean gap in the health outcome as the difference between the two groups' fitted means, each expressed as mean covariates multiplied by group-specific coefficients. This re-expression turns a raw difference in averages into a structured object built from interpretable quantities: how the groups differ in their average exposures and how they differ in their coefficients. Casting the gap in this form is the bridge between a descriptive disparity and a decomposition, because it exposes the two distinct sources, composition and coefficients, that the next step will separate.
Formula
\Delta = \bar{Y}_A - \bar{Y}_B = \bar{X}_A^{\top}\hat\beta_A - \bar{X}_B^{\top}\hat\beta_BThe core step rearranges the gap into an explained part and an unexplained part using a reference (pooled or one group's) coefficient vector. The explained component multiplies the difference in mean covariates by reference coefficients, capturing how much of the gap would persist if both groups had the same returns but kept their actual exposure differences. The unexplained component collects the terms in which coefficients differ from the reference, capturing the gap that remains when exposures are held fixed but returns vary. Because there is no single correct reference, the choice of weighting (the index-number problem) must be stated explicitly, since it shifts how much of the gap lands in each component.
Formula
\Delta = \underbrace{(\bar{X}_A-\bar{X}_B)^{\top}\hat\beta^{*}}_{\text{explained (E)}} + \underbrace{\bar{X}_A^{\top}(\hat\beta_A-\hat\beta^{*}) + \bar{X}_B^{\top}(\hat\beta^{*}-\hat\beta_B)}_{\text{unexplained (U)}}Beyond the aggregate split, the method assigns each covariate its own explained and unexplained contribution by summing the per-variable terms. This detailed decomposition is what makes the technique valuable for social epidemiology: it answers not only how much of a health gap is compositional, but which specific exposures, such as income, smoking, or insurance, drive the compositional part, and where in the coefficient structure the unexplained gap concentrates. Care is needed because detailed unexplained contributions for individual variables are sensitive to the scaling and reference category of categorical predictors, an identification issue the analyst must address rather than ignore.
Formula
E = \sum_{k}(\bar{X}_{A,k}-\bar{X}_{B,k})\,\hat\beta^{*}_k,\quad U = \sum_{k}\bigl[\bar{X}_{A,k}(\hat\beta_{A,k}-\hat\beta^{*}_k)+\bar{X}_{B,k}(\hat\beta^{*}_k-\hat\beta_{B,k})\bigr]Many health outcomes are binary (has hypertension, is obese, died), and for such outcomes the linear identity does not hold exactly, because the mean outcome is not simply mean covariates times coefficients. Fairlie's extension works with predicted probabilities from a logit or probit model. The explained part compares the mean predicted outcome of group A with that of group B, both evaluated under group A's coefficients. The unexplained part compares group B's covariates under group A's coefficients with the same covariates under group B's coefficients. The result depends on the order of substitution and on how observations are paired across groups, so these choices should be stated and checked for sensitivity. The extension described here covers binary outcomes modelled by logit or probit; count outcomes require a different nonlinear decomposition and are not addressed on this page.
Formula
\bar{Y}_A-\bar{Y}_B = \Bigl[\tfrac{1}{N_A}\!\sum_{i} F(X_{Ai}\hat\beta_A) - \tfrac{1}{N_B}\!\sum_{i} F(X_{Bi}\hat\beta_A)\Bigr] + \Bigl[\tfrac{1}{N_B}\!\sum_{i} F(X_{Bi}\hat\beta_A) - \tfrac{1}{N_B}\!\sum_{i} F(X_{Bi}\hat\beta_B)\Bigr]Common pitfalls
- Reading the unexplained component directly as 'the effect of discrimination' while ignoring unmeasured confounders folded into it.
- Applying the linear identity to a binary health outcome instead of using the logit/probit extension, or applying the logit/probit extension to a count outcome, which it does not cover.
- Failing to report the reference-coefficient weighting, so readers cannot judge how much the partition depends on that arbitrary choice.
- Interpreting detailed contributions of dummy variables as stable when they shift with the chosen reference category.
Frequently asked questions
What exactly do the explained and unexplained components mean for a health gap?
The explained (composition) component is the part of the mean health gap that would remain if the two groups had identical returns to their characteristics but kept their actual differences in those characteristics, for example differing average income, age, smoking, or insurance. The unexplained (coefficient) component is the part that would remain if the groups had identical covariate distributions but kept their different coefficients, meaning the same exposure maps to different health. In health research the unexplained part is often interpreted as reflecting discrimination, chronic stress, or unmeasured exposures, but because it also absorbs omitted-variable bias it should not be read as a clean causal quantity.
Why does the choice of reference coefficients matter, and which should I use?
The decomposition requires a reference coefficient vector against which to measure both composition and returns, and there is no uniquely correct choice; this is the classic index-number problem. Using group A's coefficients, group B's coefficients, or a pooled estimate shifts how much of the gap is labeled explained versus unexplained. One option is coefficients from a pooled model that includes a group indicator, but no choice is universally correct. Report results under more than one reference and treat the partition as a range rather than a single number, so that readers can see how far the labeling depends on the weighting.
Can I use Oaxaca-Blinder when my health outcome is binary, like having diabetes or not?
Not with the plain linear identity, because for nonlinear models the mean outcome is not simply mean covariates times coefficients and the exact algebraic split no longer holds. Fairlie's 2005 extension handles binary outcomes with average predicted probabilities from a logit or probit model. The explained part compares group A and group B under group A's coefficients, and the unexplained part compares group B's covariates under the two coefficient vectors. This carries the explained-unexplained logic over to binary outcomes; count outcomes need a different nonlinear method. Results can still depend on the order of substitution and on how observations are paired across groups, so check their sensitivity.
Related methods
Sources
Oaxaca, R. (1973). Male-Female Wage Differentials in Urban Labor Markets. International Economic Review, 14(3), 693-709.
Open DOI referenceBlinder, A. S. (1973). Wage Discrimination: Reduced Form and Structural Estimates. The Journal of Human Resources, 8(4), 436-455.
Open DOI referenceFairlie, R. W. (2005). An Extension of the Blinder-Oaxaca Decomposition Technique to Logit and Probit Models. Journal of Economic and Social Measurement, 30(4), 305-316.
Open DOI referenceRahimi, E., & Hashemi Nazari, S. S. (2021). A detailed explanation and graphical representation of the Blinder-Oaxaca decomposition method with its application in health inequalities. Emerging Themes in Epidemiology, 18, 12.
Open DOI reference