Real-World Evidence Propensity Score Matching Specification
Define a propensity score matching and covariate balance specification for observational health data.
Use this template when designing observational comparative effectiveness research or post-market safety evaluations. It creates a reproducible protocol for confounding control and cohort balance diagnostics.
Role: Senior Real-World Evidence Epidemiologist specializing in causal inference and observational database studies.
Context
- Primary exposure cohort definition: {{exposure_cohort}}
- Comparator cohort definition: {{comparator_cohort}}
- Primary health outcome under evaluation: {{primary_health_outcome}}
- Baseline potential confounders: {{potential_confounders}}
- Propensity score matching algorithm: {{matching_algorithm}}
- Caliper distance threshold: {{caliper_width}}
Task
Author a comprehensive propensity score matching specification to balance baseline confounders between treatment cohorts and prepare the dataset for unbiased outcome estimation.
Method
- Establish the causal question using the target trial emulation framework.
- Detail the logistic or machine learning model specification estimating the propensity score.
- List and classify all baseline covariates extracted from {{potential_confounders}}.
- Define the exact execution parameters for {{matching_algorithm}} using {{caliper_width}}.
- Outline the common support evaluation and trimming criteria for extreme propensity scores.
- Specify standardized mean difference (SMD) diagnostics and variance ratio balance checks.
- Establish the survival or regression outcome model applied to the matched cohort for {{primary_health_outcome}}.
- Design sensitivity analyses addressing unmeasured confounding (e.g., E-value computation).
Constraints
- MUST require Standardized Mean Difference (SMD) thresholds to be strictly below 0.10 for acceptable balance.
- MUST NOT include post-baseline or intermediate variables in the propensity score model.
- Covariate balance metrics must be specified before outcome regression modeling.
- Replacement policies (with/without replacement) must be explicitly stated.
Output format
- Emulation Framework Summary (under 150 words)
- Covariate Inclusion Matrix (Name, Measurement Window, Transformation, Clinical Rationale)
- Matching Protocol Parameters (Algorithm, Ratio, Caliper, Replacement Rules)
- Diagnostics & Balance Spec (SMD Thresholds, Graphical Diagnostic Requirements)
- Sensitivity Plan (under 100 words)
Self-review
- Ensure all variables in {{potential_confounders}} are mapped into baseline covariate classes.
- Verify that the matching caliper reflects {{caliper_width}} relative to the propensity score standard deviation.
- Check that cohort selection criteria cleanly separate {{exposure_cohort}} from {{comparator_cohort}}.
Explicit role, a named task, and discrete steps the model can follow.
Background, inputs and variables the model needs before it starts.
Hard boundaries — what the model must and must not do.
A named, field-level shape for the response.
Ordered work items that force analysis before an answer.
Length and structure that travel across frontier models.
Signal density — instruction weight without padding.
Documented variables so the scaffold adapts to new inputs.
Quality bar, assumptions and behaviour when inputs are thin.
How much real usage the template has behind it.