Policy Evaluation Inverse Probability Weighting

Statistics
Introduced by
Horvitz & Thompson (1952); extended to causal policy settings by Robins, Hernan & Brumback (2000) and Imbens & Wooldridge (2009)
Year
1952 (IPW origin); 2000s (policy evaluation application)
Type
Reweighting estimator for causal policy analysis
Family
Quasi-experimental / causal inference

What does it do?

Policy evaluation inverse probability weighting (IPW) uses estimated propensity scores to reweight observed units so that the weighted sample mimics a randomised experiment.

Each unit is weighted by the inverse of its probability of receiving the policy, creating a pseudo-population in which treatment assignment is independent of observed covariates and the average treatment effect (ATE) can be read off directly.

The intuition behind the method

When a policy is not randomly assigned, treated and untreated units differ systematically on background characteristics. IPW corrects for this by upweighting units that were unlikely to receive their actual treatment and downweighting units that were very likely to. After reweighting, the two groups look as if they were drawn from the same population, so a simple weighted difference in outcomes estimates the causal effect of the policy. The core idea is that each unit represents not just itself but a broader segment of the population that shares its characteristics.

History

Inverse probability weighting traces to Horvitz and Thompson (1952), who used known selection probabilities in probability samples to obtain unbiased estimates of population totals. Robins, Hernan and Brumback (2000) introduced marginal structural models, estimated by inverse-probability-of-treatment weighting, to adjust for time-dependent confounding in epidemiological studies. Imbens and Wooldridge (2009) reviewed the econometric and statistical literature on programme evaluation with a focus on practical issues for empirical researchers. Its use in policy evaluation builds on these foundations and on the programme-evaluation literature that Imbens and Wooldridge review.

When to use it

Use policy evaluation IPW when the policy or programme is binary, you have observational data with a rich set of pre-policy covariates that plausibly satisfy ignorability (no unmeasured confounding), and the target estimand is the average treatment effect for the whole population. Overlap matters: the estimator needs treated and untreated units across the range of estimated propensity scores, so the sample should be large enough to fit the propensity model reliably. Do not choose it when many units have propensity scores near 0 or 1, because the resulting extreme weights inflate variance; when important confounders such as motivation or selection into the programme are unobserved; or when the question concerns only the effect among participants, unless ATT weights are used instead. Continuous or multi-valued treatments require a different weighting scheme.

Limitations and considerations

  • Relies on the ignorability assumption (no unmeasured confounding): if important covariates are missing, the estimate is biased and there is no diagnostic to detect this.
  • Extreme propensity scores (near 0 or 1) produce very large weights, inflating variance and making estimates unstable; stabilised or trimmed weights help but do not fully resolve the problem.
  • Propensity-score model misspecification leads to poor covariate balance and biased estimates; the method is not self-validating.
  • When the outcome model is correctly specified, IPW alone is often less efficient than doubly robust or regression-based estimators; the size of the gap depends on sample size and on how well the propensity model fits.
  • With very small samples the propensity model is estimated imprecisely, degrading balance and inference quality.

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

Strengths

  • Directly targets the average treatment effect (ATE) for the full population, not just for the treated, which is often the relevant policy quantity.
  • Flexible propensity-score model: logistic regression, random forests, or gradient boosting can all be used to estimate e(X).
  • Separates the design stage (propensity estimation and balance checking) from the analysis stage, allowing the researcher to verify balance before examining outcomes.
  • Compatible with doubly robust estimators that remain consistent if either the propensity or the outcome model is correctly specified.
  • Applicable in both cross-sectional and panel settings and extendable to time-varying treatments via marginal structural models.

Applications

  • A job-training evaluation could use administrative records to estimate the average effect across all eligible units when the target is a population-wide effect.
  • Assessing an eligibility expansion in public health insurance could reweight treated and comparison units using pre-policy covariates.
  • A school-choice or voucher study with voluntary participation and rich baseline student data could use IPW to adjust for selection into the programme.
  • Evaluating the effect of environmental regulation on firm productivity, where regulation timing depends partly on observed firm characteristics, could apply IPW to those characteristics.
  • Estimating the effect of agricultural subsidy participation on farm income from survey data with detailed pre-programme covariates could use IPW for adjustment.
  • Development-policy impact studies where randomisation is infeasible but covariate histories are available from administrative records could use IPW to construct comparison groups.

How it works

How it works

1

