Propensity Score Matching

Statistics
Introduced by
Paul Rosenbaum and Donald Rubin
Year
1983
Type
Method
Family
causal-inference

What does it do?

Propensity score matching (PSM) is a method for reducing confounding bias in observational studies by balancing measured baseline characteristics between treatment groups, so that the groups approximate randomisation for those characteristics.

Developed by Rosenbaum and Rubin (1983), it estimates each unit's probability of receiving treatment given observed covariates, then matches or weights treated and comparison units with similar probabilities. It is used when randomisation is infeasible or unethical, but its validity depends on all relevant confounders having been measured.

The intuition behind the method

In a randomised trial, randomisation balances baseline characteristics across groups on average, which allows the outcome difference to be read as a causal effect. In observational data, treated and untreated people often differ systematically, so comparing their outcomes mixes the treatment effect with those pre-existing differences. PSM estimates each person's probability of treatment from their baseline characteristics. Treated and untreated people with similar probabilities are then compared, which gives groups that look alike on the measured covariates. The central assumption is conditional independence: once the observed covariates are accounted for, treatment assignment is unrelated to the outcome, so no important confounder is unmeasured.

History

Rosenbaum and Rubin (1983) introduced the propensity score and showed that adjustment for this scalar is sufficient to remove bias from all observed covariates; they also described matched sampling and subclassification on it. Rubin (1974) discusses matching, randomisation and other methods of controlling extraneous variation, and concludes that randomisation should be employed whenever possible, while carefully controlled nonrandomised data are a reasonable and necessary procedure in many cases. Austin (2011) reviews matching, stratification, inverse probability of treatment weighting and covariate adjustment on the propensity score, together with balance diagnostics.

When to use it

Use propensity score matching when treatment was not randomised, the comparison is between treated and untreated units, and the main confounders were measured before treatment was assigned. Typical examples include comparing surgery with conservative care using patient records, or estimating the effect of a training programme by comparing participants with similar non-participants. Do not rely on it when important confounders such as disease severity or patient preference were not measured, when treated and untreated groups barely overlap, or when the sample is too small to keep enough matched units. The method also requires that treatment precede the outcome in time. Where randomisation is feasible, it is generally the preferred design.

Limitations and considerations

  • Conditional independence cannot be verified from the data: unmeasured confounders such as disease severity or patient preference remain uncontrolled, and the propensity score does not detect them.
  • Matching discards units that have no acceptable counterpart, shrinking the analysed sample and widening confidence intervals; the loss depends on how much the groups overlap.
  • Estimates apply only to the region of common support; where treated and untreated units have very different covariate distributions, the effect for the remaining population is not identified by the design.
  • Model dependence: the score balances only the covariates included in the logistic model, and a misspecified model (omitted interactions or nonlinear terms) can leave imbalance that the analyst does not see unless balance is checked.
  • Matching ratio and caliper are analyst choices that determine which units are kept, and therefore the population to which the estimate refers.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Targets measured confounding directly: because the propensity score is a balancing score, groups matched or weighted on it can be compared with the measured covariates balanced, which is what makes the design approximate randomisation for those covariates.
  • Reduces dimensionality: many covariates are summarised in one probability, so units do not have to be matched separately on every covariate, which avoids the curse of dimensionality that arises when matching directly on several variables (Statistical Tools for Program Evaluation, p. 498).
  • Balance can be checked before any outcome is examined: standardised mean differences before and after adjustment show whether the adjustment worked.
  • Flexible in scheme: matching, stratification, weighting and covariate adjustment all use the same score, as Austin (2011) describes, so the analyst can choose a scheme suited to the data.

Applications

  • Comparative effectiveness research: evaluating treatment outcomes (medication A vs B, surgical vs medical management) in electronic health records without experimental randomization.
  • Policy evaluation: assessing program impact (job training, school interventions) on outcomes (employment, earnings) comparing program participants with matched nonparticipants.
  • Epidemiological cohort studies: estimating disease risk from exposures (smoking, diet) in observational data while adjusting for demographic and lifestyle confounders.
  • Economic impact studies: evaluating effects of regulatory changes, tax policies, or healthcare reforms on individual outcomes; balancing treated and control states.
  • Vaccine effectiveness: comparing outcomes (infection rates, disease severity) in vaccinated vs unvaccinated matched on baseline risk factors when RCTs infeasible.

How it works

How it works

1

Before estimation, specify the outcome, the treatment (binary, or with several levels), and the confounders, meaning baseline variables that plausibly affect both treatment assignment and the outcome. Collect these covariates for every unit and exclude variables that are affected by treatment, because conditioning on them can bias the estimate. Check overlap: treated and comparison units must have overlapping ranges of propensity scores, since where they do not, no comparable counterpart exists. Decide which estimand the study targets, such as the effect on the treated, because this determines the matching or weighting scheme. Because matching discards units that have no acceptable counterpart, the starting sample should be large enough to leave sufficient matched units for a precise estimate.

2

Fit a logistic regression of treatment assignment on the measured covariates to obtain p_i = P(Treatment=1 | Covariates). The propensity score is a scalar between 0 and 1 that collapses the covariates into one dimension. For matching, pair treated units with control units whose scores differ by less than a caliper; the caliper width may be expressed as a fraction of the standard deviation of the logit propensity score, and the chosen value should be reported and tested for sensitivity. 1:1 nearest-neighbour, 1:m nearest-neighbour and caliper matching are common variants. As an alternative, inverse probability of treatment weighting assigns weight 1/p_i to treated units and 1/(1−p_i) to control units; these weights target the average treatment effect in a pseudo-population where treatment is independent of covariates, not the effect on the treated. After matching or weighting, check covariate balance using standardised mean differences (SMD), aiming for values below 0.1 and ideally below 0.05. If balance is poor, tighten the caliper (which may discard more units), revise the propensity model, or add covariates to it. Report balance before and after adjustment as SMD tables or plots.

