Propensity Score Weighting (PSW / IPW)

Statistics
Introduced by
Rosenbaum & Rubin (propensity score); Hirano, Imbens & Ridder (efficient weighting)
Year
1983 (propensity score); 2003 (efficient IPW estimator)
Type
Causal inference / reweighting
Family
Quasi-experimental / causal inference

What does it do?

Propensity score weighting is a causal-inference method that reweights observations so that treated and untreated units have similar covariate distributions, allowing average treatment effects to be estimated from observational data.

Each unit receives a weight based on the inverse of the probability of the treatment it actually received. The propensity score framework was introduced by Rosenbaum and Rubin (1983), and an efficient weighting estimator that uses an estimated propensity score was given by Hirano, Imbens and Ridder (2003).

The intuition behind the method

In observational data, treated and untreated units often differ systematically on background characteristics — sicker patients choose more intensive treatment, more motivated students enrol in tutoring programmes. These differences confound any naive comparison of outcomes. PSW counters this by upweighting units that look unusual for their treatment status and downweighting those that look typical. After reweighting, the two groups resemble a balanced pseudo-sample in which treatment assignment looks nearly random. The outcome comparison in this reweighted sample therefore reflects the causal effect rather than selection bias.

History

The propensity score was introduced by Rosenbaum and Rubin (1983), who showed that adjusting for the scalar propensity score is sufficient to remove bias due to all observed covariates. Their paper focuses on matching, subclassification and visualisation. Weighting by the inverse of the propensity score was later given an efficient form by Hirano, Imbens and Ridder (2003), who showed that weighting by the inverse of a nonparametric estimate of the propensity score yields an efficient estimate of the average treatment effect.

When to use it

Use propensity score weighting when you want to estimate an average treatment effect (ATE or ATT) from observational data, treatment is binary or categorical, and you have a sufficient set of measured confounders. It is preferable to propensity-score matching when you want to retain all units rather than discard unmatched ones, or when the target estimand is ATE rather than ATT. It is not appropriate when important confounders are unmeasured (the ignorability assumption fails), when propensity scores are extreme (near 0 or 1) for many units creating unstable weights, or when the treated and control groups overlap very little on covariates — in those cases, instrumental variables or sensitivity analyses are needed.

Limitations and considerations

  • Key assumptions: (1) conditional ignorability, meaning treatment is independent of potential outcomes given the measured covariates X; (2) positivity (overlap), meaning 0 < e(X) < 1, so that treated and control units share common support across covariate values; (3) SUTVA, meaning no interference between units and a single well-defined version of treatment, which underlies consistency; (4) a correctly specified propensity model (or a flexible machine-learning model) for the weights. Violations of (1) cannot be detected from the data alone. Violations of (2) appear as extreme weights or poor overlap, and violations of (4) appear as residual covariate imbalance after weighting.
  • Relies entirely on the assumption of no unmeasured confounding (strong ignorability); violations cannot be detected from data alone.
  • Extreme propensity scores (near 0 or 1) produce large, unstable weights that inflate variance and can dominate the estimate.
  • Requires a correctly specified propensity model; a misspecified model yields biased weights even if all confounders are measured.
  • Balance on measured covariates does not guarantee balance on unmeasured ones, and sensitivity analysis is essential in practice.

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

Strengths

  • Retains the full sample: all units contribute to the estimate. Hirano, Imbens and Ridder (2003) show that weighting by the inverse of an estimated propensity score gives an efficient estimate of the average treatment effect under the stated assumptions and in large samples; in finite samples, extreme weights can reduce precision, so the weight distribution should be checked.
  • Targets population-level causal estimands (ATE, ATT, ATC) with a straightforward choice of weights.
  • Separates the design stage (propensity model and balance check) from the analysis stage, which helps discourage outcome-driven model selection, provided the balance criteria are fixed before the outcome analysis.
  • Compatible with doubly robust estimation — combined with outcome regression, the estimator remains consistent if either model is correctly specified.
  • Extends naturally to time-varying treatments through marginal structural models using stabilised IPW.

Applications

  • Estimating the average effect of a job-training programme on earnings when enrolment is voluntary and correlated with prior outcomes.
  • Evaluating the causal impact of a medical treatment on patient survival in a registry study without randomisation.
  • Measuring the effect of a firm-level policy (e.g., adoption of a technology) on productivity when adoption is self-selected.
  • Constructing a pseudo-randomised comparison for a natural experiment where randomisation was imperfect.
  • Serving as the weighting component in a doubly robust estimator that combines outcome regression with IPW for added robustness.

