- Introduced by
- Kaplan & Chen (2012); foundational PSM by Rosenbaum & Rubin (1983)
- Year
- 2012
- Type
- Bayesian causal inference / matching
- Family
- Quasi-experimental / causal inference
What does it do?
Bayesian propensity score matching refers to Bayesian versions of propensity score analysis, in which prior information is placed on the propensity model and the uncertainty in estimating propensity scores is carried into the treatment-effect estimate.
Kaplan and Chen (2012) proposed a two-step Bayesian approach in which prior information can enter both the propensity score equation and the outcome equation. It is implemented for propensity score stratification, weighting and optimal full matching. The approach builds on the propensity score introduced by Rosenbaum and Rubin (1983).
The intuition behind the method
Classical propensity score matching estimates each unit's propensity score and then treats that score as if it were known. In practice the score is estimated from the same data as the outcome comparison, so its estimation error is part of the uncertainty in the effect. The Bayesian version treats the coefficients of the propensity model as uncertain, with a prior that can encode knowledge about how treatment was selected, and the resulting posterior reflects that uncertainty. Kaplan and Chen (2012) also provide corresponding variance estimators. Their simulations report that greater precision in the propensity score equation yields better recovery of the frequentist-based treatment effect, and that greater precision around the correct treatment effect gives good results while greater precision around a wrong effect can seriously distort them. They report a slight advantage for the Bayesian approach in small samples. Their case study found credible intervals wider than frequentist confidence intervals under non-informative priors.
History
Rosenbaum and Rubin (1983) showed that adjustment for the scalar propensity score, the conditional probability of treatment given observed covariates, is sufficient to remove bias due to all observed covariates. Classical implementations treat the estimated score as known. Kaplan and Chen (2012) proposed a two-step Bayesian approach in which prior information enters the propensity score equation and the outcome equation, without the problems associated with simultaneous Bayesian propensity score approaches, for stratification, weighting and optimal full matching. Their simulations found a slight advantage for the Bayesian approach in small samples. They showed that greater precision around the correct treatment effect yields good results, whereas greater precision around the wrong effect can lead to seriously distorted results. Their case study found wider credible intervals under non-informative priors.
When to use it
Consider Bayesian PSM for observational data with a binary treatment and a set of pre-treatment covariates, particularly when substantive knowledge about treatment selection can be written down as a defensible, documented prior. Kaplan and Chen's simulations report a slight advantage for the Bayesian approach in small samples, but the advantage is modest and depends on the simulation design, so it is not a general rule for choosing the method. Do not use it when treatment was randomised, because randomisation already balances covariates in expectation. Classical propensity score analysis is adequate when the propensity model is estimated precisely and a prior would add little. The method is a poor choice when no defensible prior exists or when the posterior cannot be computed in reasonable time.
Limitations and considerations
- Requires Bayesian computation, which is more demanding than classical propensity score estimation, particularly for large datasets.
- When prior information is limited, results depend on the prior; Kaplan and Chen's simulations show that greater precision around an incorrect treatment effect can produce seriously distorted results.
- Like other propensity-score methods, it assumes that all confounders are observed and included; the Bayesian formulation does not relax this assumption.
- Non-informative priors can produce wider intervals than frequentist confidence intervals, which is an honest reflection of uncertainty but may be misread as a loss of precision.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Carries uncertainty from estimating the propensity model into the interval for the treatment effect, rather than conditioning on a single estimated score; the source also provides corresponding variance estimators.
- Allows prior information about treatment selection to enter the propensity equation, which the cited simulations suggest can help modestly in small samples.
- Yields a full posterior distribution of the ATT, from which the probability that the effect is positive or negative can be reported.
- The two-step formulation is described for three established uses of the propensity score: stratification, weighting and optimal full matching.
Applications
- Observational studies with a binary treatment and modest sample sizes, where estimation error in the propensity model is a material concern.
- Analyses in which prior knowledge about treatment selection exists and can be documented, for example from earlier studies or from domain experts.
- Comparing Bayesian and frequentist propensity analyses of the same data, to see how much the prior and the propagated uncertainty change the conclusions.
How it works
How it works
A prior distribution is placed on the coefficients γ of the propensity model, which the mechanics define through a logistic link. In the two-step approach of Kaplan and Chen (2012), prior information can be placed in the propensity score equation and in the outcome equation. The cited abstract does not specify default prior families or the exact form of the outcome-equation prior, so the prior should be chosen and justified on substantive grounds and its influence checked; consult the full paper for the formal specification.
Formula
p(\boldsymbol{\gamma} \mid \text{data}) \propto L(\boldsymbol{\gamma}\mid T,\mathbf{X})\, p(\boldsymbol{\gamma})Combining the prior with the likelihood of the treatment model gives the posterior of the coefficients, p(γ | data) ∝ L(γ) p(γ). Each set of coefficient values yields a propensity score for every unit, e(x) = logit^-1(x'γ), so the posterior of the coefficients induces a distribution over scores. Posterior samples are typically obtained with Bayesian computation such as MCMC. Each posterior draw gives one vector of propensity scores across all units.
Formula
e(\mathbf{x}_i) = P(T_i=1 \mid \mathbf{x}_i) = \text{logit}^{-1}(\mathbf{x}_i^\top \boldsymbol{\gamma})Units are then grouped or weighted on the estimated score. Kaplan and Chen describe three implementations: stratification, weighting and optimal full matching. The choice among them must be made and reported; the cited abstract gives no rule for selecting one. In the ATT formula, j(i) denotes the control unit matched to treated unit i under the chosen rule, and the rule applied to each draw should be stated explicitly.
Within a matched sample, the ATT is the average difference between each treated unit's outcome and that of its matched control j(i), as given in the mechanics formula. Computing this separately for each posterior draw of the propensity coefficients produces a distribution of ATT values rather than a single estimate. This per-draw description is this page's own summary of the procedure; it is not detailed in the cited abstract.
Formula
\hat{\tau}_{ATT}^{(s)} = \frac{1}{n_1}\sum_{i: T_i=1}\left(y_i - y_{j^{(s)}(i)}\right)The posterior distribution of the ATT can be summarised by its mean, a credible interval, and the posterior probability that the effect is positive or negative. In Kaplan and Chen's case study, credible intervals were wider than frequentist confidence intervals when priors were non-informative, so interval width should be read together with the prior specification.
Formula
p(\tau_{ATT} \mid \text{data}) \approx \text{distribution of } \{\hat{\tau}_{ATT}^{(s)}\}_{s=1}^{S},\ \boldsymbol{\gamma}^{(s)} \sim p(\boldsymbol{\gamma}\mid\text{data})Common pitfalls
- Treating the credible interval as more accurate than a frequentist confidence interval without checking prior sensitivity; the cited case study finds wider intervals under non-informative priors, and an informative prior can shift the estimate.
- Checking covariate balance at a single posterior draw; as recommended practice, assess balance across draws, since each draw yields a different matched or weighted sample.
- Confusing posterior uncertainty about the propensity model with bias from unmeasured confounders; the interval reflects the former but not the latter.
- Reporting only the posterior mean of the ATT while omitting the credible interval and the prior specification.
- Choosing diffuse priors without justification, which can leave the propensity model weakly determined and the effect interval hard to interpret.
Frequently asked questions
How does Bayesian PSM differ from classical (frequentist) PSM?
Classical PSM estimates a propensity score for each unit and treats it as known. The Bayesian version places a prior on the propensity model, derives a posterior distribution over the scores, and carries that uncertainty into the ATT estimate. Kaplan and Chen (2012) implement this in a two-step form, so the propensity equation and the outcome analysis are not fitted simultaneously.
What prior should I use for the propensity model?
The cited sources do not prescribe a default prior. Choose a prior you can justify: a weakly informative prior if you lack reliable knowledge about treatment selection, or an informative prior if substantive knowledge exists. As recommended practice, report how the ATT interval changes under alternative reasonable priors.
Does Bayesian PSM solve the problem of unobserved confounders?
No. Like all propensity-score methods, it rests on the strong ignorability assumption: all confounders are measured and included in the model. Bayesian PSM accounts for uncertainty in estimating the propensity from observed covariates, but it cannot adjust for variables you did not collect.
How do I check covariate balance in a Bayesian PSM analysis?
This is recommended practice rather than a finding of Kaplan and Chen (2012). Draw a set of posterior samples of the propensity model, form the matched or weighted sample for each draw, and compute standardised mean differences for each covariate. Report the distribution of balance across draws rather than balance at a single draw.
When is classical PSM preferable to Bayesian PSM?
When the sample is large and the propensity model is estimated precisely, classical PSM is simpler and the added posterior uncertainty may be small. Kaplan and Chen's simulations report only a slight Bayesian advantage in small samples, so the choice should depend on sample size and on whether a defensible prior exists.
Related methods
Sources
Kaplan, D., & Chen, J. (2012). A Two-Step Bayesian Approach for Propensity Score Analysis: Simulations and Case Study. Psychometrika, 77(3), 581-609.
Open DOI referenceRosenbaum, 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