Inference With Difference-in-Differences With a Small Number of Groups: A Review, Simulation Study, and Empirical Application Using SHARE Data
Open accessThe DOI matches its Crossref record; 37 of the 37 references it cites were found in a registry or an index.
Abstract
Background: Difference-in-differences (DID) estimation has become increasingly popular as an approach to evaluate the effect of a group-level policy on individual-level outcomes. Several statistical methodologies have been proposed to correct for the within-group correlation of model errors resulting from the clustering of data. Little is known about how well these corrections perform with the often small number of groups observed in health research using longitudinal data. Methods: First, we review the most commonly used modeling solutions in DID estimation for panel data, including generalized estimating equations (GEE), permutation tests, clustered standard errors (CSE), wild cluster bootstrapping, and aggregation. Second, we compare the empirical coverage rates and power of these methods using a Monte Carlo simulation study in scenarios in which we vary the degree of error correlation, the group size balance, and the proportion of treated groups. Third, we provide an empirical example using the Survey of Health, Ageing, and Retirement in Europe. Results: When the number of groups is small, CSE are systematically biased downwards in scenarios when data are unbalanced or when there is a low proportion of treated groups. This can result in over-rejection of the null even when data are composed of up to 50 groups. Aggregation, permutation tests, bias-adjusted GEE, and wild cluster bootstrap produce coverage rates close to the nominal rate for almost all scenarios, though GEE may suffer from low power. Conclusions: In DID estimation with a small number of groups, analysis using aggregation, permutation tests, wild cluster bootstrap, or bias-adjusted GEE is recommended.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“While normal-based inference accounts for error correlation within clusters, it requires a substantial number of both treated and untreated clusters (e.g., at least 25 or 30 clusters in each class), which may not exist in many DiD applications (Table 4, row 1) [17, 114].”
From Difference-in-Differences for Health Policy and Practice: A Review of Modern Methods (2025) · cites this paper as [114]
In the citing paper
“Simulations suggest that these methods can perform well with about five clusters, although estimates may be conservative when the proportion of treated units is small (Table 4, row 2) [39, 114, 116].”
From Difference-in-Differences for Health Policy and Practice: A Review of Modern Methods (2025) · cites this paper as [114]
In the citing paper
“If there are only a few clusters in the data, normal-based clustered standard errors are typically anti-conservative [114, 115], leading to inappropriately small p values and an inflated Type I error rate.”
From Difference-in-Differences for Health Policy and Practice: A Review of Modern Methods (2025) · cites this paper as [114]
Citations
Cites
A heteroskedasticity-consistent covariance matrix estimator and a direct test for heteroskedasticity
White, H. (1980) · Econometrica · doi:10.2307/1912934 · Cited by 25,861
Longitudinal data analysis using generalized linear models
LIANG, K.-Y., & ZEGER, S. L. (1986) · Biometrika · doi:10.1093/biomet/73.1.13 · Cited by 18,550
How Much Should We Trust Differences-in-Differences Estimates?
Bertrand, M., Duflo, E., & Mullainathan, S. (2004) · The Quarterly Journal of Economics · doi:10.1162/003355304772839588 · Cited by 10,641
Longitudinal Data Analysis for Discrete and Continuous Outcomes
Zeger, S. L., & Liang, K.-Y. (1986) · Biometrics · doi:10.2307/2531248 · Cited by 7,764
A Practitioner’s Guide to Cluster-Robust Inference
Colin Cameron, A., & Miller, D. L. (2015) · Journal of Human Resources · doi:10.3368/jhr.50.2.317 · Cited by 5,037
Bootstrap-Based Improvements for Inference With Clustered Errors
Cameron, A. C., Gelbach, J. B., & Miller, D. L. (2008) · Review of Economics and Statistics · doi:10.1162/rest.90.3.414 · Cited by 4,417
Data Resource Profile: The Survey of Health, Ageing and Retirement in Europe (SHARE)
Börsch-Supan, A., Brandt, M., Hunkler, C., Kneip, T., Korbmacher, J., Malter, F., Schaan, B., Stuck, S., & Zuber, S. (2013) · International Journal of Epidemiology · doi:10.1093/ije/dyt088 · Cited by 2,377
Inference with Difference-in-Differences and Other Panel Data
Donald, S. G., & Lang, K. (2007) · Review of Economics and Statistics · doi:10.1162/rest.89.2.221 · Cited by 1,324
Methods for Evaluating Changes in Health Care Policy: The Difference-in-Differences Approach
Dimick, J. B., & Ryan, A. M. (2014) · JAMA · doi:10.1001/jama.2014.16153 · Cited by 1,193 · cited 5×
“The AR(1) process allows data to be serially correlated across time within groups, as in the way country-specific economic or health conditions evolve progressively over time.”
BackgroundMethodInfluentialCluster-Sample Methods in Applied Econometrics
Wooldridge, J. M. (2003) · American Economic Review · doi:10.1257/000282803321946930 · Cited by 867
Permutation Methods: A Basis for Exact Inference
Ernst, M. D. (2004) · Statistical Science · doi:10.1214/088342304000000396 · Cited by 802
Free Distribution or Cost-Sharing? Evidence from a Randomized Malaria Prevention Experiment*
Cohen, J., & Dupas, P. (2010) · Quarterly Journal of Economics · doi:10.1162/qjec.2010.125.1.1 · Cited by 762
Self-citationA Covariance Estimator for GEE with Improved Small‐Sample Properties
Mancl, L. A., & DeRouen, T. A. (2001) · Biometrics · doi:10.1111/j.0006-341x.2001.00126.x · Cited by 656
Inference with “Difference in Differences” with a Small Number of Policy Changes
Conley, T. G., & Taber, C. R. (2011) · Review of Economics and Statistics · doi:10.1162/rest_a_00049 · Cited by 633
Eldridge, S. M., Ashby, D., & Kerry, S. (2006) · International Journal of Epidemiology · doi:10.1093/ije/dyl129 · Cited by 529
Covariance Adjustment in Randomized Experiments and Observational Studies
Rosenbaum, P. R. (2002) · Statistical Science · doi:10.1214/ss/1042727942 · Cited by 477
Wild Bootstrap Inference for Wildly Different Cluster Sizes
MacKinnon, J. G., & Webb, M. D. (2017) · Journal of Applied Econometrics · doi:10.1002/jae.2508 · Cited by 454 · cited 1×
“MacKinnon and Webb17 use this measure to produce critical values from the t(G*−1) distribution and compare false discovery rates with those from the usual t(G−1) distribution.”
BackgroundMethods for sample size determination in cluster randomized trials
Rutterford, C., Copas, A., & Eldridge, S. (2015) · International Journal of Epidemiology · doi:10.1093/ije/dyv113 · Cited by 429
Why We Should Not Be Indifferent to Specification Choices for Difference‐in‐Differences
Ryan, A. M., Burgess, J. F., & Dimick, J. B. (2015) · Health Services Research · doi:10.1111/1475-6773.12270 · Cited by 320
Bias reduction in standard errors for linear regression with multi-stage samples
McCaffrey, D. F., & Bell, R. M. (2003) · Quality Engineering · Cited by 318
Small-Sample Adjustments for Wald-Type Tests Using Sandwich Estimators
Fay, M. P., & Graubard, B. I. (2001) · Biometrics · doi:10.1111/j.0006-341x.2001.01198.x · Cited by 306
Robust Standard Errors in Small Samples: Some Practical Advice
Imbens, G. W., & Kolesár, M. (2016) · Review of Economics and Statistics · doi:10.1162/rest_a_00552 · Cited by 236
Datar, A., & Sturm, R. (2004) · American Journal of Public Health · doi:10.2105/ajph.94.9.1501 · Cited by 217
The long-run effect of maternity leave benefits on mental health: Evidence from European countries
Avendaño, M., Berkman, L. F., Brugiavini, A., & Pasini, G. (2015) · Social Science & Medicine · doi:10.1016/j.socscimed.2015.02.037 · Cited by 204
Small Sample Correction for the Variance of GEE Estimators
Morel, J. G., Bokossa, M. C., & Neerchal, N. K. (2003) · Biometrical Journal · doi:10.1002/bimj.200390021 · Cited by 187
Pan, W., & Wall, M. M. (2002) · Statistics in Medicine · doi:10.1002/sim.1142 · Cited by 150
Ho, D. E., & Imai, K. (2006) · Journal of the American Statistical Association · doi:10.1198/016214505000001258 · Cited by 142
Improving Chronic Illness Care: A Longitudinal Cohort Analysis of Large Physician Organizations
Shortell, S. M., Gillies, R., Siddique, J., Casalino, L. P., Rittenhouse, D., Robinson, J. C., & McCurdy, R. K. (2009) · Medical Care · doi:10.1097/mlr.0b013e31819a621a · Cited by 100 · cited 1×
“Conceptually, the approaches used to account for within-group correlation in outcomes can be divided into 3 broad categories: (1) post hoc adjustments such as CSE, bootstrapping, or permutation tests; (2) explicitly modeling the within-cluster error correlation; and (3) aggregating the data to the group level, thereby…”
MethodZivin, K., Pfeiffer, P. N., Szymanski, B. R., Valenstein, M., Post, E. P., Miller, E. M., & McCarthy, J. F. (2010) · Medical Care · doi:10.1097/mlr.0b013e3181e5792b · Cited by 99
Estee, S., Wickizer, T., He, L., Shah, M. F., & Mancuso, D. (2010) · Medical Care · doi:10.1097/mlr.0b013e3181bd498f · Cited by 81 · cited 1×
“Conceptually, the approaches used to account for within-group correlation in outcomes can be divided into 3 broad categories: (1) post hoc adjustments such as CSE, bootstrapping, or permutation tests; (2) explicitly modeling the within-cluster error correlation; and (3) aggregating the data to the group level, thereby…”
MethodPeters, T., Richards, S., Bankhead, C., Ades, A., & Sterne, J. (2003) · International Journal of Epidemiology · doi:10.1093/ije/dyg228 · Cited by 73
Werner, R. M., Duggan, M., Duey, K., Zhu, J., & Stuart, E. A. (2013) · Medical Care · doi:10.1097/mlr.0b013e31828d4d29 · Cited by 65
Small sample characteristics of generalized estimating equations
Gunsolley, J. C., Getchell, C., & Chinchilli, V. M. (1995) · Communications in Statistics - Simulation and Computation · doi:10.1080/03610919508813280 · Cited by 42
Costa‐Font, J., Karlsson, M., & Øien, H. (2016) · Health Economics · doi:10.1002/hec.3385 · Cited by 41
McGovern, M. E., Herbst, K., Tanser, F. C., Mutevedzi, T., Canning, D., Gareta, D., Pillay, D., & Bärnighausen, T. (2016) · International Journal of Epidemiology · doi:10.1093/ije/dyw122 · Cited by 30
McCaffrey, D. F., & Bell, R. M. (2006) · Statistics in Medicine · doi:10.1002/sim.2502 · Cited by 29
Kalousová, L. (2014) · Health Policy and Planning · doi:10.1093/heapol/czu024 · Cited by 12
Cited by
Nothing to See Here? A Non‐Inferiority Approach to Parallel Trends
Bilinski, A., & Hatfield, L. A. (2026) · Statistics in Medicine · doi:10.1002/sim.70296 · Cited by 102
Effects of Risk-Based Firearm Seizure Laws in Connecticut and Indiana on Suicide Rates, 1981–2015
Kivisto, A. J., & Phalen, P. L. (2018) · Psychiatric Services · doi:10.1176/appi.ps.201700250 · Cited by 151
“Finally, because difference-in-differences tests with a small number of treated clusters can underestimate standard errors (24), follow-up analyses employed randomization inference to account for within-group correlation of model errors (24,25).”
BackgroundRaifman, J., Moscoe, E., Austin, S. B., Hatzenbuehler, M. L., & Galea, S. (2018) · JAMA Psychiatry · doi:10.1001/jamapsychiatry.2018.0757 · Cited by 99
“Difference-in-difference analyseswith a small number of groups can produce standard errors that are too low, making confidence intervals overly narrow.(37)We therefore estimated thePvaluewithpermutation tests using the 3-state groups included in the main analysis, as well as selecting 1 additional 3-stategroup fromamo…”
Nothing to See Here? A non-inferiority approach to parallel trends
Bilinski, A., & Hatfield, L. A. (2018) · arXiv · doi:10.48550/arxiv.1805.03273 · Cited by 104
Rokicki, S., & Fink, G. (2017) · BMC Public Health · doi:10.1186/s12889-017-4939-7 · Cited by 80
“We adjusted all models for blocking variables, which were category of school (higher quality public, lower quality public, and private) and an indicator for the presence of home economics class) and we clustered standard errors at the school level to correct for within-school correlation of outcomes [28, 29].”
MethodSelf-citation
Metadata
- Authors
- Rokicki, S., Cohen, J., Fink, G., Salomon, J. A., & Landrum, M. B.
- Affiliations
- University College Dublin (IE)
- Harvard University (US)
- Swiss Tropical and Public Health Institute (CH)
- Corresponding author
- Rokicki, Slawa
- Venue
- Medical Care
- Published
- 2018-01
- Volume
- 56
- Issue
- 1
- Pages
- 97-105
- ISSN
- 0025-7079 (ISSN-L)
- OpenAlex
- W2767784255
- Cited by
- 53
- References
- 37
- Citations by year
- 2026: 5 · 2025: 9 · 2024: 4 · 2023: 4 · 2022: 5 · 2021: 13 · 2020: 6 · 2019: 3 · 2018: 3
- FWCI
- 0.65
- Type
- journal article
- Language
- en
- Open access
- green
- edoc.unibas.ch
- Licence
- other-oa
- Locations
- Medical Care (publishedVersion)
- PubMed (publishedVersion)
- edoc (University of Basel) (acceptedVersion, other-oa)
- Zenodo (CERN European Organization for Nuclear Research) (submittedVersion, other-oa)
- Funders
- European Commission (261982, IAG BSR06-11, QLK6‐CT‐2001‐ 00360, RII-CT- 2006-062193, P01_AG08291, SHARE-I3: RII-CT-2006-062193, SHARE M4, SHARE-I3, U01 AG09740-13S2, P30 AG12815, CIT5-CT-2005- 028857, P01 AG005842, 211909, OGHA 04-064, CIT4-CT-2006-028812, Y1-AG-4553-01, FP6 (SHARE-I3: RII-CT-2006-062193, 227822, HHSN271201300071C, SHARELIFE: CIT4-CT-2006–028812)
- Max-Planck-Gesellschaft (Y1-AG-4553-01, P30_AG12815, P01_AG08291, P01_AG005842, 227822, CIT4-CT-2006-028812, HHSN271201300071C, OGHA_04-064, 261982, IAG_BSR06-11, CIT5-CT-2005-028857, RII-CT-2006-062193, 211909, QLK6-CT-2001-00360, U01_AG09740-13S2)
- National Institutes of Health (2p30ag012815-16)
- National Institute on Aging (HHSN271201300071C, R21AG025169, P01AG005842, U01AG009740)
- Topics
- Physical Sciences › Mathematics › Statistics and Probability › Advanced Causal Inference Techniques
- Physical Sciences › Mathematics › Statistics and Probability › Statistical Methods and Bayesian Inference
- Social Sciences › Economics, Econometrics and Finance › Economics and Econometrics › Spatial and Panel Data Analysis
- Keywords
- difference-in-differences, clustered standard errors, within-group correlation, generalized estimating equations, permutation tests, wild cluster bootstrap, aggregation, statistical power, panel data, health policy evaluation
- MeSH terms
- Computer Simulation, Europe, Humans, Monte Carlo Method, Statistics as Topic, Models, Statistical, Bias, Cluster Analysis, Patient Outcome Assessment
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.