- Introduced by
- Lechner & Miquel (2010); building on Heckman, Ichimura & Todd (1998)
- Year
- 2010
- Type
- Nonparametric causal inference / matching
- Family
- Quasi-experimental / causal inference
What does it do?
The Dynamic Matching Estimator extends matching methods to settings where treatment is assigned at several time points.
Rather than a single treatment decision, units may receive or forgo treatment in each period, and the estimator targets the causal effects of entire treatment histories. It compares units at each period on covariates measured before that period's treatment decision and on their past treatment path, under a sequential conditional independence assumption and an overlap condition.
The intuition behind the method
In a standard matching study, treated and untreated units are compared on characteristics measured at one baseline moment. Many interventions unfold over time, however: a person may enter a training programme in one quarter, leave it, and re-enter later, and the outcome may depend on the whole sequence of participation. The dynamic matching estimator handles this by comparing units at each decision point on their current characteristics and their prior treatment trajectory. At every step, a matched pair should be comparable given what has happened so far. This step-by-step comparison is what allows the estimator to separate the effects of different treatment paths.
History
Heckman, Ichimura and Todd (1998) developed matching as an econometric evaluation estimator, including kernel-based matching and propensity score matching. Lechner and Miquel (2010) set out identification of the effects of dynamic treatments under sequential conditional independence assumptions; the article appeared online in 2009 and in the journal issue dated 2010. The extension to repeated treatment decisions builds on that identification framework.
When to use it
Use the Dynamic Matching Estimator when treatment is assigned repeatedly over time, when treatment history plausibly affects outcomes, and when you can argue that assignment at each step is unconfounded given observed time-varying covariates and past treatment. It suits repeated programme participation, multi-round treatment protocols and sequential educational interventions. Do not use it when unmeasured time-varying confounders are a serious concern, because the SCIA would then fail and the estimates would be biased; in that case, instrumental-variable designs or sensitivity analysis are the appropriate directions to consider. It is also a poor choice when the number of distinct treatment histories is too large for each to contain comparable units, or when the data cover only one cross-section or a very short panel.
Limitations and considerations
- The number of distinct treatment histories grows as 2 to the power T for binary treatment across T periods, so matching cells become sparse and estimates imprecise as the number of periods increases.
- The SCIA is not testable in periods where treatment occurred. Its plausibility rests on subject-matter knowledge and on how rich the set of time-varying covariates is.
- Good matches must exist at every period within each history stratum. Thin strata produce high-variance estimates, and the method offers no automatic remedy.
- Unmeasured time-varying confounders cannot be handled. If selection at any period depends on unobserved variables that also affect the outcome, the estimates are biased.
- Implementation is more demanding than static matching, because the matching must be repeated across periods and histories and the uncertainty must be propagated through all steps.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- It estimates the effects of full treatment histories through matching rather than a parametric outcome regression, so the contrast does not rely on a correctly specified outcome model. It does rely on the SCIA, overlap and adequately specified dynamic propensity scores or matching covariates at every period.
- Covariates and past treatment are updated at every period, so the matching respects time-varying confounding that a single baseline comparison would miss.
- Estimates are reported for specific history contrasts, such as participation in periods 1 and 2 versus period 2 alone, which answers questions about sequencing directly.
- Heterogeneous effects across histories and subgroups can be examined within the same framework, since each history is compared with units that share its trajectory.
Applications
- Evaluating the cumulative effect of repeated participation in job-training or active-labour-market programmes.
- Assessing dose-response relationships in treatment protocols where patients receive several rounds of therapy.
- Studying the effects of sequential educational interventions, such as tutoring followed by an enrichment programme.
- Analysing the effect of several rounds of business support on firm survival.
- Examining the impact of repeated cash-transfer or welfare-programme participation on later outcomes.
How it works
How it works
The identifying assumption is the Sequential Conditional Independence Assumption (SCIA). It requires that, at each period t, treatment assignment is independent of future potential outcomes, conditional on observed time-varying covariates and the history of past treatments. It is the multi-period counterpart of single-period unconfoundedness, and it cannot be verified directly from the data. A second requirement is overlap: for each period and each observed history, the probability of each treatment value given the covariates must be strictly between 0 and 1, so that comparable units exist. Check common support within each history stratum before interpreting estimates. The matching covariates at period t must be measured before the treatment decision at t and must not be outcomes of earlier treatment. For example, a pre-decision employment status or local unemployment rate is a permitted covariate, whereas a wage or health measure recorded after the period's treatment and affected by it is not.
At each period t, a propensity score is modelled as the probability of treatment given current covariates X_it and the prior treatment history. Because the conditioning set includes the full history, the score compares units that share a treatment trajectory up to t-1 but differ in their treatment at t. The estimator depends on these scores (or the matching covariates) being specified well at every period, so the specification should be checked and reported.
Formula
p_t(X_{it}, \bar{D}_{i,t-1}) = P(D_{it}=1 \mid X_{it}, \bar{D}_{i,t-1})Within each period, units are matched on current covariates, and only units with the same prior treatment history are compared with one another. This keeps comparisons within trajectories, so that units with different histories are not pooled into a single baseline contrast. The matching rule (for example, nearest neighbour or caliper) is a design choice that should be reported.
After matching, average outcomes are estimated for each treatment history of interest, where \hat{Y}_i(d_1,\ldots,d_T) denotes the outcome of unit i under history (d_1,\ldots,d_T), observed or imputed from matched units. The effect of one history relative to another is the difference between these averages. As written, the formula averages the contrast over all n units in the sample, so it targets an average effect over the sample, E[Y(d)-Y(d')], rather than the effect on the treated for a given history. State the estimand explicitly before interpreting the result, and if an effect for a specific group is wanted, average over that group only.
Formula
\hat{\tau}(d_1,\ldots,d_T) = \frac{1}{n} \sum_{i=1}^{n} \left[ \hat{Y}_i(d_1,\ldots,d_T) - \hat{Y}_i(d_1',\ldots,d_T') \right]Standard errors must reflect the multi-step estimation, including the estimated propensity scores and the matching step; naive single-period formulas are not appropriate. A resampling approach such as the bootstrap is one option, but its validity for a specific matching procedure should be confirmed rather than assumed. Report covariate balance after matching separately for each period and history stratum, together with the number of matched units in each stratum, and state how the standard errors were obtained. Balance on observed variables does not test the SCIA itself.
Common pitfalls
- Collapsing the treatment history into a single baseline indicator and applying static matching. This ignores dynamic selection and mixes units with different trajectories.
- Checking covariate balance only once, pooled across periods. Imbalance at any single period undermines the comparisons made at that period and in later ones.
- Including post-treatment variables as matching covariates. This can bias the estimate by conditioning on mediators of the treatment effect.
- Applying the method to a two-period panel where a simpler difference-in-differences or static matching design may be just as valid and easier to explain.
- Reporting standard errors that ignore the sequential matching and propensity estimation steps, for example by using naive single-period formulas.
Frequently asked questions
How does the Dynamic Matching Estimator differ from static propensity score matching?
Static matching compares treated and untreated units once, at baseline. The dynamic version matches at each period, conditioning on prior treatment decisions and time-updated covariates, so that units with very different treatment histories are not compared with each other.
What is the Sequential Conditional Independence Assumption?
It states that, at each period, treatment assignment is independent of future potential outcomes given current observed covariates and the full history of past treatments. It is the dynamic analogue of the unconfoundedness assumption used in static settings, and it is used together with an overlap condition.
How many periods can I handle before the method becomes impractical?
With binary treatment, the number of possible histories doubles with each added period. Matching within every distinct history therefore becomes sparse as the number of periods grows, and the practical limit depends on how concentrated the treatment patterns are in your data. Researchers often restrict the analysis to a few key history contrasts or group similar histories together.
When should I use a marginal structural model instead?
Marginal structural models, estimated by inverse probability weighting, are an alternative when treatment histories are long or complex and an outcome model can be reasonably parameterised. Dynamic matching is more attractive when avoiding a parametric outcome model matters and the number of periods is small. The choice is a judgement that should be justified for the study.
How do I assess whether the SCIA is plausible?
The assumption cannot be tested directly. Its plausibility can be supported by including a rich set of pre-decision time-varying covariates and checking covariate balance at each period after matching. Sensitivity analysis for sequential unconfoundedness is less developed than for the static case, so any sensitivity approach you adopt should be justified and documented.
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 referenceHeckman, J. J., Ichimura, H., & Todd, P. (1998). Matching as an Econometric Evaluation Estimator. Review of Economic Studies, 65(2), 261-294.
Open DOI reference