← All designs What this design is used to study →

Difference-in-differences

All fields Finance Accounting Economics Other fields
80
packages in this design and field (the same count as the methods and outcomes pages)
73
with a model that shows the design itself (the models the estimation choices below are read from)
2008–2016
median sample years, read as each package page reads its period (52 packages set one in code: 46 a start, 46 an end)

This design across fields

Fieldpackages main clustering (of those that cluster)winsorize / trimchecks
All fields 498 author-named unit 36%; unspecified id (id, i, group...) 12%; county / city / district 12%; state / province 11% (n=385) 30% pre-trend test 27%; event-time 5%
Finance 80 firm 20%; author-named unit 14%; unspecified id (id, i, group...) 12%; state / province 11% (n=66) 61% pre-trend test 10%; event-time 9%
Accounting 23 author-named unit 18%; firm 18%; industry 12%; industry × time 12% (n=17) 74% pre-trend test 0%; event-time 4%
Economics 393 author-named unit 42%; county / city / district 15%; unspecified id (id, i, group...) 13%; state / province 11% (n=301) 21% pre-trend test 31%; event-time 5%
Other fields 2 thin author-named unit 100% (n=1) 0% pre-trend test 50%; event-time 0%

The typical package, and three that differ

Typical = the package that makes the most of this cell's modal choices (reghdfe, clustered by firm, firm + time fixed effects, winsorizes, drops missing rows) — it matches 5 of 6. Each contrast takes the second most common choice on one dimension.

Typical
Board connections, firm profitability, and product market actions
Radhakrishnan Gopalan; Renping Li; Alminas Zaldokas · Journal of Financial Economics 2026 · package 114094 · 108 estimations read
commands
reghdfe
clusters by
firm
fixed effects
industry × time + author-named unit
outliers
winsorize 1/99; winsorize, cut not stored: the call could not be read
missing values
replace missing with another value (imputation); drop rows with missing values; replace missing with zero (imputation)
screens
exclude financials + utilities
sample years
1999–2018 (as on the package page)
checks
event-time
Contrast
Opioid Crisis and Real Estate Prices
Cláudia Custódio; Dragana Cvijanović; Moritz Wiedemann · Journal of Financial and Quantitative Analysis 2026 · package 14125 · 5 estimations read
clusters by state / province (modal: firm)
commands
eventstudyinteract, reghdfe
clusters by
state / province
fixed effects
county / city / district + time
outliers
winsorize 2/98
missing values
drop rows with missing values
sample years
2013–… (as on the package page)
checks
heterogeneity-robust estimator
Contrast
Do Product Market Threats Discipline Corporate Misconduct?
Jie Chen; Xuan Tian; Bin Xu; Xiaoyu Zhang · Journal of Financial and Quantitative Analysis 2026 · package 39589 · 4 estimations read
absorbs industry + time (modal: firm + time)
commands
reg
clusters by
firm
fixed effects
industry + time
outliers
winsorize 1/99
missing values
—
sample years
2001–… (as on the package page)
checks
none of the design's checks found
Contrast
Stakeholder Orientation, Product Market Competition, and the Cost of Equity
Zhihong Chen; Sichen Shen; Hong Zou · Review of Corporate Finance Studies 2026 · package 7269 · 2 estimations read
estimates with eventstudyinteract (modal: reghdfe)
commands
eventstudyinteract, did_imputation
clusters by
author-named unit
fixed effects
firm + time
outliers
winsorize 1/99
missing values
drop rows with missing values
checks
heterogeneity-robust estimator; multiple-testing correction

Sample screens

Share of 80 packages in the cell. Greyed: fewer than 10 packages.

Industry screens are read into whole SIC/NAICS sectors (Samples page); CRSP screens are share codes 10/11, exchange codes 1–3 and a price cut of $10 or less in a package that reads CRSP / Compustat / TAQ.

Outliers

49 of 80 packages (61%) winsorize or trim something: 47 winsorize, 3 trim, 8 by group (e.g. by year).

Share of the 49 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.

Missing values

Share of 80 packages in the cell (a package can do several). Greyed: fewer than 10 packages.

Fills count only imputation of a measured variable (R&D set to 0 after a merge), not a dummy being completed.

Standard errors

  • clusters in at least one estimation90% · 66
  • robust only (never clusters)5% · 4
  • default iid only4% · 3

Of the 73 packages with a model that shows the design.

Main clustering level

Share of the 66 packages that cluster: each package counted once, at the level most of its estimations use. Greyed: fewer than 10 packages.

Levels are read from variable names (gvkey, permno → firm; fips, county → county). "Author-named unit" is a name that does not reveal its level (fac_id, route, provider); "unspecified id" is id, i, group — never guessed.

Fixed effects

66 of 73 packages absorb fixed effects in at least one estimation (absorb(), i. dummies, xtreg, fe).

Main fixed-effect set

Share of the 66 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.

Any estimation absorbs…

Share of 73 packages with a model that shows the design. Greyed: fewer than 10 packages.

Estimator commands

Share of 73 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.

Validation checks

Share of 80 packages in the cell. A check run under a macro or in a file we could not read is missed, so these are lower bounds. Greyed: fewer than 10 packages.

The heterogeneity-robust share is partly circular — those estimators also put a package into this design. Placebo tests are not shown: the detector read 7 of 10 correct.