- Introduced by
- Robins (1986) on sequential treatments; Lechner & Miquel (2010) on dynamic matching
- Year
- 1986-2010
- Type
- Sequential causal matching
- Family
- Quasi-experimental / causal inference
What does it do?
Dynamic Propensity Score Matching (DPSM) extends classic propensity score matching to settings where treatment is assigned repeatedly over time and earlier treatment choices influence later ones.
It constructs matched comparisons at each decision point using the history of covariates and prior treatments, and targets the effect of a treatment sequence relative to an alternative sequence. The estimand is an average effect on the treated trajectory (ATT among units that followed the reference sequence). It is a subpopulation effect and need not equal the effect the sequence would have in the whole population.
The intuition behind the method
Standard propensity score matching handles a single treatment at one point in time. Many real-world questions involve treatments that change over time: a patient switches medications, or a worker enters and leaves a training programme. DPSM handles this by estimating, at each period, a propensity score that conditions on current covariates and on the treatments received in earlier periods. Two units are treated as comparable at period t only if they have similar estimated probabilities of receiving treatment at t, given their covariates and their earlier treatment history. Matching is repeated period by period, so comparisons are made among units whose treatment paths have been alike up to each decision point. Under sequential conditional independence, this adjusts for observed confounding at every step, which is what allows comparisons between units that ultimately followed different trajectories.
History
The sequential treatment framework on which DPSM rests was developed by Robins (1986) for sustained exposures in mortality studies; that paper does not propose propensity score matching. Lechner and Miquel (2010; first available online in 2009) study identification of dynamic treatment effects under sequential conditional independence assumptions, which provides the identifying basis for the sequential matching approach described here.
When to use it
Use Dynamic PSM when treatment is assigned at multiple time points and earlier treatment affects both future treatment selection and outcomes, as in longitudinal clinical studies, labour market programmes, or policy roll-outs with repeated eligibility decisions. The data must include rich time-varying covariate measurements taken before each treatment decision. The key identifying assumption is sequential conditional independence (no unmeasured time-varying confounding given observed history). Each period needs enough treated and comparison units with shared histories to allow matching, so check matched sample sizes at every period. Do not use when: (a) treatment occurs only once, in which case standard PSM is sufficient; (b) time-varying confounders are heavily unmeasured, because no observable matching strategy can adjust for them; or (c) the panel is very short, leaving too few decision points to build informative histories.
Limitations and considerations
- Requires rich, high-frequency longitudinal covariate data measured before each treatment decision; sparse panels make sequential balancing infeasible.
- Sequential sample pruning can severely reduce the effective sample size, particularly when there are many treatment periods or when treatment histories are heterogeneous.
- Relies on sequential conditional independence, which is untestable and may fail if important time-varying confounders are unobserved.
- Computationally demanding: a separate propensity model is required for each period, and bootstrap inference for standard errors multiplies the burden.
- Does not directly target a population-level average treatment effect (ATE); the ATT is estimated only among those who actually followed the reference trajectory.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Models treatment as a sequence over time rather than collapsing repeated exposures into a single binary variable.
- Adjusts for time-varying covariates at each decision point, not only at baseline, which matters when past treatment affects both later selection and later outcomes.
- Produces explicit comparisons between defined treatment trajectories and does not require inverse-probability weights, so the matched comparisons can be inspected directly.
- Balance can be examined period by period, showing where comparability is achieved and where it is lost.
- Matched comparisons can be analysed with outcome-specific models, including regression adjustment after matching.
Applications
- Evaluating the effect of sequences of active labour market programme participations on long-run employment outcomes.
- Estimating the causal impact of time-varying medication regimes — dose escalation or drug switching — in pharmacoepidemiology.
- Assessing the earnings effects of multiple vocational training spells versus sustained non-participation.
- Studying how sequences of educational interventions affect academic achievement across school years.
- Analysing the impact of repeated policy exposures — such as recurring benefit receipt — on poverty exit rates.
- Comparing alternative treatment timing strategies, such as early versus delayed initiation, in longitudinal clinical studies.
How it works
How it works
Construct the treatment history for each unit: for each period t, record the sequence of treatments received up to period t-1, denoted \bar{A}_{i,t-1}. This history defines the treatment regime being evaluated and conditions every subsequent comparison.
At each period t, estimate a period-specific propensity score, the probability of treatment at t given current covariates and the treatment history up to t-1, as in the mechanics formula. Standard logit or probit models can be fitted separately for each decision point.
Formula
p_t(X_{it}, \bar{A}_{i,t-1}) = P(A_{it}=1 \mid X_{it}, \bar{A}_{i,t-1})Within each period, a treated unit i is matched to an untreated unit j only if the two share the same treatment history up to t-1 and their period-specific propensity scores are close (for example, |p_t(i) - p_t(j)| within a chosen caliper, using nearest-neighbour or another distance rule). Only matched units are retained. Units separated in an earlier period because their treatment histories differed are excluded from later matching, so comparisons accumulate only among units with shared histories up to the current period.
Estimate the ATT for each treatment-sequence contrast of interest, as defined in the mechanics formula: the expected difference between potential outcomes under two treatment sequences, among units that actually followed the reference sequence. The estimand therefore describes that subpopulation, not the full population.
Formula
ATT(s,s') = E[Y_i(s) - Y_i(s') \mid \bar{A}_i = s]Variance estimation needs care. The naive bootstrap is generally not guaranteed to be valid for nearest-neighbour or caliper matching estimators, and repeating the matching across periods adds further complexity. Use a variance estimator designed for matching estimators or a resampling scheme whose validity for your matching design is documented, and justify the choice. Check covariate balance at each matched period. Because sequential conditional independence is untestable, assess the sensitivity of results to unmeasured time-varying confounding, for example with bounding or E-value-style analyses applied to the estimated effect, and compare the estimates with those from an alternative estimator such as a marginal structural model when the estimands are aligned. A large change under plausible confounding, or disagreement between estimators, signals fragile conclusions.
Common pitfalls
- Applying sequential matching without collecting covariates at every intermediate time point, which breaks the sequential ignorability assumption and re-introduces confounding.
- Ignoring treatment history when computing period-specific propensity scores, causing scores to conflate units with very different past exposures.
- Retaining all original units at each matching step rather than restricting to those with matched histories in prior periods, which leads to invalid cross-trajectory comparisons.
- Failing to check covariate balance at each sequential matching step and reporting only overall or final-period balance. Report standardised mean differences per period and per covariate, and judge them against a pre-stated criterion (a common rule of thumb is an absolute value below about 0.1, not a formal requirement).
- Collapsing a multi-period exposure into a single treated/untreated classification discards the sequential structure that the method is designed to handle.
- Using a naive bootstrap for standard errors without verifying that it is appropriate for the matching estimator in use.
Frequently asked questions
How does Dynamic PSM differ from standard propensity score matching?
Standard PSM matches on a single propensity score computed at one point and treats treatment as a fixed event. Dynamic PSM computes a propensity score at each period, conditioning on the full history of covariates and past treatments, and matches sequentially so that only units with comparable treatment paths are compared at each step.
What is sequential conditional independence and why does it matter?
Sequential conditional independence states that, conditional on observed covariate and treatment history up to period t, assignment to treatment at t is independent of potential outcomes. This is the identifying assumption of DPSM. If important time-varying confounders are unmeasured, the assumption fails and estimates will be biased.
What happens to sample size with many treatment periods?
Each matching step discards units that cannot be matched, so the matched sample can shrink from period to period, particularly with many periods or diverse treatment histories. A caliper restricts which matches are accepted. It improves match quality but usually reduces the matched sample further, so this trade-off should be reported. The matched sample size should be reported for each period.
Is Dynamic PSM preferable to a marginal structural model?
Both aim at causal contrasts of treatment sequences under related identifying assumptions, but they do not always answer the same question. The ATT estimated here applies only to units that followed the reference trajectory, whereas MSM estimates are typically defined for a broader population, so the estimands should be checked before results are compared. DPSM does not use inverse-probability weights, which can be extreme and unstable. MSMs can be more efficient under correct model specification. Running both is a useful check when the estimands are aligned.
Can I use Dynamic PSM with a binary outcome?
Yes. After sequential matching, the treatment effect can be expressed as a difference in proportions, a risk ratio, or an odds ratio. Logistic regression adjustment on the matched sample is also an option.
Related methods
Sources
Lechner, M., & Miquel, R. (2010). Identification of the effects of dynamic treatments by sequential conditional independence assumptions. Empirical Economics, 39(1), 111-137.
Open DOI referenceRobins, J. M. (1986). A new approach to causal inference in mortality studies with a sustained exposure period — application to control of the healthy worker survivor effect. Mathematical Modelling, 7(9-12), 1393-1512.
Open DOI reference