Simulation design
Population
Each replication draws a balanced panel of 1950 units observed over \(T = 12\) periods. Three cohorts are treated, first in periods 4, 7 and 10; a reservoir of never-treated units supplies the controls.
| Group | First treated | Units | \(X \sim\) | \(\Pr(Z=1)\) | \(\Pr(U=1)\) |
|---|---|---|---|---|---|
| Cohort 4 | \(g = 4\) | 150 | \(N(0,\,1)\) | 0.75 | 0.8 |
| Cohort 7 | \(g = 7\) | 250 | \(N(1.5,\,0.75^2)\) | 0.50 | 0.5 |
| Cohort 10 | \(g = 10\) | 350 | \(N(3,\,0.5^2)\) | 0.25 | 0.2 |
| Never treated | — | 1200 | mixture of the three cohort laws |
The never-treated reservoir is built from three equal-sized blocks whose covariates follow the three cohort distributions, so that every cohort has suitable matches. Adjacent cohorts overlap in \(X\): the covariate is an informative but noisy predictor of a unit’s cohort, and the middle cohort overlaps with both neighbours. \(X\) and \(Z\) are observed; \(U\) is a latent characteristic that enters untreated outcomes in some designs but is never available to the estimators.
Outcomes
Untreated outcomes follow \[ Y_{it}(0) = \alpha_i + \lambda t + \mathrm{PT}_{it} + \varepsilon_{it}, \qquad Y_{it} = Y_{it}(0) + \mathbf{1}\{t \ge G_i\}\,\tau_{it}, \] with unit fixed effects \(\alpha_i\), a common trend \(\lambda t\), idiosyncratic noise \(\varepsilon_{it}\) and a design-specific trend component \(\mathrm{PT}_{it}\) that may depend on the unit’s characteristics.
Untreated trend designs
| Design | Trend term PT | Description |
|---|---|---|
| No trend | \(0\) | Parallel trends hold unconditionally |
| Linear in X and Z | \((0.2X+0.2Z)\,t\) | Untreated trend linear in X and Z |
| Linear in X | \(0.2\,X t\) | Untreated trend linear in X only |
| Linear in Z | \(0.2\,Z t\) | Untreated trend linear in Z only |
| X × Z interaction | \(0.2\,XZ\,t\) | Untreated trend driven by the interaction X × Z |
| Quadratic in X | \(0.1\,X^2 t\) | Untreated trend quadratic in X |
| Latent U | \(0.25\,U t\) | Linear trend in a latent, cohort-correlated characteristic U |
| Step in X | \(X\,\mathbf{1}(t\ge 8)\) | Level shift from period 8 proportional to X |
| Step in latent U | \(U\,\mathbf{1}(t\ge 8)\) | Level shift from period 8 proportional to the latent U |
| Drifting X | \(0.2\,X_{it}\,t\) | Trend in X, with X drifting at cohort-specific rates after matching |
| Cohort-specific slopes | \(\delta_g\, t\) | Cohort-specific trend slopes unrelated to X |
In the drifting X design, \(X_{it} = X_{i0} + \kappa_g (t-1)\) with cohort-specific drift rates, so that units matched on \(X\) at baseline diverge afterwards. In the cohort-specific slopes design each cohort, and the never-treated units drawn from its covariate law, has its own trend slope \(\delta_g\), unrelated to \(X\).
Treatment-effect patterns
| Pattern | Unit-level effect \(\tau_{it}\), \(e = t - g\) | \(ATT(4,e)\) | \(ATT(7,e)\) | \(ATT(10,e)\) |
|---|---|---|---|---|
| Constant | \(2\) | \(2\) | \(2\) | \(2\) |
| Dynamic, cohort-heterogeneous | \(a_g + d_g\, e\) | \(1 + 0.5e\) | \(1.5 + 0.75e\) | \(2 + e\) |
| Covariate-dependent | \(2 + b_g X_i\), \(b_g = 0.5, 0.75, 1\) | \(2\) | \(3.125\) | \(5\) |
The constant pattern isolates bias that comes from the comparison group. The dynamic pattern is the one reported in the paper’s Monte Carlo table. In the covariate-dependent pattern the effect varies with a matching covariate, so a cohort’s average effect depends on its covariate composition.
Matching
Treated units are matched one-to-one, without replacement, to never-treated units by nearest neighbour on the standardized covariates \((X, Z)\) measured at \(g-3\), before any treatment-related dynamics. Matching proceeds sequentially in order of treatment: cohort 4 first, then 7, then 10, each drawing from the controls left by earlier cohorts. Every matched control therefore carries the label of the cohort it was matched to; never-treated units that are not matched are dropped.
The simulation uses greedy nearest-neighbour matching within each cohort. The paper’s application chooses the within-cohort assignment to minimize the total covariate discrepancy; the two coincide whenever matches are not contested.
Estimators
| Estimator | Implementation | Controls for cohort \(g\) |
|---|---|---|
| TWFE, matched sample | Event-study regression with unit and period fixed effects on the matched sample | Everyone else in the matched sample |
| CS, pooled matched sample | did::att_gt, never-treated controls, no covariates, on the matched sample |
All matched controls, regardless of cohort |
| CM-CS (ours) | att_gt_mc(match_cohort = TRUE) |
Only the controls matched to cohort \(g\) |
| CS, covariates | did::att_gt on the full sample with linear covariates \(X\), \(Z\) (doubly robust) |
All never-treated units, reweighted by covariates |
The last estimator does not use matching; it appears on the Matching vs. conditioning page. All CS-type estimators use a universal base period \(g-1\) and are aggregated to event time with cohort-share weights. Bias statistics average the event-study estimates over post-treatment periods \(e \ge 0\) across 100 replications.