# Two-period difference-in-differences data-generating processes Each table describes 500 independent units from one simulated study. Treatment starts in the post period. The observed variables are baseline covariates `X`, treatment status `D`, and the change in outcome `delta_y`. Holding the study's family and parameter draw fixed, the target is the population average treatment effect on the treated: $$ \mathrm{ATT}=\mathbb E[Y_1(1)-Y_1(0)\mid D=1]. $$ Here Y₁(d) is a unit's post-period potential outcome under treatment status d. Six families have no observed covariates and supply an X array with zero columns. Their designs give treated and control units the same mean untreated change. In the covariate-adjusted designs the corresponding comparison conditions on X. ## How the splits were generated | Released split | Tables | Family and parameter sampling | |---|---:|---| | Historical adapter training | 10,000 | Draw from ten families with equal probability, then draw parameters for that table. | | Historical validation | 200 | Generate 20 independent studies per training family. | | Starter train / dev / test | 48 / 16 / 32 | Draw fresh studies from the 13-family prior with seed 20261119. The three splits use successive, disjoint table indices. | | Pooled evaluation | 2,000 | Draw each family with probability 1/13, then its parameters, then its 500 rows. Seed 20261116. | The historical splits use data seed 20261110. The pooled prior adds the network, censored-history and bridge-panel designs to the ten historical training families. Evaluation draws one table per parameter draw. Each table contributes one estimate and one interval to the comparison. ## Designs and parameter priors The family names and prior tables use the field names in the scoring files. U(a, b) is a continuous uniform distribution. Alternatives in a prior table have equal probability, and vector entries with separate ranges are independent. Draw study parameters once per table. In the equations, Z denotes an independent standard normal noise draw, normal distributions use variance as their second parameter, and τ denotes the parameter named “effect” where present. The following notation specifies treatment assignment whenever a design gives a propensity e(X). $$ D\mid X\sim\mathrm{Bernoulli}(e(X)),\qquad L(v)=\frac{1}{1+\exp(-v)},\qquad B_\epsilon(v)=\epsilon+(1-2\epsilon)L(v). $$ | Family | Observed covariates | Evaluation tables | |---|---:|---:| | `qin` | 2 | 134 | | `ye` | 0 | 150 | | `truncated` | 0 | 160 | | `mixture` | 0 | 169 | | `santanna_zhao` | 4 | 150 | | `abadie_lhour` | 4 | 155 | | `cwz_iid` | 0 | 158 | | `ferman_iid` | 1 | 142 | | `race_iid` | 1 | 154 | | `shi_iid` | 0 | 161 | | `zhou_network` | 0 | 165 | | `karmakar_censored` | 1 | 144 | | `zhao_bridge_panel` | 3 | 158 | ## Baseline-dependent selection and heteroskedastic change (`qin`) Source design — [Qin, J. and Zhang, B. (2008). Empirical-Likelihood-Based Difference-in-Differences Estimators. JRSS-B 70(2), 329–349](https://doi.org/10.1111/j.1467-9868.2007.00638.x). The observed covariates are a background variable z and a baseline outcome b. Baseline selection makes the mean of z among treated units relevant to the ATT. The same baseline also determines the size of the outcome noise. $$ \begin{aligned} z,u&\overset{\rm iid}{\sim}N(0,1), & b&=1+0.6z+u,\\ e(z,b)&=B_\epsilon(\beta_0+\beta_1 b+\beta_2 z), & h&=\begin{cases}3b+2z&\text{linear}\\3b^2+2z^2&\text{quadratic},\end{cases}\\ \Delta Y&=h-b+D(\tau_0+\tau_x z)+\sigma bZ, & \mathrm{ATT}&=\tau_0+\tau_x\,\mathbb E[z\mid D=1]. \end{aligned} $$ | Study parameter | Prior | |---|---| | `model` | linear or quadratic | | `epsilon` | 0.1 (fixed) | | `sigma` | U(0.5, 1.5) | | `tau0` | U(-2, 2) | | `tau_x` | U(-0.5, 0.5) | | `beta` | U(-0.5, 1), U(0.1, 0.5), U(0.1, 0.5) (in coordinate order) | ## Three groups with a common trend (`ye`) Source design — [Ye, T., Keele, L., Hasegawa, R. and Small, D. S. (2024). A Negative Correlation Strategy for Bracketing in Difference-in-Differences. JASA 119(547), 2256–2268](https://doi.org/10.1080/01621459.2023.2252576). Two control groups and one treated group have different baseline levels but share the same untreated drift. Write q for the first control group's share among controls, ℓ for the three group levels, and a for the drift. Differencing removes each group's level. $$ \begin{aligned} \big(P(G=A),P(G=B),P(G=T)\big)&=((1-\pi)q,(1-\pi)(1-q),\pi),\\ D&=\mathbf 1\{G=T\},\\ Y_0&=\ell_G+\sigma Z_0,\qquad Y_1=\ell_G+a+D\tau+\sigma Z_1,\\ \Delta Y&=a+D\tau+\sigma(Z_1-Z_0),\qquad \mathrm{ATT}=\tau. \end{aligned} $$ | Study parameter | Prior | |---|---| | `pi` | U(0.2, 0.6) | | `control_a_share` | U(0.2, 0.8) | | `levels` | U(-2, 10), U(-2, 10), U(-2, 10) (in coordinate order) | | `drift` | U(-2, 2) | | `effect` | U(-2, 2) | | `sigma` | U(0.5, 1.5) | ## A change in the scale of a truncated distribution (`truncated`) Source design — [Zhou, Y., Kurisu, D., Otsu, T. and Müller, H.-G. (2026). Geodesic difference-in-differences. Biometrika, asag054](https://doi.org/10.1093/biomet/asag054). The outcome is the mean of a truncated normal distribution. Treatment changes its post-period scale. Near a boundary this changes the mean even when the underlying location stays fixed. Let ℓ denote the location SD, m the post-period shift, s the baseline scale and a its treatment increment. The two locations are independent. $$ \begin{aligned} H(\mu,s)&=\mathbb E[W\mid -3\le W\le3],\quad W\sim N(\mu,s^2),\\ \mu_0&=\ell Z_0,\quad \mu_1=m+\ell Z_1,\quad D\sim\mathrm{Bernoulli}(\pi),\\ \Delta Y&=H(\mu_1,s+aD)-H(\mu_0,s),\\ \mathrm{ATT}&=\mathbb E[H(\mu_1,s+a)-H(\mu_1,s)]. \end{aligned} $$ | Study parameter | Prior | |---|---| | `pi` | U(0.2, 0.7) | | `scale` | U(0.8, 1.5) | | `scale_effect` | U(-0.4, 0.7) | | `shift` | U(-1.5, 1.5) | | `location_sd` | U(0.6, 1.2) | | `bound` | 3.0 (fixed) | ## A change in mixture weights (`mixture`) Source design — [Zhou, Y., Kurisu, D., Otsu, T. and Müller, H.-G. (2026). Geodesic difference-in-differences. Biometrika, asag054](https://doi.org/10.1093/biomet/asag054). Treatment shifts the probability that a post-period draw comes from the upper mixture component. Write M for the micro-sample size, a for component separation, b for the weight change, and v for within-component variance. A unit-specific normal location enters both periods and cancels. $$ \begin{aligned} D&\sim\mathrm{Bernoulli}(\pi),\quad K\mid D\sim\mathrm{Binomial}(M,1/2+bD),\\ \Delta Y&=a(2K/M-1)+\sqrt{v/M}\,(Z_1-Z_0),\\ \mathbb E[\Delta Y\mid D]&=2abD,\qquad \mathrm{ATT}=2ab. \end{aligned} $$ | Study parameter | Prior | |---|---| | `pi` | U(0.2, 0.7) | | `weight_effect` | U(-0.3, 0.3) | | `separation` | U(0.5, 1.5) | | `component_var` | U(0.25, 1) | | `micro_n` | 100 or 200 or 500 | | `location_sd` | U(0.5, 1.5) | ## Transformed covariates and a covariate-dependent trend (`santanna_zhao`) This two-period design adapts [this source study](https://psantanna.com/files/SantAnna_Zhao_DRDID.pdf). The same four transformed covariates drive treatment selection and the untreated trend. Draw four independent standard normals u and center and scale each component of V by its population mean and SD to form X. Write s for selection strength and c for trend scale. $$ \begin{aligned} V&=\big(e^{u_1/2},\,10+u_2 L(-u_1),\,(0.6+u_1u_3/25)^3,\,(20+u_2+u_4)^2\big),\\ e(X)&=B_\epsilon\!\big(s[-X_1+0.5X_2-0.25X_3-0.1X_4]\big),\\ m(X)&=c\,[210+27.4X_1+13.7(X_2+X_3+X_4)],\\ \Delta Y&=m(X)+D\tau+\sqrt{2}\sigma Z,\qquad \mathrm{ATT}=\tau. \end{aligned} $$ | Study parameter | Prior | |---|---| | `epsilon` | 0.1 (fixed) | | `selection` | 0.35 or 0.55 or 0.75 | | `sigma` | U(0.5, 1.5) | | `effect` | -2.0 or -1.0 or 0.0 or 1.0 or 2.0 | | `trend_scale` | U(0.02, 1.0) | ## Common-support mixture with bounded assignment (`abadie_lhour`) Source design — [A Penalized Synthetic Control Estimator for Disaggregated Data](https://doi.org/10.1080/01621459.2021.1971535). A single latent mixture indicator K selects how all four covariates are generated. Both components span the same interval. Actual treatment is then drawn using a bounded propensity based on all four coordinates. Write q for the mixture probability. $$ \begin{aligned} K&\sim\mathrm{Bernoulli}(q),\quad U_j\overset{\rm iid}{\sim}U(0,1),\\ X_j&=\begin{cases}0.1+0.8U_j &K=1\\ \sqrt{0.01+0.8U_j}&K=0,\end{cases}\quad j=1,\ldots,4,\\ e(X)&=\epsilon+(1-2\epsilon)\frac{q}{q+(1-q)\prod_{j=1}^4(2X_j)},\\ \Delta Y&=D\tau+\sigma(Z_1-Z_0),\qquad \mathrm{ATT}=\tau. \end{aligned} $$ | Study parameter | Prior | |---|---| | `epsilon` | 0.1 (fixed) | | `mixture_q` | 0.2 or 0.4 or 0.6 | | `sigma` | U(0.5, 1.5) | | `effect` | -2.0 or -1.0 or 0.0 or 1.0 or 2.0 | ## Independent donor panels (`cwz_iid`) Source design — [An Exact and Robust Conformal Inference Method for Counterfactual and Synthetic Controls](https://doi.org/10.1080/01621459.2021.1920957). Each independent row has its own 20 donor changes. A control reports one donor chosen uniformly. A treated unit reports a weighted sum plus an independent shock and an additive effect. All donor shocks are centered, so changing the weights affects dispersion while preserving the untreated mean. $$ \begin{aligned} A,B&\overset{\rm iid}{\sim}N(0,2),\quad E_j\overset{\rm iid}{\sim}N(0,0.8),\\ V_j&=A+(j/20)B+E_j,\quad j=1,\ldots,20,\\ D&\sim\mathrm{Bernoulli}(\pi),\quad J\sim\mathrm{Uniform}\{1,\ldots,20\},\\ \Delta Y&=\begin{cases}V_J & D=0\\ w^\top V+\sqrt{0.8}\,Z+\tau & D=1,\end{cases} \qquad \mathrm{ATT}=\tau. \end{aligned} $$ W1 averages all 20 donors, W2 averages the first three, W3 takes the negative of the 20-donor mean, and W4 takes the first donor minus the second. | Study parameter | Prior | |---|---| | `pi` | U(0.2, 0.6) | | `scheme` | W1 or W2 or W3 or W4 | | `effect` | U(-2, 2) | ## A latent factor with selection on the observed baseline (`ferman_iid`) Source design — [On the Properties of the Synthetic Control Estimator with Many Periods and Many Controls](https://doi.org/10.1080/01621459.2021.1965613). Treatment selection depends on the observed baseline X. A latent factor F persists into the next period, linking the baseline and untreated post-period outcome. Write s for selection strength. $$ \begin{aligned} F&\sim N(0,1),\quad X=F+Z_0,\quad e(X)=\pi+s\tanh(X/\sqrt2),\\ Y_1(0)&=0.5F+\sqrt{0.75}\,Z_1+Z_2,\\ \Delta Y&=Y_1(0)-X+D\tau,\qquad \mathrm{ATT}=\tau. \end{aligned} $$ | Study parameter | Prior | |---|---| | `pi` | U(0.35, 0.65) | | `selection` | U(-0.2, 0.2) | | `effect` | U(-2, 2) | ## Treatment by first adoption (`race_iid`) Source design — [Randomization Tests in Observational Studies With Staggered Adoption of Treatment](https://doi.org/10.1080/01621459.2021.1974458). The focal unit receives treatment when its clock rings first. Given X, the two clocks are independent exponentials with the rates below. The same covariate affects both the chance of winning and the size of the treatment effect. Write s for the clock slope and h for effect heterogeneity. $$ \begin{aligned} X&\sim U(-2,2),\quad \lambda_f=e^{1+sX},\quad \lambda_c=e,\\ D&=\mathbf1\{T_f