Health economists measure whether care is fairly distributed with the concentration index. They rank people from poorest to richest and ask whether the poor or the rich receive a disproportionate share of, say, hospital admissions. To separate unfair inequality from legitimate medical need, they then split that index into a part explained by "need" (age, sex, chronic illness) and a part explained by everything else (income, education, insurance, location). The split comes from a linear regression. A linear model cannot represent the cases equity research most cares about, such as income mattering only for the chronically ill, or education changing how an older person turns symptoms into a clinic visit. In those cases the method has no place to put the inequity, so it is either hidden or charged to the wrong factor.
We propose to fit the utilization model with gradient boosted decision trees, which are ensembles of small decision trees fit one after another to correct the previous trees' errors. We then decompose the concentration index using exact Shapley attributions for trees. A Shapley attribution splits each person's prediction into additive per-feature credits, and the version for trees also yields pairwise interaction credits. The concentration index is linear in the outcome once ranks are fixed, so these per-person credits add up exactly to a decomposition of the index. The result has a third component that the standard method cannot produce: inequality generated jointly by need and non-need factors. Our central question is empirical. On real survey data, is this interaction component large enough to change conclusions about horizontal inequity?
Core Claim
Write $r_i$ for person $i$'s fractional socioeconomic rank, $\mu$ for mean utilization, and $\hat y_i$ for the model's predicted utilization. The concentration index of predictions is $\text{CI}(\hat y) = 2\,\text{cov}(\hat y, r)/\mu$. A tree model's prediction splits exactly as $\hat y_i = \phi_0 + \sum_j \phi_{ij} + \sum_{j<k} \Phi_{ijk}$. Here $\phi_{ij}$ is the main-effect credit of feature $j$ for person $i$, and $\Phi_{ijk}$ is the interaction credit shared by features $j$ and $k$. Because covariance is linear, this gives
$$\text{CI}(\hat y) = \sum_j \frac{2\,\text{cov}(\phi_j, r)}{\mu} + \sum_{j<k} \frac{2\,\text{cov}(\Phi_{jk}, r)}{\mu}.$$
We group the terms into need, non-need, and need-by-non-need blocks. That yields a nonlinear horizontal inequity index with an explicit interaction share. Wagstaff's normalization for binary outcomes, which divides by $(1-\mu)$, rescales every term by the same factor, so the decomposition carries over to binary indicators like inpatient admission unchanged.
The claim is not that boosted trees predict utilization better; that would be unremarkable. The claim is that the decomposition is exact and has an interaction block, and that this block is measurably nonzero in the data where linear decomposition is currently the standard. The research file explicitly lists two open problems that motivate this: linear additive need decomposition, and the isolation of concentration metrics from machine learning pipelines.
Research Program
The motivating study is the analysis of rural China after healthcare reform, Horizontal inequity trends of health care utilization in rural China after the medicine and healthcare system reform. It used linear decomposition on 74,773 person-times from five waves of the China Family Panel Studies (CFPS), 2010–2018. It found pro-poor concentration and horizontal inequity indices, with more than 50% of the pro-poor inequality attributed to need factors. Education's contribution to outpatient inequity grew to 14.2% by 2018, and outpatient horizontal inequity briefly turned pro-rich in 2012 under the inpatient-oriented reimbursement rules of the New Rural Cooperative Medical Scheme. These are precisely conclusions an interaction term could revise. The education share might partly be education changing how chronic illness translates into visits, and the 2012 reversal is plausibly an insurance-by-need effect. Our method supplies the decomposition machinery; this paper supplies the replication target and the substantive hypotheses.
The pipeline has four steps. First, out-of-fold cross-fitting: each person's attributions come from a model that never saw them, so memorized noise cannot inflate feature contributions. Second, interventional tree attributions with a fixed background sample, so credits answer the question "what if this feature changed." Third, blockwise aggregation into need, non-need, and interaction components. Fourth, bootstrap intervals over households.
We will also report a counterfactual need-standardization that stays closer to the econometric definition of horizontal inequity. Each person's non-need features are set to the population reference value and predictions are recomputed, and the resulting index is compared to the Shapley version.
The secondary application is clinical model auditing. The same decomposition, applied to a deployed risk model, tells whether the model's predicted risk is concentrated among the poor because of clinical need or because of socioeconomic inputs and their interactions. A test of whether two groups receive equal positive rates cannot separate those causes. We would run this on the 2018 NHSS Gansu sample of diabetic households studied by Dang et al.. That study found catastrophic expenditure incidence of 75.19% at a 15% income threshold, a negative concentration index, and the greatest vulnerability below 5,000 CNY per capita. The question there is how much of that financial-risk concentration is driven by disease severity interacting with income.
Baselines
The naive reference point is the raw concentration index with no need adjustment. It shows how much any standardization moves the answer.
The primary baseline is the standard linear decomposition as implemented in the CFPS study. That means a linear probability model (or a probit linearized at the means) with need and non-need regressors, and horizontal inequity computed as actual minus need-predicted concentration. We will first reproduce that paper's published utilization rates: outpatient 20.60% to 27.83%, and inpatient 7.97% to 14.40%. We will also reproduce its qualitative findings: need share above 50%, education share of 14.2% in 2018, and the positive outpatient index in 2012. Only then will we treat our replication as faithful. The file gives these shares but no numeric horizontal inequity values; no reported result found on Lacuna for the HI magnitudes themselves.
The strongest competitor is a flexible additive model with selected pairwise interactions: penalized splines on each feature plus explicitly modeled need-by-non-need product terms. This is what a careful econometrician would fit instead of boosted trees. It also admits the same exact covariance decomposition, since its terms are additive.
All models will use the same CFPS waves, the same feature sets and need/non-need assignments, survey weights, and identical cross-fitting folds. Each model gets a matched tuning budget of 100 configurations selected by out-of-fold log loss.
The key ablation is boosted trees restricted to depth-one trees. These are nonlinear but strictly additive, so they have zero interaction credits. Comparing depth one against deeper trees isolates exactly what interactions contribute.
Beating the baselines means two things. The interaction block must have a bootstrap interval excluding zero and account for at least 10% of the absolute concentration index in at least one wave. And the spline-plus-products model must fail to recover a comparable interaction share without hand-specifying the relevant pair.
Why not just…?
Why not just add interaction terms to the linear regression? This is the real threat, which is why the spline-with-products model is our strongest baseline rather than a straw man. If analysts already know which need-by-income pairs matter, explicit products recover them, and our contribution reduces to search. The experiment settles this directly. If the trees' top interaction pairs, once added by hand to the additive model, close the gap, we will report that boosted trees serve as an interaction-discovery tool for econometric models rather than a replacement. That is still a useful but narrower result.
Why not just use the existing nonlinear (probit or logit) decomposition? Those methods linearize around the sample means. The interaction structure they capture comes from the link function, not from the data, and the decomposition is approximate. Our method is exact by construction for the fitted model. The depth-one ablation and the probit baseline will show whether the link-function curvature alone reproduces the tree interaction share.
Why not just run standard fairness audits on a predictive model? Equal-positive-rate checks compare discrete groups. They neither use a continuous socioeconomic ranking nor separate need from non-need. A pro-poor concentration that is entirely need-justified would be flagged as disparity. The CFPS finding that more than half of the inequality is need-driven shows how misleading that would be. We will show this on Gansu by contrasting fairness metrics with the decomposed index.
Proposed Experiments
The first experiment uses synthetic data with known structure. We generate CFPS-like populations whose utilization contains planted need-by-income and need-by-education interactions of controlled size, plus correlated features. We check whether each method recovers the true blockwise concentration contributions, measured by absolute error in each block. The decisive outcome is that boosted-tree attributions recover the planted interaction block when it exists, while the linear method misassigns it to main effects. The hard case is correlated features, where interventional attributions are known to be unstable. There we test whether the blocked decomposition stays stable even if individual feature credits do not.
The second experiment runs the full comparison on CFPS 2010–2018 for outpatient and inpatient use, wave by wave. The decisive checks are whether the interaction block is nonzero and whether it revises either the 2012 pro-rich reversal or the education share. We will verify that predictive gains are not the driver by reporting out-of-fold log loss alongside, and by requiring that conclusions survive when the boosted model is restricted to match the additive model's predictive accuracy.
The third experiment applies the decomposition to catastrophic expenditure risk in the Gansu NHSS diabetic sample. It reports how much of the negative concentration index is need, income, or their interaction, contrasted with standard group fairness metrics.
A negative result, with interaction shares indistinguishable from zero across waves, would also be informative. It would tell the field that linear need standardization, despite its assumptions, is adequate for this data.
References
- Horizontal inequity trends of health care utilization in rural China after the medicine and healthcare system reform: based on longitudinal data from 2010 to 2018
- Factors influencing catastrophic health expenditure of households with people with diabetes in Northwest China-an example from Gansu Province