- Introduced by
- Iacus, King & Porro (CEM, 2012); extended to multi-period panel settings
- Year
- 2012–2021
- Type
- Non-parametric matching / causal inference
- Family
- Quasi-experimental / causal inference
What does it do?
Multi-period coarsened exact matching applies the coarsened exact matching (CEM) logic of Iacus, King, and Porro to panel or repeated cross-section data with several pre- and post-treatment periods.
Continuous covariates are coarsened into bins, and treated and control units are matched only when they fall into the same cell in every period used. The effect is then estimated as a weighted average of post-treatment outcome differences across matched units. The multi-period extension is not attributed to a single originator in the cited sources. The steps below describe one specification of it, and the choices left to the analyst are noted within each step.
The intuition behind the method
Standard CEM rounds continuous covariates into coarse categories so that treated and control units can be matched exactly within cells. With panel data, the same comparison is made across several periods, so a matched pair must also agree on covariates measured at the other waves. This lowers the chance that units which look alike at one date had already diverged before treatment for unrelated reasons. Matched units are then weighted, and outcome differences are averaged across the post-treatment periods.
History
Coarsened exact matching was introduced by Iacus, King, and Porro in their 2012 Political Analysis article as a matching method that enforces covariate balance directly rather than through a propensity model. The multi-period variant described on this page is not attributed to a single originator in the cited sources. Imai, Kim, and Wang (2021) address matching for time-series cross-sectional data, using matching on treatment history combined with weighting and difference-in-differences; their approach differs from CEM and does not define the multi-period CEM procedure described here.
When to use it
Use multi-period CEM when you have panel or repeated cross-section data with several time periods, a binary treatment that applies to some units and not others, and a set of pre-treatment covariates measured at more than one wave. It is most relevant when simple matching on a single pre-treatment snapshot may miss covariate differences that develop over time. It is also a reasonable choice when you prefer exact matching on coarsened covariates to a propensity model that must be correctly specified. Do not use it when covariates are measured at only one point in time, where standard CEM is the appropriate method. Avoid it when many covariates with no natural coarsening would leave few or no matched units, and when the panel is too short to assess pre-treatment trends.
Limitations and considerations
- Requiring matches in every included period means pruning rises when covariate cells differ across waves, which can substantially reduce the matched sample and statistical power.
- Bin width and the number of categories affect which units are matched, and there is no objective rule that settles them.
- Only observed covariates are balanced; unmeasured confounders that differ between matched units remain a threat to causal identification.
- Exact cell matching across several waves can leave few or no matched units in small samples or when there are many covariates.
- Multi-period cell and weight construction is not part of the 2012 CEM formulation, so researchers must build period-specific cells and weights themselves.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Within retained strata, treated and control units agree exactly on the coarsened covariates, so no parametric model of treatment assignment is required.
- Applying the same cell definitions at several waves compares units on their covariate values over time, not only on a single snapshot.
- The L1 imbalance statistic gives a model-free summary of multivariate imbalance before and after matching.
- Pruning unmatched units makes the analysed sample explicit and limits extrapolation beyond the region where treated and control units overlap.
- A difference-in-differences estimator can be applied to the matched sample to remove remaining fixed group differences and common trends, under the parallel-trends assumption. Imai, Kim, and Wang (2021) combine matching with difference-in-differences for time-series cross-sectional data, a related but distinct design.
Applications
- Evaluating the effect of a firm-level policy or shock using matched competitor firms observed across several fiscal years.
- Assessing the impact of a municipal programme on neighbourhood outcomes by matching similar neighbourhoods on pre-programme characteristics at multiple survey waves.
- Studying labour-market effects of a training intervention by matching participants and non-participants on employment histories at multiple pre-treatment quarters.
- Analysing healthcare policy impacts by matching patients on clinical characteristics measured at several pre-treatment visits.
- Estimating the causal effect of a technology adoption on firm performance using panel data with multiple pre- and post-adoption periods.
How it works
How it works
Each continuous covariate is grouped into ordered bins. Bin boundaries and the number of categories are analyst decisions, based on substantive grounds rather than on the resulting sample size, and the binning rule used should be reported. Covariates are coarsened with one set of bin definitions applied to every included period, so that the same cell definitions apply across waves.
Treated and control units are matched exactly within coarsened cells. Units that share the same coarsened covariate profile across all included periods are placed in the same stratum. Control units with no treated match, and treated units with no control match, are pruned from the analysis. Within retained strata, treated and control units agree exactly on the coarsened covariates, without a parametric model of treatment assignment.
After matching, covariate balance is assessed with the L1 imbalance statistic, computed on the matched sample. L1 is a nonparametric summary of multivariate imbalance that is 0 under perfect balance. A well-matched sample should show L1 substantially lower than in the raw data. Report whether L1 is computed for each period separately or pooled across periods. No universal cut-off separates acceptable from large residual imbalance, so that judgement rests with the analyst. If residual imbalance is large, bin widths or the set of matching covariates can be revised and the check repeated.
The estimation formula weights period-specific outcome differences by w_t, so weights are indexed by period. The weights must be defined explicitly for each period and reported with the results, because the weighting scheme affects the estimate.
The estimate is a weighted average, over periods t, of the difference between matched treated and control mean post-treatment outcomes, divided by the sum of the weights. Its interpretation depends on identifying assumptions. These are no unmeasured confounding given the coarsened covariates within matched strata (conditional ignorability), adequate overlap so that each retained stratum contains both treated and control units, no interference between units (SUTVA), and, if a difference-in-differences step is added, parallel trends. Under these assumptions the estimate refers to the matched treated units. State the target population explicitly when reporting results.
Formula
\hat{\tau} = \frac{\sum_{t} w_t \left(\bar{Y}_{T,t}^{\text{post}} - \bar{Y}_{C,t}^{\text{post}}\right)}{\sum_{t} w_t}Common pitfalls
- Choosing coarsening bins after seeing the results, in order to maximise sample retention, rather than on substantive grounds. This adds researcher degrees of freedom.
- Attributing post-treatment differences to the treatment without first checking that pre-treatment trends within matched strata are comparable.
- Reporting a matched-sample estimate without stating how many treated units were pruned, which can severely limit external validity.
- Using too many covariates or too fine a coarsening, which produces near-empty strata and inflates the variance of the final estimate.
- Treating the matching step as sufficient for causal identification, without considering unobserved confounders or interference between units.
Frequently asked questions
How does multi-period CEM differ from standard CEM?
Standard CEM matches units on covariates measured at a single point in time, typically just before treatment. Multi-period CEM applies the same coarsening and matching across several periods, so that treated and control units must be comparable at each included wave rather than at one snapshot. This reduces the risk that time-varying differences in covariates go unaddressed, although it does not remove unobserved confounding.
What is the L1 imbalance statistic?
L1 is a nonparametric summary of multivariate imbalance between treated and control units. It equals 0 under perfect balance, and values closer to 1 indicate greater imbalance. Matching aims to bring L1 close to 0. No universal cut-off separates acceptable from unacceptable imbalance, so the value should be read alongside the matched sample size and the covariates concerned.
How many time periods are needed?
At least two periods are required, one pre-treatment and one post-treatment. Multi-period CEM is most informative with several periods: at least two pre-treatment periods allow comparison of trends within matched strata, and one or more post-treatment periods are needed for estimation. No minimum number of periods is established for this procedure, so the choice is a design decision to be justified in the analysis.
Can I combine multi-period CEM with difference-in-differences?
Some matching-plus-difference-in-differences designs have been proposed. Imai, Kim, and Wang (2021) do so for time-series cross-sectional data, where they first match on identical treatment history and then refine the matched set on covariates using standard matching and weighting methods. Applying a difference-in-differences estimator to a CEM-matched subsample is a design choice rather than a result established in the cited sources. It still requires the parallel-trends assumption, and pre-treatment trends in the matched sample should be checked.
What do I do if too many treated units are pruned?
Consider coarsening covariates more broadly to widen strata and retain more matches. You can also restrict matching to the most critical covariates and control for the rest in a regression adjustment on the matched sample. No threshold for an acceptable pruning share is established, so report the number of pruned treated units and judge its effect on external validity. If pruning remains severe, consider alternatives such as propensity-score weighting, which does not discard unmatched units.
Related methods
Sources
Iacus, S. M., King, G., & Porro, G. (2012). Causal inference without balance checking: Coarsened exact matching. Political Analysis, 20(1), 1-24.
Open DOI referenceImai, K., Kim, I. S., & Wang, E. H. (2021). Matching methods for causal inference with time-series cross-sectional data. American Journal of Political Science, 67(3), 587-605.
Open DOI reference