RigorMed
← Research resources

Social science

How to check parallel trends in difference-in-differences

Plot pre-treatment outcomes, then inspect the size and intervals of pre-treatment estimates. The post-treatment counterfactual trend also needs a defensible comparison group and institutional evidence.

Social science

Gather unit identifiers, periods, first treatment dates, the outcome definition, and sample rules. Record announcement dates, implementation dates, and concurrent shocks. Changes in sample composition can alter the trend plot.

Parallel trends concerns an untreated counterfactual after treatment begins. Pre-treatment estimates help flag issues. Report wide intervals or limited power when they matter.

How to do it

  1. Define treatment timing and comparison units

    Mark the first treated period for each unit. State whether comparisons use never-treated or not-yet-treated units or another design. For staggered adoption, record cohorts and valid comparison periods.

  2. Plot observed outcomes first

    Report group means and sample counts by calendar time. Explain weighting, adjustments, and sample restrictions. Look for missing periods, outliers, and abrupt changes in sample composition.

  3. Inspect pre-treatment estimates and intervals

    State the reference period and plot estimates with uncertainty. Consider joint tests and substantively meaningful departures. If announcement precedes implementation, examine anticipation.

  4. State assumptions and rival explanations

    Check differential shocks and coverage. With staggered timing, choose an estimator appropriate to groups and periods, and explain effect aggregation and sensitivity checks.

Worked example

Synthetic example with a policy starting at period 0. Negative values denote pre-treatment periods. The entries are group outcome means.

Worked example
PeriodTreated meanComparison mean
−34846
−25048
−15351
05953

The raw gap is 2 in each pre-treatment period and 6 at period 0. Formal inference still needs the sample definition, standard errors, anticipation assessment, and identification assumptions.

Common questions

Do insignificant pre-treatment coefficients prove parallel trends?

Read interval width and substantively plausible departures alongside institutional evidence. A test may have little power to detect departures.

What if I have one pre-treatment period?

Report baseline levels and design evidence. A single observation per group cannot establish a pre-treatment trajectory. Seek historical data or a design with a justified alternative.

Verified sources

The official sources below were checked on 2026-11-13. Access conditions and update dates are rechecked before publication.

  1. Callaway and Sant’Anna — Pre-Testing in a DiD Setup
  2. Callaway and Sant’Anna — Difference-in-Differences with Multiple Time Periods

RigorMed workspace

Audit my policy evaluation design

Bring authorized group and period summaries, treatment dates, and outcomes. Draft a timeline, pre-trend checks, and unresolved assumptions about comparison units.