3

Estimate the outcome difference between treatment groups in the matched or weighted sample, using a standard method such as a difference in means, regression, or survival analysis. Matched-pair estimates usually refer to the effect on the treated, whereas the weights described above target the average treatment effect, so state which estimand the reported number represents. If balance was achieved, the difference is adjusted for the measured covariates only. Report covariate balance before and after adjustment, the number of matched or unmatched units, the effect estimate with its confidence interval and p-value, and a sensitivity analysis for unmeasured confounding such as Rosenbaum bounds. Examine common support by checking how many treated units fall within the range of control scores; where overlap is poor, the estimate is an extrapolation. Regression adjustment on the matched sample can be added as a further step, but it introduces a second model that must also be specified.

Common pitfalls

  • Conditioning on post-treatment variables: including mediators, or the outcome itself, in the propensity model can bias the estimate. Confounders should be chosen on subject-matter grounds before treatment is assigned.
  • Skipping the overlap check: proceeding with matching when the treated and control score distributions do not overlap. Estimates outside the overlap region are unreliable extrapolations and should be reported as such.
  • Ignoring covariate balance: assuming matching worked without examining SMDs. Balance diagnostics (SMD tables or love plots) should be reported, and residual imbalance signals the need to revise the model or the scheme.
  • Analysing the full sample after matching: if the outcome analysis uses all original units, the matching has no effect on the estimate. Analyse the matched sample, or use weights on the full sample.
  • Searching across propensity models for the best balance or the largest effect: this is selective reporting. The model should be specified in advance from subject-matter knowledge, and all specifications tried should be reported.
  • Reading the estimate causally without temporal order: adjusting for measured covariates does not remove reverse causation, so the timing of treatment and outcome must be established separately.

Frequently asked questions

What is the propensity score, and why does matching on it work?

The propensity score is the probability of receiving treatment given observed covariates, usually estimated by logistic regression: P(T=1|Covariates). Given the score, the distribution of the covariates is the same whether or not a unit was treated, so matching on the score balances the covariates included in it. Within a matched sample, treatment is then approximately independent of those covariates, which is the sense in which the design mimics randomisation at baseline. Matching on one score rather than on every covariate avoids the difficulty of finding close matches in many dimensions.

What is the difference between propensity score matching and inverse probability of treatment weighting (IPTW)?

Matching pairs treated units with control units whose scores are close, and the analysis usually uses only the matched units. IPTW gives each unit a weight equal to the inverse of the probability of the treatment it actually received (1/p for treated units, 1/(1−p) for controls), so all units contribute and the weighted groups resemble each other on the covariates. Matching estimates usually refer to the effect on the treated, while these weights target the average treatment effect in the population, so the two methods do not always answer the same question. IPTW keeps more of the data, which can give more precise estimates when the weights are stable, but very small propensity scores produce large weights that inflate variance and can make estimates unstable.

How do I assess covariate balance, and what is acceptable?

Calculate the standardised mean difference (SMD) for each covariate: SMD = (mean_treated − mean_control) / pooled SD. An SMD below 0.10 is generally accepted as balanced, and below 0.05 is stricter. Plot SMDs before and after matching (a love plot) so that changes in balance are visible at a glance. If any confounder remains imbalanced after matching, consider tightening the caliper (which may discard more units), including interactions or nonlinear terms in the propensity model, or using another method such as stratification or regression adjustment. Do not judge balance by p-values, because they depend on sample size; examine the SMDs numerically and graphically.

Can propensity score matching address unmeasured confounding?

No. PSM reduces bias from measured confounders, meaning those for which data were collected. Unmeasured confounders, such as patient motivation, unrecorded disease severity or hidden selection mechanisms, remain uncontrolled. A sensitivity analysis, such as Rosenbaum bounds, assesses how strong an unmeasured confounder would have to be to change the conclusions. The limitation should be discussed explicitly, and instrumental variables or natural experiments may be considered if unmeasured confounding is a major concern.

How should I define the sample and the estimand when using PSM?

Decide first whether the study asks about the effect on the treated, the effect across the whole population, or the effect in the region where treated and untreated units overlap. Matching on the treated usually answers the first question, and weighting targets the population-average effect, so the scheme should follow the question. Report how many units were kept, how many were discarded, and whether the kept units differ from the discarded ones on the measured covariates. The conclusions then apply to the population the retained units represent.

Related methods

Sources

  1. Rosenbaum, P. R., & Rubin, D. B. (1983). The central role of the propensity score in observational studies for causal effects. Biometrika, 70(1), 41–55.

    Open DOI reference
  2. Austin, P. C. (2011). An introduction to propensity score methods for reducing the effects of confounding. Multivariate Behavioral Research, 46(3), 399–424.

    Open DOI reference
  3. Rubin, D. B. (1974). Estimating causal effects of treatments in randomized and nonrandomized studies. Journal of Educational Psychology, 66(5), 688–701.

    Open DOI reference
  4. Statistical Tools for Program Evaluation, p. 498