How it works

How it works

1

The propensity score e(X) is the conditional probability that a unit receives treatment given its observed covariates X. It is most often estimated with logistic regression, though gradient-boosted trees or other flexible models can be used when the covariate space is large. The estimated score summarises all confounders into a single scalar.

Formula
\hat{e}(X_i) = \Pr(D_i=1 \mid X_i) \text{ estimated by logistic regression or ML}
2

Each unit's inverse-probability weight is 1/e(X) for treated units and 1/(1-e(X)) for controls. These weights create a pseudo-population in which both treatment and control groups represent the full population, supporting estimation of the average treatment effect (ATE). ATT-focused weights use 1 for treated units and e(X)/(1-e(X)) for controls.

Formula
w_i = \frac{D_i}{\hat{e}(X_i)} + \frac{1-D_i}{1-\hat{e}(X_i)}
3

The ATE estimator is the weighted difference in mean outcomes between the treated and control pseudo-populations. With correct propensity scores and the ignorability assumption, this difference equals the causal average treatment effect.

Formula
\hat{\tau}_{ATE} = \frac{1}{n}\sum_{i=1}^{n} w_i\,D_i\,Y_i - \frac{1}{n}\sum_{i=1}^{n} w_i\,(1-D_i)\,Y_i
4

After weighting, covariate balance should be checked by comparing standardised mean differences (SMD) between groups in the weighted sample. A threshold of 0.10 for each covariate is a widely used rule of thumb rather than a result from the cited sources. Persistent imbalance indicates that the propensity model may be misspecified and should be re-estimated.

5

Raw IPW weights can become extreme when propensity scores are near 0 or 1, which inflates variance. Stabilised weights, obtained by multiplying each raw weight by the marginal treatment probability of the unit's group, keep the same causal target and rescale the weights, which can reduce variance in some settings. They do not change the relative weights of units within a treatment group, so units with propensity scores near 0 or 1 still dominate the estimate. For such units, trimming or overlap-based methods are needed, and the resulting change in the estimand should be reported.

Formula
\tilde{w}_i = \frac{\bar{e}}{\hat{e}(X_i)}\,D_i + \frac{1-\bar{e}}{1-\hat{e}(X_i)}\,(1-D_i)

Common pitfalls

  • Skipping the covariate balance check after weighting — good balance is what validates the design, not a low propensity model p-value.
  • Using raw IPW weights without inspecting their distribution; a few very large weights can drive the entire estimate and should trigger trimming or stabilisation.
  • Conflating ATE and ATT estimands — the weight formulas differ, and applying the wrong weights produces a differently defined (and potentially misleading) quantity.
  • Treating the propensity score as a nuisance to be minimised rather than a diagnostic tool — the model should be chosen to achieve balance, not the best fit.

Frequently asked questions

What is the difference between propensity score weighting and propensity score matching?

Matching discards units that cannot be matched and typically estimates the ATT on the matched sample. Weighting retains all units and can target ATE or ATT by choosing the appropriate weight formula. Weighting uses the full sample, which can improve precision, but it is more sensitive to extreme scores. Matching is often easier to inspect, but it discards information.

How do I check whether the weighting worked?

Compute standardised mean differences (SMD) for each covariate in the weighted sample and compare them with the unweighted sample. An SMD of 0.10 is a widely used rule of thumb for adequate balance, but it is not drawn from the cited sources, so treat it as a convention. Balance tables or Love plots should be reported alongside any PSW analysis.

What should I do when some propensity scores are very close to 0 or 1?

First, use stabilised weights. If instability persists, consider trimming units with extreme scores, which restricts the estimate to the region where treated and control units overlap, or switch to a doubly robust or matching estimator. Trimming changes the population the estimate refers to, so the change should be reported explicitly.

Can PSW handle unmeasured confounders?

No. PSW assumes strong ignorability, meaning all confounders that affect both treatment and outcome are included in X. If important confounders are unmeasured, the weighted estimate remains biased. A sensitivity analysis (e.g., Rosenbaum bounds) can quantify how much hidden bias would be needed to overturn the conclusion.

Does PSW require a logistic regression propensity model?

Not necessarily. Logistic regression is the most common choice, but any binary classifier, such as gradient boosting, random forests or LASSO-penalised logistic regression, can be used. The criterion for model selection should be covariate balance in the weighted sample, not in-sample fit.

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. Hirano, K., Imbens, G. W., & Ridder, G. (2003). Efficient estimation of average treatment effects using the estimated propensity score. Econometrica, 71(4), 1161-1189.

    Open DOI reference