{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T09:53:45Z","timestamp":1781603625179,"version":"3.54.5"},"reference-count":52,"publisher":"Oxford University Press (OUP)","issue":"2","license":[{"start":{"date-parts":[[2026,4,9]],"date-time":"2026-04-09T00:00:00Z","timestamp":1775692800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/journals\/pages\/open_access\/funder_policies\/chorus\/standard_publication_model"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2026,4,9]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Staggered treatment adoption arises in the evaluation of policy impact and implementation in many settings, including both randomized stepped-wedge trials (SWTs) and non-randomized quasi-experiments with panel data. In both settings, getting an interpretable, unbiased effect estimate requires careful consideration of the target estimand and possible treatment effect heterogeneities. This paper proposes a novel non-parametric approach for interpretable estimation in SWTs. By constructing an estimator using weighted averages of two-by-two difference-in-differences comparisons as building blocks, the investigator can target the desired estimand for any assumed treatment effect heterogeneities. This provides desirable bias and interpretation properties while using the comparisons efficiently to mitigate the loss of precision, without requiring correct variance specification. The methods are demonstrated for a randomized SWT on the impact of novel tuberculosis diagnostic tools, and the results are compared to analyses using previous methods. A comparison of results in simulated settings is included as well. A full algorithm with R code is provided to implement this method and to compare against existing methods. The proposed method allows for high flexibility and clear targeting of desired effects, providing one solution to the bias-variance-generalizability tradeoff.<\/jats:p>","DOI":"10.1093\/biomtc\/ujag105","type":"journal-article","created":{"date-parts":[[2026,5,28]],"date-time":"2026-05-28T11:48:15Z","timestamp":1779968895000},"source":"Crossref","is-referenced-by-count":0,"title":["A generalized difference-in-differences estimator for stepped-wedge cluster-randomized trials"],"prefix":"10.1093","volume":"82","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-7604-3638","authenticated-orcid":false,"given":"Lee","family":"Kennedy-Shaffer","sequence":"first","affiliation":[{"name":"Department of Biostatistics, Yale School of Public Health , New Haven, CT 06511 ,","place":["United States"]}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"286","published-online":{"date-parts":[[2026,6,16]]},"reference":[{"key":"2026061605164384200_bib1","doi-asserted-by":"crossref","first-page":"370","DOI":"10.1016\/j.jfineco.2022.01.004","article-title":"How much should we trust stagge red difference-in-differences estimates?","volume":"144","author":"Baker","year":"2022","journal-title":"Journal of Financial Economics"},{"key":"2026061605164384200_bib2","doi-asserted-by":"crossref","first-page":"3253","DOI":"10.1093\/restud\/rdae007","article-title":"Revisiting event-study designs: robust and efficient estimation","volume":"91","author":"Borusyak","year":"2024","journal-title":"Review of Economic Studies"},{"key":"2026061605164384200_bib3","doi-asserted-by":"crossref","first-page":"109022","DOI":"10.1016\/j.spl.2020.109022","article-title":"On the centrosymmetry of treatment effect estimators for stepped wedge and related cluster randomized trial designs","volume":"172","author":"Bowden","year":"2021","journal-title":"Statistics & Probability Letters"},{"key":"2026061605164384200_bib4","doi-asserted-by":"crossref","first-page":"200","DOI":"10.1016\/j.jeconom.2020.12.001","article-title":"Difference-in-differences with multiple time periods","volume":"225","author":"Callaway","year":"2021","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib5","doi-asserted-by":"crossref","first-page":"352","DOI":"10.1186\/s13063-015-0842-7","article-title":"Designing a stepped wedge trial: three main designs, carry-over effects and randomisation approaches","volume":"16","author":"Copas","year":"2015","journal-title":"Trials"},{"key":"2026061605164384200_bib6","volume-title":"Causal Inference: The Mixtape","author":"Cunningham","year":"2021"},{"key":"2026061605164384200_bib7","doi-asserted-by":"crossref","first-page":"2964","DOI":"10.1257\/aer.20181169","article-title":"Two-way fixed effects estimators with heterogeneous treatment effects","volume":"110","author":"de\u00a0Chaisemartin","year":"2020","journal-title":"American Economic Review"},{"key":"2026061605164384200_bib8","doi-asserted-by":"crossref","first-page":"C1","DOI":"10.1093\/ectj\/utac017","article-title":"Two-way fixed effects and differences-in-differences with heterogeneous treatment effects: a survey","volume":"26","author":"de\u00a0Chaisemartin","year":"2023","journal-title":"The Econometrics Journal"},{"key":"2026061605164384200_bib9","doi-asserted-by":"crossref","first-page":"e1001766","DOI":"10.1371\/journal.pmed.1001766","article-title":"Impact of replacing smear microscopy with Xpert MTB\/RIF for diagnosing tuberculosis in Brazil: a stepped-wedge cluster-randomized trial","volume":"11","author":"Durovni","year":"2014","journal-title":"PLoS Medicine"},{"key":"2026061605164384200_bib10","doi-asserted-by":"publisher","DOI":"10.1101\/2024.04.08.24305335","article-title":"Parallel trends in an unparalleled pandemic: difference-in-differences for infectious disease policy evaluation","author":"Feng","year":"2024"},{"key":"2026061605164384200_bib11","doi-asserted-by":"crossref","first-page":"e70247","DOI":"10.1002\/sim.70247","article-title":"Difference-in-differences for health policy and practice: a review of modern methods","volume":"44","author":"Feng","year":"2025","journal-title":"Statististics in Medicine"},{"key":"2026061605164384200_bib12","doi-asserted-by":"crossref","first-page":"254","DOI":"10.1016\/j.jeconom.2021.03.014","article-title":"Difference-in-differences with variation in treatment timing","volume":"225","author":"Goodman-Bacon","year":"2021","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib13","doi-asserted-by":"crossref","first-page":"190","DOI":"10.1016\/j.jeconom.2019.04.011","article-title":"Placebo inference on treatment effects when the number of clusters is small","volume":"213","author":"Hagemann","year":"2019","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib14","doi-asserted-by":"crossref","first-page":"h391","DOI":"10.1136\/bmj.h391","article-title":"The stepped wedge cluster randomised trial: rationale, design, analysis, and reporting","volume":"350","author":"Hemming","year":"2015","journal-title":"BMJ"},{"key":"2026061605164384200_bib15","doi-asserted-by":"crossref","first-page":"1043","DOI":"10.1093\/ije\/dyaa077","article-title":"Reflection on modern methods: when is a stepped-wedge cluster randomized trial a good study design choice?","volume":"49","author":"Hemming","year":"2020","journal-title":"International Journal of Epidemiology"},{"key":"2026061605164384200_bib16","doi-asserted-by":"crossref","first-page":"159","DOI":"10.1016\/j.jclinepi.2021.04.003","article-title":"Key concepts in clinical epidemiology: stepped wedge trials","volume":"137","author":"Hooper","year":"2021","journal-title":"Journal of Clinical Epidemiology"},{"key":"2026061605164384200_bib17","doi-asserted-by":"crossref","first-page":"4718","DOI":"10.1002\/sim.7028","article-title":"Sample size calculation for stepped wedge and other longitudinal cluster randomised trials: sample size calculation for stepped wedge trials","volume":"35","author":"Hooper","year":"2016","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib18","doi-asserted-by":"crossref","first-page":"119","DOI":"10.1111\/biom.13106","article-title":"Robust inference for the stepped wedge design","volume":"76","author":"Hughes","year":"2020","journal-title":"Biometrics"},{"key":"2026061605164384200_bib19","volume-title":"The Effect: An Introduction to Research Design and Causality","author":"Huntington-Klein","year":"2022"},{"key":"2026061605164384200_bib20","doi-asserted-by":"crossref","first-page":"405","DOI":"10.1017\/pan.2020.33","article-title":"On the use of two-way fixed effects regression models for causal inference with panel data","volume":"29","author":"Imai","year":"2021","journal-title":"Political Analysis"},{"key":"2026061605164384200_bib21","doi-asserted-by":"crossref","first-page":"661","DOI":"10.1177\/17407745231186094","article-title":"Informative cluster size in cluster-randomised trials: a case study from the TRIGGER trial","volume":"20","author":"Kahan","year":"2023","journal-title":"Clinical Trials"},{"key":"2026061605164384200_bib22","doi-asserted-by":"crossref","first-page":"613","DOI":"10.1080\/07350015.2018.1546591","article-title":"The promise and pitfalls of differences-in-differences: reflections on 16 and Pregnant and other applications","volume":"38","author":"Kahn-Lang","year":"2020","journal-title":"Journal of Business & Economic Statistics"},{"key":"2026061605164384200_bib23","doi-asserted-by":"crossref","first-page":"144","DOI":"10.1111\/biom.12959","article-title":"Information content of cluster\u2013period cells in stepped wedge trials","volume":"75","author":"Kasza","year":"2019","journal-title":"Biometrics"},{"key":"2026061605164384200_bib24","doi-asserted-by":"crossref","first-page":"4686","DOI":"10.1002\/sim.8327","article-title":"Information content of stepped-wedge designs when treatment effect heterogeneity and\/or implementation periods are present","volume":"38","author":"Kasza","year":"2019","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib25","doi-asserted-by":"crossref","first-page":"1324","DOI":"10.1093\/aje\/kwaa141","article-title":"Statistical properties of stepped wedge cluster-randomized trials in infectious disease outbreaks","volume":"189","author":"Kennedy-Shaffer","year":"2020","journal-title":"American Journal of Epidemiology"},{"key":"2026061605164384200_bib26","doi-asserted-by":"crossref","first-page":"815","DOI":"10.1002\/sim.8451","article-title":"Novel methods for the analysis of stepped wedge cluster randomized trials","volume":"39","author":"Kennedy-Shaffer","year":"2020","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib27","doi-asserted-by":"crossref","first-page":"4311","DOI":"10.1002\/sim.9511","article-title":"Analysis of stepped wedge cluster randomized trials in the presence of a time-varying treatment effect","volume":"41","author":"Kenny","year":"2022","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib28","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1002\/sim.9941","article-title":"Cluster randomized trial designs for modeling time-varying intervention effects","volume":"43","author":"Lee","year":"2024","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib29","article-title":"What is estimated in cluster randomized crossover trials with informative sizes? \u2013 A survey of estimands and common estimators","author":"Lee","year":"2025"},{"key":"2026061605164384200_bib30","doi-asserted-by":"crossref","first-page":"e70256","DOI":"10.1002\/sim.70256","article-title":"Analysis of stepped-wedge cluster randomized trials when treatment effects vary by exposure time or calendar time","volume":"44","author":"Lee","year":"2025","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib31","doi-asserted-by":"crossref","first-page":"890","DOI":"10.1002\/sim.9990","article-title":"Planning stepped wedge cluster randomized trials to detect treatment effect heterogeneity","volume":"43","author":"Li","year":"2024","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib32","doi-asserted-by":"crossref","first-page":"419","DOI":"10.1007\/s10742-021-00244-w","article-title":"Heterogeneous treatment effects and bias in the analysis of the stepped wedge design","volume":"21","author":"Lindner","year":"2021","journal-title":"Health Services and Outcomes Research Methodology"},{"key":"2026061605164384200_bib33","doi-asserted-by":"crossref","first-page":"435","DOI":"10.1016\/j.jeconom.2020.04.024","article-title":"Randomization inference for difference-in-differences with few treated clusters","volume":"218","author":"MacKinnon","year":"2020","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib34","doi-asserted-by":"crossref","first-page":"2551","DOI":"10.1111\/biom.13803","article-title":"Assessing exposure-time treatment effect heterogeneity in stepped-wedge cluster randomized trials","volume":"79","author":"Maleyeff","year":"2023","journal-title":"Biometrics"},{"key":"2026061605164384200_bib35","doi-asserted-by":"crossref","first-page":"3772","DOI":"10.1002\/sim.7403","article-title":"Stepped wedge designs: Insights from a design of experiments perspective","volume":"36","author":"Matthews","year":"2017","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib36","doi-asserted-by":"crossref","first-page":"e0208876","DOI":"10.1371\/journal.pone.0208876","article-title":"Mixed effects approach to the analysis of the stepped wedge cluster randomised trial\u2014investigating the confounding effect of time through simulation","volume":"13","author":"Nickless","year":"2018","journal-title":"PLOS ONE"},{"key":"2026061605164384200_bib37","doi-asserted-by":"crossref","first-page":"2218","DOI":"10.1016\/j.jeconom.2023.03.008","article-title":"What\u2019s trending in difference-in-differences? A synthesis of the recent econometrics literature","volume":"235","author":"Roth","year":"2023","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib38","doi-asserted-by":"crossref","first-page":"669","DOI":"10.1086\/726581","article-title":"Efficient estimation for staggered rollout designs","volume":"1","author":"Roth","year":"2023","journal-title":"Journal of Political Economy Microeconomics"},{"key":"2026061605164384200_bib39","doi-asserted-by":"crossref","first-page":"322","DOI":"10.1198\/016214504000001880","article-title":"Causal inference using potential outcomes: design, modeling, decisions","volume":"100","author":"Rubin","year":"2005","journal-title":"Journal of the American Statistical Association"},{"key":"2026061605164384200_bib40","doi-asserted-by":"crossref","first-page":"1835","DOI":"10.1080\/01621459.2021.1974458","article-title":"Randomization tests in observational studies with staggered adoption of treatment","volume":"116","author":"Shaikh","year":"2021","journal-title":"Journal of the American Statistical Association"},{"key":"2026061605164384200_bib41","doi-asserted-by":"crossref","first-page":"175","DOI":"10.1016\/j.jeconom.2020.09.006","article-title":"Estimating dynamic treatment effects in event studies with heterogeneous treatment effects","volume":"225","author":"Sun","year":"2021","journal-title":"Journal of Econometrics"},{"key":"2026061605164384200_bib42","doi-asserted-by":"crossref","first-page":"2487","DOI":"10.1002\/sim.7668","article-title":"Robust analysis of stepped wedge trials using cluster-level summaries within periods","volume":"37","author":"Thompson","year":"2018","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib43","doi-asserted-by":"crossref","first-page":"45","DOI":"10.1177\/17407745241276137","article-title":"A review of current practice in the design and analysis of extremely small stepped-wedge cluster randomized trials","volume":"22","author":"Tong","year":"2025","journal-title":"Clinical Trials"},{"key":"2026061605164384200_bib44","doi-asserted-by":"crossref","first-page":"e0123252","DOI":"10.1371\/journal.pone.0123252","article-title":"Impact on patients\u2019 treatment outcomes of XpertMTB\/RIF implementation for the diagnosis of tuberculosis: follow-up of a stepped-wedge randomized clinical trial","volume":"10","author":"Trajman","year":"2015","journal-title":"PLOS ONE"},{"key":"2026061605164384200_bib45","doi-asserted-by":"crossref","first-page":"75","DOI":"10.1016\/j.jclinepi.2015.11.004","article-title":"Different methods to analyze stepped wedge trial designs revealed different aspects of intervention effects","volume":"72","author":"Twisk","year":"2016","journal-title":"Journal of Clinical Epidemiology"},{"key":"2026061605164384200_bib46","doi-asserted-by":"crossref","first-page":"3326","DOI":"10.1002\/sim.10120","article-title":"Robust analysis of stepped wedge trials using composite likelihood models","volume":"43","author":"Voldal","year":"2024","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib47","doi-asserted-by":"crossref","first-page":"1751","DOI":"10.1002\/sim.9326","article-title":"Model misspecification in stepped wedge trials: random effects for time or treatment","volume":"41","author":"Voldal","year":"2022","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib48","doi-asserted-by":"crossref","first-page":"ujae123","DOI":"10.1093\/biomtc\/ujae123","article-title":"How to achieve model-robust inference in stepped wedge trials with model-based methods?","volume":"80","author":"Wang","year":"2024","journal-title":"Biometrics"},{"key":"2026061605164384200_bib49","doi-asserted-by":"crossref","first-page":"628","DOI":"10.1097\/EDE.0000000000001755","article-title":"Advances in difference-in-differences methods for policy evaluation research","volume":"35","author":"Wang","year":"2024","journal-title":"Epidemiology"},{"key":"2026061605164384200_bib50","doi-asserted-by":"crossref","first-page":"2831","DOI":"10.1002\/sim.7329","article-title":"The use of permutation tests for the analysis of parallel and stepped-wedge  cluster-randomized trials","volume":"36","author":"Wang","year":"2017","journal-title":"Statistics in Medicine"},{"key":"2026061605164384200_bib51","doi-asserted-by":"crossref","first-page":"485","DOI":"10.1146\/annurev-publhealth-061022-050825","article-title":"Designing difference-in-difference studies with staggered treatment adoption: key concepts and practical guidelines","volume":"45","author":"Wing","year":"2024","journal-title":"Annual Review of Public Health"},{"key":"2026061605164384200_bib52","doi-asserted-by":"crossref","first-page":"121","DOI":"10.2307\/2531248","article-title":"Longitudinal data analysis for discrete and continuous outcomes","volume":"42","author":"Zeger","year":"1986","journal-title":"Biometrics"}],"container-title":["Biometrics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/biometrics\/article-pdf\/82\/2\/ujag105\/68533253\/ujag105.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/biometrics\/article-pdf\/82\/2\/ujag105\/68533253\/ujag105.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T09:16:55Z","timestamp":1781601415000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/biometrics\/article\/doi\/10.1093\/biomtc\/ujag105\/8708764"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,4,9]]},"references-count":52,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2026,4,9]]}},"URL":"https:\/\/doi.org\/10.1093\/biomtc\/ujag105","relation":{},"ISSN":["0006-341X","1541-0420"],"issn-type":[{"value":"0006-341X","type":"print"},{"value":"1541-0420","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2026,6]]},"published":{"date-parts":[[2026,4,9]]},"article-number":"ujag105"}}