Why Use Variable-Ratio Matching?
Matching pairs treated units with similar untreated units so that observed covariates are more comparable between groups. A fixed 1:1 match uses one control for each treated unit. But the number and quality of available controls can vary: one treated unit may have several close matches, while another has only one. Variable-ratio matching allows the number of controls to differ across treated units, subject to prespecified limits.
Using more than one control can make better use of available comparison units and may improve precision, especially when an additional control is close to the treated unit. It does not guarantee better balance or a more precise estimate in every data set. The distance criterion, ratio limits, allowable matches, retained population, and outcome analysis must all be specified and checked.
For a causal interpretation, the usual assumptions include consistency, conditional exchangeability, and positivity. Consistency means the observed outcome equals the potential outcome under the treatment actually received. Conditional exchangeability means \((Y(1),Y(0))\) is independent of \(A\) given measured \(X\); positivity requires \(0<e(X)<1\) for covariate profiles in the target population. These assumptions are not established by matching or by good balance diagnostics. Matching can improve comparability on measured covariates, but it cannot remove bias from unmeasured confounding.
Choosing and Minimizing a Distance Criterion
A matching algorithm needs a numerical rule for how close a treated-control pair is. One common choice is the absolute difference in estimated propensity scores. Another is the absolute difference in estimated logit propensity scores, \(\operatorname{logit}\{\hat e(X)\}=\log\{\hat e(X)/(1-\hat e(X))\}\), often divided by a scale such as the standard deviation of the logits. The scale and distance must be stated because the magnitude of a distance is meaningful only relative to its definition.
With variable ratios, the algorithm typically chooses both which controls go to each treated unit and how many controls each treated unit receives within allowed bounds. A common objective is to minimize the sum of treated-control distances across all assigned pairs, subject to constraints such as a minimum and maximum number of controls per treated unit, unique use of controls, and any caliper restriction. This is a global assignment problem: the best overall configuration need not result from giving each treated unit its individually closest control first.
Worked Example: Global Assignment With a 1-to-2 Ratio
Suppose two treated units must be matched to three controls without replacement. Each treated unit receives at least one control, and one receives two controls. The entries below are standardized propensity-score distances; smaller values mean closer matches.
| Control C1 | Control C2 | Control C3 | |
|---|---|---|---|
| Treated T1 | 0.10 | 0.20 | 0.90 |
| Treated T2 | 0.15 | 0.80 | 0.20 |
There are three feasible allocations, depending on which control is assigned to T1. If T1 receives C1, T2 receives C2 and C3, for total distance \(0.10+0.80+0.20=1.10\). If T1 receives C2, T2 receives C1 and C3, for \(0.20+0.15+0.20=0.55\). If T1 receives C3, T2 receives C1 and C2, for \(0.90+0.15+0.80=1.85\).
The minimum is \(0.55\), so the optimal allocation is T1 with C2 and T2 with C1 and C3. A greedy procedure that gives T1 its closest available control, C1, would instead produce total distance \(1.10\). The example shows why the criterion is minimized across the whole assignment rather than independently for each treated unit. Optimality here says only that this allocation minimizes the stated total distance under the stated ratio and no-reuse constraints.
Check Balance and the Matched Sets
After matching, assess balance on the covariates used to estimate the propensity score and on other important pretreatment covariates. A common summary is the standardized mean difference (SMD), the difference in group means divided by a standard deviation used as the scale. For a continuous covariate, a common denominator is the square root of the average of the two group variances. For a binary covariate, the difference in proportions can be standardized on a corresponding proportion-based scale. Report the definition used, and examine distributions as well as means when nonlinearities or extreme values matter.
For variable ratios, control summaries should respect the matched-set design. If each treated unit is to count equally for an ATT, each control in set \(i\) receives within-set weight \(1/k_i\), so that the controls in every set together have weight one. Assess balance using these weights or an equivalent matched-set summary, not by treating all matched controls as equally influential regardless of set size. Also inspect the distribution of pair distances, any caliper violations, the numbers of treated units retained and excluded, and whether some sets have unusually large ratios.
Worked Example: Interpreting a Balance Diagnostic
In a hypothetical matched cohort, a continuous baseline covariate has mean 42 and standard deviation 10 among retained treated units. The matched controls, summarized with equal total weight per treated unit, have mean 39 and standard deviation 12 before matching. Using the square root of the average variance as the standardizing denominator gives
After matching, suppose the treated and weighted-control means are 41 and 40, with standard deviations still 10 and 12. Then
The absolute SMD decreased, which is evidence of improved mean balance on this covariate. It is not proof of overall balance: a mean difference can conceal differences in spread, tails, or nonlinear relationships. The analyst should check the full covariate set and distributions rather than declare success from this one number.
Estimating the Matched-Sample ATT
For a matched set \(i\) containing one treated unit and \(k_i\) controls, calculate the treated outcome minus the average control outcome. The matched-sample ATT estimate is the average of these set-level contrasts across the \(M\) retained treated units. This gives each treated unit equal weight, whether its set has one control or several. It targets the average treatment effect among the treated units retained by the matching design; if treated units were excluded, it need not target the ATT among all originally treated units.
The equal-set weighting matters. Pooling all treated-control pairs and averaging their outcome differences can give more influence to treated units with larger \(k_i\). That is a different weighting scheme and generally does not equal the ATT estimator defined above.
Worked Example: ATT and Uncertainty From Variable-Size Sets
Suppose four treated units are retained in a hypothetical study of a health-function score, measured in points, with higher scores indicating better functioning. Their matched sets contain two, one, three, and two controls. The treated outcomes are 8, 7, 10, and 6. The control outcomes within the respective sets are \((6,6)\), \((8)\), \((7,8,9)\), and \((5,5)\).
The four control means are \(6\), \(8\), \(8\), and \(5\). Therefore the set-level contrasts are \(8-6=2\), \(7-8=-1\), \(10-8=2\), and \(6-5=1\) points. Averaging across the four treated units gives
For a simple uncertainty calculation, treat the four set-level contrasts as independent observations from a population of such contrasts. Their mean is \(1.00\), and their sample variance is
The standard error is \(SE=s_D/\sqrt{M}=1.414/\sqrt{4}=0.7071\) points. Under an approximate \(t\) interval with \(df=M-1=3\), the 95% critical value is 3.182, so the interval is
Under the stated approximation, the interval is compatible with effects ranging from a 1.25-point decrease to a 3.25-point increase in the score among the retained treated population. It includes zero and is wide. The calculation assumes independent set-level contrasts and uses a \(t\)-based approximation; it is illustrative, not a guarantee that this is the appropriate inferential procedure for every matched study.
Uncertainty, Diagnostics, and Alternatives
The set-level standard-error calculation is most defensible when sets are independent, there are enough sets for an approximation to be useful, and the distribution of set-level contrasts is not severely irregular. If controls are reused, sets share observations, or matching creates dependence, the independence calculation does not apply as written. Even without replacement, a small number of retained sets can make a \(t\) approximation unstable. The propensity score is estimated, and the matching operation itself is data-dependent; an interval that ignores these features may not fully represent sampling uncertainty. The uncertainty method should match the design and estimand, and its assumptions should be reported.
Useful failure signals include poor weighted balance on important covariates, a concentration of large pair distances, many treated units left unmatched, highly variable set sizes, or sensitivity of the match to reasonable changes in the distance or ratio limits. A caliper can prevent matches that are too distant, but may also exclude treated units. A low total distance does not certify covariate balance: the optimization targets its chosen distance, not every measured covariate or the outcome.
Fixed-ratio matching uses the same number of controls for every treated unit, making its weighting and set structure simpler but potentially discarding useful controls or forcing weak matches. Variable-ratio matching relaxes that constraint while retaining an ATT-oriented equal-treated-unit weighting rule. Full matching, treated in a separate context, permits sets with different numbers of treated and control units and can use different weights for comparative estimands; it is not interchangeable with the one-treated-per-set ATT estimator described here. Weighting methods avoid explicit pair assignment but rely on their own overlap and weight-stability diagnostics.
Specify whether the target is the ATT among all treated units or only retained treated units; choose a distance, ratio bounds, caliper, and control-reuse rule.
Use the global assignment criterion, then record set sizes, unmatched units, distances, and any exclusions.
Check weighted covariate balance, calculate one treated-minus-control-mean contrast per set, and average those contrasts for the matched-sample ATT.
Choose an uncertainty method that accounts for the matched design and state its assumptions; do not treat an illustrative independent-set calculation as universally valid.
Common Pitfall
A frequent error is to conclude that an optimal match must be balanced because it minimizes total propensity-score distance. The conclusion does not follow: the objective may be small while a covariate remains imbalanced, especially if that covariate contributes little to the chosen distance or if a few poor matches are offset by many very close ones. The correction is to treat optimization and diagnostics as distinct tasks: minimize the prespecified criterion, then report balance across relevant covariates, distance distributions, retention, and sensitivity to design choices.
A second error is to average all pair differences equally when some treated units have more controls. For an ATT that gives each retained treated unit equal influence, first average controls within each matched set, then average the set contrasts. Finally, describe the estimate as applying to the retained treated population unless the design supports a broader target.
Check Your Understanding
Answer the questions, then compare your reasoning with the solutions below.
- If a matched set has one treated unit and four controls, what weight does each control receive within the set when estimating an equal-treated-unit ATT?
- Why can a globally optimal assignment differ from matching each treated unit to its nearest available control in turn?
- A design retains 30 treated units out of 40 and estimates an ATT using their matched sets. Which treated population does the estimate directly describe?
- Name two diagnostics, other than total matching distance, that should be reported.
Solutions. (1) Each control receives within-set weight \(1/4\), so the four controls together have weight one for that treated unit. (2) A local choice uses a control that may be much more valuable in another set; minimizing total distance considers the assignments jointly under all constraints. (3) It directly describes the 30 retained treated units, not automatically all 40 originally treated units. (4) Suitable answers include weighted covariate balance, pair-distance distribution, set-size distribution, caliper violations, and treated-unit retention or exclusions.