Research Methods
Difference-in-Differences in Empirical Legal Studies
From legal reform to a credible counterfactual
- Author
- Methods Desk
- Date
- April 30, 2026
- Reading
- 5 min read
- Format
- Study note
Abstract
This article explains how difference-in-differences can be used to study legal and regulatory change while preserving the legal meaning of treatment, timing, and outcomes. The method compares changes for treated units with changes for a comparison group, but its credibility depends on a counterfactual argument rather than on the regression form alone. The article addresses treatment definition, parallel trends, anticipation, staggered adoption, heterogeneous effects, clustering, event-study diagnostics, spillovers, and bundled reforms. Its central argument is that legal researchers must derive the empirical design from the rule’s scope, effective date, enforcement mechanism, and behavioral channel. The institutional implication is that a statistically precise estimate remains uninformative when treatment is legally misclassified or when another reform changes the same actors at the same time. The article concludes with a reporting checklist for reproducible legal research.
The Design Question
Difference-in-differences asks whether an outcome changed differently for units exposed to a legal intervention than for units that provide a credible comparison. In the simplest setting, one group becomes treated after a reform while another remains untreated. The difference between the groups’ before-and-after changes is interpreted as the treatment effect under stated assumptions.
The regression is not the research design. The design is the legal and institutional argument explaining why the comparison group approximates what would have happened to the treated group without the intervention. That argument must begin with the rule: its legal source, covered population, effective date, transitional provisions, enforcement mechanism, and plausible behavioral channel.
Defining Treatment as a Legal Variable
Legal change rarely occurs at a single obvious moment. A statute may be enacted, promulgated, become effective, receive implementing rules, and only later be enforced. Regulated actors may anticipate the change and alter behavior before the formal effective date. Courts may apply a decision retroactively or limit it to particular claims. Agencies may phase compliance by firm size or activity.
Researchers should therefore record at least:
- the formal legal event and its source;
- the units legally covered and excluded;
- enactment, publication, effective, compliance, and enforcement dates;
- exemptions, thresholds, grandfathering, and transitional rules;
- contemporaneous reforms affecting the same outcome; and
- the mechanism linking the rule to observable behavior.
A binary treatment indicator may conceal meaningful differences in exposure or enforcement intensity. If treatment varies continuously or compliance is incomplete, the estimand and interpretation must be adjusted rather than forcing the institutional setting into a convenient dummy variable.
The Counterfactual and Parallel Trends
The conventional identifying assumption is that, absent treatment, average outcomes for treated and comparison groups would have followed parallel trends. This assumption concerns the unobserved counterfactual, so it cannot be proven by a statistical test. Pre-treatment patterns, institutional similarity, placebo outcomes, and knowledge of assignment can make it more or less credible.
Similar pre-treatment levels are not required, and similar pre-treatment trends are not sufficient. A comparison group may track the treated group before reform but face a different shock afterward. Conversely, groups with different levels can support the design if the difference would plausibly have remained stable. Researchers should explain why the legal or economic forces affecting outcomes would have evolved similarly without the intervention.
Timing, Heterogeneity, and Event Studies
When jurisdictions or firms adopt a rule at different times, a conventional two-way fixed-effects regression can combine comparisons with different substantive meanings. Already-treated units may serve as controls for later-treated units, and heterogeneous effects across cohorts or time can produce difficult-to-interpret weighted averages. Modern group-time or interaction-weighted approaches are designed to make these comparisons more transparent [3][4].
An event-study graph can display dynamic estimates before and after treatment. Pre-treatment coefficients may reveal anticipation or differential trends, while post-treatment coefficients may show delayed or changing effects. But the graph is not a mechanical validation test. Researchers should identify the omitted period, confidence intervals, cohort composition, binning of distant periods, and estimator used.
Inference and Clustering
Policy outcomes are often serially correlated within jurisdictions, courts, firms, or other treatment units. Treating repeated observations as independent can produce standard errors that are too small. Bertrand, Duflo, and Mullainathan demonstrate the seriousness of this problem in common policy settings [1].
The clustering level should follow the level at which treatment or relevant shocks are assigned, subject to the data structure and number of clusters. Few clusters require additional caution and may call for small-sample methods or alternative randomization-based inference. Adding several clustering levels without explaining the assignment process is not a substitute for a design-based argument.
Legal Threats to Identification
Anticipation and delayed compliance
Firms may react when legislation becomes probable, while courts and agencies may implement a rule gradually. A single post indicator can misclassify both periods. Event time should be grounded in the institutional sequence.
Bundled reforms
Legal reforms often change disclosure, liability, governance, procedure, and enforcement simultaneously. An estimate may identify the effect of the package but not the contribution of each component. The article should state that limitation rather than attributing the result to a favored mechanism.
Spillovers and strategic responses
Untreated units may be affected through competition, contracting networks, forum choice, migration, or regulatory learning. Such spillovers can contaminate the comparison group and alter the estimand. They may also be substantively important outcomes in their own right.
Changing composition
Entry, exit, settlement, delisting, insolvency, or changes in reporting can alter which units remain observed. If the reform affects observation itself, balanced-panel restrictions and attrition checks need legal as well as statistical justification.
Interpretation
A difference-in-differences coefficient should be described as the estimated change for a defined treated population, relative to a defined comparison, over a defined period, under explicit assumptions. Statistical significance does not establish legal importance. Researchers should report effect size, uncertainty, baseline scale, affected population, and whether the outcome measures the proposed mechanism or only a downstream correlate.
Nor does a causal effect settle the normative question. A rule that reduces violations may also increase compliance costs, deter beneficial activity, redistribute risk, or change access to legal institutions. Policy evaluation requires these effects to be considered alongside the estimated outcome.
Reporting Checklist
- Cite the legal source and record all relevant dates.
- Explain treatment eligibility, exclusions, and actual exposure.
- Identify the estimand, comparison group, and unit of observation.
- Defend parallel trends institutionally and inspect pre-treatment dynamics.
- Address anticipation, staggered timing, heterogeneity, and spillovers.
- Record fixed effects, controls, sample restrictions, and clustering level.
- Separate the package effect from untested mechanism claims.
- Distinguish statistical, economic, and legal significance.
- Preserve data, code, output, and documentation as separate reproducible materials.
Source trail
References
- [1]
Bertrand, Marianne, Esther Duflo, and Sendhil Mullainathan. “How Much Should We Trust Differences-in-Differences Estimates?” Quarterly Journal of Economics 119, no. 1 (2004): 249–275.
- [2]
Angrist, Joshua D., and Jörn-Steffen Pischke. Mostly Harmless Econometrics: An Empiricist’s Companion. Princeton: Princeton University Press, 2009.
- [3]
Callaway, Brantly, and Pedro H. C. Sant’Anna. “Difference-in-Differences with Multiple Time Periods.” Journal of Econometrics 225, no. 2 (2021): 200–230.
- [4]
Sun, Liyang, and Sarah Abraham. “Estimating Dynamic Treatment Effects in Event Studies with Heterogeneous Treatment Effects.” Journal of Econometrics 225, no. 2 (2021): 175–199.
Source links identify stable publication records where available. Readers should verify quotations, pagination, and edition details against the original source before formal citation.
Continue reading
Selected Further Reading
Research Methods
Law and Economics: A Research Primer
Incentives, information, transaction costs, and institutional choice
Financial Regulation
Stress Testing and Prudential Regulation
Scenario design, supervisory judgment, disclosure, and institutional incentives
