Propensity Score Matching (PSM) is a causal inference technique that estimates the effect of a treatment by pairing treated and control units with similar conditional probabilities of receiving the treatment, given a set of observed baseline covariates. The propensity score, typically estimated via logistic regression, collapses a high-dimensional set of confounding variables into a single scalar balancing score. By matching on this score, the method creates a pseudo-randomized comparison group where the distribution of measured confounders is balanced between the treatment and control arms, thereby reducing selection bias in the estimated Average Treatment Effect on the Treated (ATT).
Glossary
Propensity Score Matching (PSM)

What is Propensity Score Matching (PSM)?
A statistical method designed to reduce bias in estimating treatment effects from observational data by mimicking the covariate balance achieved in randomized controlled trials.
The procedure involves specifying a treatment assignment model, estimating propensity scores, and selecting a matching algorithm—such as nearest-neighbor caliper matching—to pair subjects. A critical diagnostic step is assessing post-matching covariate balance using standardized mean differences. PSM relies on the strong assumption of unconfoundedness, meaning all confounders are measured and included in the score model. Unlike Instrumental Variable Analysis, PSM cannot address bias from unobserved confounders, making it complementary to methods like Mendelian Randomization in the broader causal inference toolkit.
Key Features of Propensity Score Matching
Propensity Score Matching (PSM) is a statistical technique that attempts to mimic randomization in observational studies by matching treated and control units with similar estimated probabilities of receiving the treatment based on observed covariates.
The Propensity Score
The propensity score is the conditional probability of receiving a treatment given a set of observed baseline covariates. It is typically estimated using a logistic regression model where treatment assignment is the dependent variable and all measured confounders are independent variables.
- Reduces a high-dimensional vector of covariates to a single scalar summary
- Balances the distribution of observed confounders between treatment groups
- Satisfies the balancing score property: conditional on the score, treatment assignment is independent of observed covariates
Matching Algorithms
Once propensity scores are estimated, treated units are matched to untreated units with similar scores. Common algorithms include:
- Nearest Neighbor Matching: Each treated unit is paired with the untreated unit having the closest propensity score, with or without a caliper (maximum allowable distance)
- Optimal Matching: Minimizes the total within-pair difference in propensity scores across all pairs simultaneously
- Kernel Matching: Each treated unit is matched to a weighted average of all untreated units, with weights inversely proportional to score distance
Covariate Balance Assessment
After matching, researchers must verify that the matching procedure successfully balanced the distribution of covariates between groups. Key diagnostics include:
- Standardized Mean Differences (SMD): An SMD below 0.1 after matching is generally considered acceptable balance
- Variance Ratios: The ratio of variances between treated and control groups should approach 1.0
- Love Plots: Visual displays comparing covariate balance before and after matching
- Kolmogorov-Smirnov Tests: Assess equality of entire distributions, not just means
Common Support and Overlap
PSM requires sufficient overlap in the propensity score distributions of treated and untreated groups. The region of common support is where causal inference is valid.
- Units outside the common support region must be trimmed or discarded
- Extreme propensity scores (near 0 or 1) indicate near-deterministic treatment assignment and violate the positivity assumption
- Trimming can reduce generalizability but improves internal validity by ensuring comparisons are only made between comparable units
Sensitivity Analysis
PSM only balances observed confounders. Sensitivity analysis assesses how strongly an unmeasured confounder would need to influence both treatment assignment and outcome to nullify the estimated treatment effect.
- Rosenbaum Bounds: Quantifies the magnitude of hidden bias required to alter causal conclusions
- Gamma (Γ): A measure of the odds of differential treatment assignment due to unobserved covariates; values close to 1 indicate high sensitivity
- Essential for regulatory submissions and clinical evidence generation where randomization is absent
PSM in Biomarker Research
In biomarker identification, PSM is used to control for confounding when comparing outcomes between patients with and without a specific biomarker expression.
- Matches patients on age, sex, disease stage, comorbidities, and prior treatments
- Enables estimation of the Average Treatment Effect on the Treated (ATT) for biomarker-guided therapy selection
- Often combined with survival analysis to compare time-to-event outcomes in matched cohorts
- Addresses confounding by indication where biomarker-positive patients systematically differ from biomarker-negative patients
Frequently Asked Questions
Direct answers to the most common technical questions about Propensity Score Matching, its assumptions, and its application in biomedical causal inference.
Propensity Score Matching (PSM) is a statistical causal inference method that attempts to mimic the randomization of a controlled experiment by creating a balanced comparison group from observational data. It works by first estimating the probability—the propensity score—that each unit (e.g., a patient) would receive a specific treatment based on their observed baseline covariates, typically using a logistic regression model. Treated units are then matched to untreated control units with nearly identical propensity scores. This process aims to create a pseudo-randomized sample where the distribution of confounders is balanced between the two groups, allowing for an unbiased estimate of the Average Treatment Effect on the Treated (ATT). The core logic is that, conditional on the propensity score, the treatment assignment is independent of the observed covariates, thereby breaking the link between confounders and the treatment decision.
PSM vs. Other Causal Inference Methods
A comparative analysis of Propensity Score Matching against alternative quasi-experimental designs for estimating treatment effects from observational biomedical data.
| Feature | Propensity Score Matching (PSM) | Instrumental Variable (IV) Analysis | Difference-in-Differences (DiD) | Marginal Structural Model (MSM) |
|---|---|---|---|---|
Primary Mechanism | Matches treated and control units on estimated probability of treatment given observed covariates | Uses a third variable (instrument) to isolate exogenous variation in treatment assignment | Compares the change in outcome over time between a treated and an untreated group | Weights observations by the inverse probability of treatment to create a pseudo-population |
Handles Unobserved Confounding | ||||
Requires Longitudinal Data | ||||
Handles Time-Varying Treatments | ||||
Key Assumption | Unconfoundedness (no unmeasured confounders after conditioning on the propensity score) | Exclusion restriction (instrument affects outcome only through treatment) | Parallel trends (treated and control groups would have followed similar trajectories absent treatment) | Sequential exchangeability (no unmeasured confounders at each time point) |
Typical Biomedical Application | Comparing drug efficacy using electronic health records | Mendelian randomization using genetic variants as instruments | Evaluating policy changes or hospital protocol implementations | Estimating effects of dynamic treatment regimens with time-dependent confounding |
Susceptibility to Collider Bias | High when conditioning on post-treatment variables | Low if instrument is valid | Moderate if baseline trends diverge | Moderate if censoring is informative |
Sample Size Requirement | Large (requires sufficient overlap in propensity score distributions) | Large (weak instruments inflate variance) | Moderate to large (requires multiple pre-treatment time points) | Large (weighting can produce extreme values) |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Propensity Score Matching is one tool in a broader causal inference toolkit. These related methods address specific challenges like unobserved confounding, time-varying treatments, and pleiotropy that PSM alone cannot resolve.
Instrumental Variable Analysis
A technique for estimating causal effects when unobserved confounding is present. An instrument (e.g., a genetic variant in Mendelian Randomization) must satisfy three conditions: it is associated with the treatment, affects the outcome only through the treatment, and shares no confounders with the outcome. Unlike PSM, which relies on observed covariates, IV methods can recover causal effects even with hidden bias.
Difference-in-Differences (DiD)
A quasi-experimental design that estimates treatment effects by comparing the change in outcome over time between treated and control groups. DiD assumes parallel trends: that both groups would have followed the same trajectory absent treatment. While PSM matches on static covariates, DiD leverages temporal variation, making it ideal for policy evaluations where randomization is impossible.
Marginal Structural Models (MSM)
A class of models for estimating causal effects of time-varying treatments in the presence of time-dependent confounding. MSMs use inverse probability of treatment weighting (IPTW) to create a pseudo-population where treatment assignment is independent of covariates. This addresses a critical PSM limitation: PSM handles only point-in-time treatments, while MSMs model dynamic treatment regimes.
Target Trial Emulation
A framework for designing observational studies by explicitly specifying the protocol of a hypothetical randomized trial and then emulating it with observational data. Steps include defining eligibility criteria, treatment strategies, time zero, and follow-up. This approach clarifies causal questions and reduces design biases that PSM alone cannot address, such as immortal time bias.
Collider Bias
A systematic distortion that arises when conditioning on a common effect of two variables. For example, if both treatment and outcome influence study inclusion, analyzing only included patients induces a spurious association. PSM can inadvertently introduce collider bias if the propensity score model includes variables affected by the exposure, violating causal identification assumptions.
Causal Directed Acyclic Graph (DAG)
A graphical representation of causal assumptions where nodes represent variables and directed edges represent direct causal effects. DAGs encode conditional independence relationships and identify which variables must be controlled for (or left uncontrolled) to estimate an unbiased causal effect. They are essential for selecting covariates in a PSM model and avoiding collider or mediator adjustment.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us