Panel Data Coarsened Exact Matching
Panel Data Coarsened Exact Matching Estimator · Also known as: Panel CEM, CEM for panel data, coarsened exact matching with panel data
Panel Data Coarsened Exact Matching applies the Coarsened Exact Matching (CEM) algorithm to repeated-measures panel data, matching treated and control units within the same coarsened covariate strata across multiple time periods. It balances pre-treatment characteristics before estimating a causal treatment effect, combining the transparency of exact matching with the richer identification available in longitudinal datasets.
Read the full method
Sign in with a free account to read this section.
Method map
The neighbourhood of related methods — select a node to explore.
When to use it
Use Panel Data CEM when you have repeated observations on units over time, a subset of units receives a treatment or intervention, and you want to balance pre-treatment covariate distributions before estimating the effect. It is well-suited when treatment assignment is not random but depends on observable characteristics, sample sizes are large enough to retain adequate matched units after pruning, and transparency in the matching procedure is important. It is particularly advantageous when covariates include both time-invariant baseline characteristics and pre-treatment trends. Do not use it when the panel is too short to establish pre-treatment similarity, when the treated group is very small (heavy pruning may eliminate most observations), when treatment assignment depends heavily on unobservables, or when computational costs of multi-period matching are prohibitive.
Strengths & limitations
- Guarantees exact balance on coarsened covariates within matched strata, with no parametric assumptions about the selection model.
- Transparent and auditable: researchers can directly inspect which strata are matched and which units are pruned.
- Combining matching with panel fixed effects provides dual control — one for observable imbalance, one for time-invariant unobservables.
- Reduces model dependence compared to regression adjustment alone, because treatment and control groups overlap on matched covariates by construction.
- Applicable to both binary and multi-valued treatments in panel settings.
- Heavy pruning: strata without both treated and control units are discarded, potentially reducing the matched sample substantially and limiting external validity.
- Choice of coarsening cutpoints is consequential but not uniquely determined by theory; different binning schemes can yield different matched samples.
- Does not address unobserved confounders — if selection into treatment depends on variables not in the data, matched estimates remain biased.
- With many covariates and multiple time periods, the number of strata grows rapidly and matched units become sparse.
Frequently asked
How does CEM differ from propensity score matching in a panel context?
CEM matches units by requiring them to fall in the same coarsened covariate bins, guaranteeing balance by construction without estimating a propensity model. Propensity score matching collapses all covariates into a single scalar and then matches on that score, which can mask residual imbalance on individual covariates. In panel settings, CEM can incorporate pre-treatment time series directly into the strata definition, whereas propensity matching typically requires the researcher to summarise the history into summary statistics.
What happens when many units are pruned?
Pruning improves internal validity by ensuring treated and control units are genuinely comparable, but it reduces the number of units in the analysis. The ATT estimate then applies only to the matched subpopulation — not all treated units. Researchers should report the fraction of treated units retained and assess whether the matched sample is representative of the broader population they care about.
Do I still need fixed effects after matching?
Matching on pre-treatment covariates reduces observable imbalance, but time-invariant unobserved heterogeneity may still differ across units. Adding unit fixed effects in the outcome model after matching provides an additional layer of control, so the combination is generally recommended for panel data. The two approaches target different sources of confounding.
How many pre-treatment periods should I include in the matching strata?
Including more pre-treatment periods improves the quality of matching on trends but increases the dimensionality of the strata, which accelerates pruning. A practical balance is to include enough periods to capture the pre-treatment trajectory — often two to four lagged outcome values — and to rely on within-unit differencing for residual trend adjustment.
What is the right number of bins for coarsening?
There is no universal rule. Common approaches use quantile-based bins (quartiles or deciles), substantively meaningful cutpoints, or automated selection based on data density. Researchers should report sensitivity of results to alternative binning choices as part of the robustness analysis.
Sources
- Iacus, S. M., King, G., & Porro, G. (2012). Causal Inference without Balance Checking: Coarsened Exact Matching. Political Analysis, 20(1), 1-24. DOI: 10.1093/pan/mpr013 ↗
- Imai, 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. DOI: 10.1111/ajps.12685 ↗
How to cite this page
ScholarGate. (2026, June 3). Panel Data Coarsened Exact Matching Estimator. ScholarGate. https://scholargate.app/en/causal-inference/panel-data-coarsened-exact-matching
Which method?
Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.
- Coarsened Exact MatchingCausal inference↔ compare
- Difference-in-DifferencesEconometrics↔ compare
- Matching EstimatorCausal inference↔ compare
- Panel Data Propensity Score MatchingCausal inference↔ compare
- Panel Fixed EffectsEconometrics↔ compare
- Propensity Score MatchingResearch Statistics↔ compare