A propensity score model, typically logistic regression, though machine-learning classifiers are increasingly used, estimates each unit's probability of receiving the policy given observed covariates. This score, e(X), summarises all confounding information in a single number.

Formula
\hat{e}(X_i) = P(D_i = 1 \mid X_i)
2

Inverse probability weights are constructed by dividing 1 by the estimated propensity score for treated units and by 1 minus the score for untreated units. These weights balance the covariate distributions across groups in the weighted sample.

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

The ATE is estimated as the weighted difference in mean outcomes between treated and untreated units, using the IPW-constructed pseudo-population. Stabilised weights are commonly used in practice to reduce variance. For a treated unit, the stabilised weight is the marginal share of treated units divided by its estimated propensity score; for an untreated unit, it is the marginal share of untreated units divided by one minus its score. The average stabilised weight is close to one, so the weighted sample keeps the scale of the original sample.

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 is assessed by comparing standardised mean differences between groups in the weighted sample. For each covariate, the standardised mean difference is the difference between the weighted treated and untreated means divided by a standard deviation, commonly the pooled unweighted standard deviation of that covariate. A cut-off of 0.1 is a commonly used rule of thumb rather than a formal test; large residual differences indicate that the propensity model has not removed confounding and should prompt respecification.

5

Standard errors and confidence intervals can be obtained by bootstrap resampling. Units are resampled with replacement, the whole procedure including the propensity model is refitted in each replicate, and the standard deviation or percentiles of the replicate estimates give the standard error or interval. Analytic variance formulas that account for the uncertainty in the estimated propensity scores are an alternative. Doubly robust variants that combine IPW with an outcome model provide extra protection against misspecification.

Common pitfalls

  • Skipping covariate balance diagnostics after weighting: always check standardised mean differences in the weighted sample before interpreting the effect estimate.
  • Using raw (unstabilised) weights without checking the weight distribution; a handful of extreme weights can dominate the estimate and should prompt weight trimming or a doubly robust specification.
  • Conflating ATE with ATT: IPW with Horvitz-Thompson weights targets ATE, while weights of the form e(X)/(1-e(X)) for untreated units target ATT. The distinction matters for policy conclusions.
  • Treating a significant IPW estimate as causal when key confounders (e.g., unobserved motivation or selection) are absent from the propensity model.
  • Treating the estimated propensity score as known when computing standard errors is a common shortcut, and it can produce standard errors of the wrong size. Use bootstrap resampling that refits the propensity model in each draw, or a variance formula that accounts for the first-stage model.

Frequently asked questions

What is the ignorability assumption and why does it matter?

Ignorability (also called unconfoundedness or selection on observables) states that, conditional on observed covariates, treatment assignment is as good as random. Without it, the IPW estimate conflates the policy effect with selection bias. It cannot be tested from the data, so subject-matter knowledge about what drives programme participation is essential.

How do I handle extreme propensity scores?

Units with scores very close to 0 or 1 receive enormous weights that destabilise the estimator. Common remedies include using stabilised weights, trimming observations with weights above a chosen percentile, or switching to a doubly robust estimator that is less sensitive to extreme scores.

What is the difference between ATE and ATT, and which does IPW give me?

The ATE is the average effect if the entire population were treated; the ATT is the average effect among those actually treated. Standard Horvitz-Thompson IPW estimates the ATE. To target the ATT, reweight only the untreated units by e(X)/(1-e(X)) and compare them to the treated group directly.

Should I use IPW or propensity-score matching for policy evaluation?

IPW uses all observations and targets the ATE for the full population; matching discards unmatched units and typically estimates the ATT. IPW is preferred when the policy question concerns population-wide effects and the propensity model fits well. Matching is more robust to extreme scores but loses efficiency when many units are discarded.

Can I use machine learning to estimate the propensity score?

Yes. Random forests, gradient boosting, and lasso logistic regression often improve covariate balance compared with standard logistic regression, especially with many covariates. However, using ML-estimated scores in a standard IPW estimator can introduce regularisation bias; cross-fitted doubly robust estimators (e.g., double machine learning) are preferable in that setting.

Related methods

Sources

  1. Imbens, G. W., & Wooldridge, J. M. (2009). Recent Developments in the Econometrics of Program Evaluation. Journal of Economic Literature, 47(1), 5-86.

    Open DOI reference
  2. Robins, J. M., Hernan, M. A., & Brumback, B. (2000). Marginal Structural Models and Causal Inference in Epidemiology. Epidemiology, 11(5), 550-560.

    Open DOI reference