IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2605.04124.html

Design-Based Variance Estimation for Modern Heterogeneity-Robust Difference-in-Differences Estimators

Author

Listed:
  • Isaac Gerber

Abstract

Modern heterogeneity-robust difference-in-differences estimators derive their asymptotic properties under iid, cluster, or fixed-design frameworks that abstract from complex survey sampling, yet practitioners routinely apply them to nationally representative surveys with stratified cluster designs. We show that, under standard regularity conditions, the influence functions of each smooth IF-based or regression-based modern DiD estimator satisfy Binder's (1983) smoothness conditions, so the standard stratified-cluster variance formula applied to their values produces design-consistent standard errors. A Monte Carlo study with 66,000 replications shows where the design effect comes from. HC1 standard errors that treat observations as iid produce coverage as low as 34% under a baseline survey design and below 11% under informative sampling. Combining the survey-weighted point estimate with PSU-level clustering - the practitioner's cluster=psu heuristic - recovers near-nominal coverage across all scenarios. Adding strata and finite-population corrections yields incremental precision but is not required for valid coverage. Survey-weighted doubly robust estimation produces well-calibrated inference when parallel trends hold only conditionally. An NHANES illustration of the ACA dependent coverage provision shows that point estimates and standard errors change substantively - enough to reverse significance conclusions - when the survey design is accounted for. We provide diff-diff (https://github.com/igerber/diff-diff), an open-source Python package implementing design-based variance for fifteen modern DiD estimators.

Suggested Citation

  • Isaac Gerber, 2026. "Design-Based Variance Estimation for Modern Heterogeneity-Robust Difference-in-Differences Estimators," Papers 2605.04124, arXiv.org, revised May 2026.
  • Handle: RePEc:arx:papers:2605.04124
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2605.04124
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Xiaohong Chen & Pedro H. C. Sant'Anna & Haitian Xie, 2025. "Efficient Difference-in-Differences and Event Study Estimators," Papers 2506.17729, arXiv.org.
    2. Clément de Chaisemartin & Xavier D'Haultfœuille, 2020. "Two-Way Fixed Effects Estimators with Heterogeneous Treatment Effects," American Economic Review, American Economic Association, vol. 110(9), pages 2964-2996, September.
    3. Gary Solon & Steven J. Haider & Jeffrey M. Wooldridge, 2015. "What Are We Weighting For?," Journal of Human Resources, University of Wisconsin Press, vol. 50(2), pages 301-316.
    4. Doruk Cengiz & Arindrajit Dube & Attila Lindner & Ben Zipperer, 2019. "The Effect of Minimum Wages on Low-Wage Jobs," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 134(3), pages 1405-1454.
    5. Sant’Anna, Pedro H.C. & Zhao, Jun, 2020. "Doubly robust difference-in-differences estimators," Journal of Econometrics, Elsevier, vol. 219(1), pages 101-122.
    6. Kirill Borusyak & Xavier Jaravel & Jann Spiess, 2024. "Revisiting Event-Study Designs: Robust and Efficient Estimation," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 91(6), pages 3253-3285.
    7. Lumley, Thomas, 2004. "Analysis of Complex Survey Samples," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 9(i08).
    8. Yaa Akosa Antwi & Asako S. Moriya & Kosali Simon, 2013. "Effects of Federal Policy to Insure Young Adults: Evidence from the 2010 Affordable Care Act's Dependent-Coverage Mandate," American Economic Journal: Economic Policy, American Economic Association, vol. 5(4), pages 1-28, November.
    9. Brantly Callaway & Andrew Goodman-Bacon & Pedro H. C. Sant'Anna, 2021. "Difference-in-Differences with a Continuous Treatment," Papers 2107.02637, arXiv.org, revised Dec 2025.
    10. Xiaohong Chen & Pedro H. C. SantÕAnna & Haitian Xie, 2025. "Efficient Difference-in-Differences and Event Study Estimators," Cowles Foundation Discussion Papers 2470, Cowles Foundation for Research in Economics, Yale University.
    11. Michael P. Fay & Barry I. Graubard, 2001. "Small-Sample Adjustments for Wald-Type Tests Using Sandwich Estimators," Biometrics, The International Biometric Society, vol. 57(4), pages 1198-1206, December.
    12. Roth, Jonathan & Sant’Anna, Pedro H.C. & Bilinski, Alyssa & Poe, John, 2023. "What’s trending in difference-in-differences? A synthesis of the recent econometrics literature," Journal of Econometrics, Elsevier, vol. 235(2), pages 2218-2244.
    13. Athey, Susan & Imbens, Guido W., 2022. "Design-based analysis in Difference-In-Differences settings with staggered adoption," Journal of Econometrics, Elsevier, vol. 226(1), pages 62-79.
    14. Sun, Liyang & Abraham, Sarah, 2021. "Estimating dynamic treatment effects in event studies with heterogeneous treatment effects," Journal of Econometrics, Elsevier, vol. 225(2), pages 175-199.
    15. Callaway, Brantly & Sant’Anna, Pedro H.C., 2021. "Difference-in-Differences with multiple time periods," Journal of Econometrics, Elsevier, vol. 225(2), pages 200-230.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yuhao Deng & Le Kang, 2026. "Doubly Robust Estimation of Treatment Effects in Staggered Difference-in-Differences with Time-Varying Covariates," Papers 2603.04080, arXiv.org.
    2. Roth, Jonathan & Sant’Anna, Pedro H.C. & Bilinski, Alyssa & Poe, John, 2023. "What’s trending in difference-in-differences? A synthesis of the recent econometrics literature," Journal of Econometrics, Elsevier, vol. 235(2), pages 2218-2244.
    3. Arne Henningsen & Guy Low & David Wuepper & Tobias Dalhaus & Hugo Storm & Dagim Belay & Stefan Hirsch, 2026. "Estimating Causal Effects With Observational Data: Guidelines for Agricultural and Applied Economists," Journal of Agricultural Economics, Wiley Blackwell, vol. 77(2), pages 356-382, June.
    4. Gregory Faletto, 2023. "Fused Extended Two-Way Fixed Effects for Difference-in-Differences With Staggered Adoptions," Papers 2312.05985, arXiv.org, revised Apr 2025.
    5. Goodman-Bacon, Andrew, 2021. "Difference-in-differences with variation in treatment timing," Journal of Econometrics, Elsevier, vol. 225(2), pages 254-277.
    6. Yu, Yantuan & Zhang, Ning, 2025. "Towards low-carbon development through integration of technology and finance: Quasi-experimental evidence from China," Research in International Business and Finance, Elsevier, vol. 80(C).
    7. Ulbing, Philipp, 2024. "The Zero Lower Bound on Household Deposit Rates: Not As Binding As We Thought," VfS Annual Conference 2024 (Berlin): Upcoming Labor Market Challenges 302353, Verein für Socialpolitik / German Economic Association.
    8. Kiyoyasu TANAKA, 2025. "Synergy or Anergy? Foreign acquisition and firm productivity in Japan," Discussion papers 25085, Research Institute of Economy, Trade and Industry (RIETI).
    9. Martin Huber & Sarina Joy Oberhansli, 2026. "Difference-in-differences for mediation analysis using double machine learning," Papers 2602.23877, arXiv.org.
    10. Kim, Yoonjung, 2025. "The effects of universal free lunch provision on student achievement: Evidence from South Korea," Journal of Economic Behavior & Organization, Elsevier, vol. 238(C).
    11. Melnik, Walter & Smyth, Andrew, 2024. "R&D tax credits and innovation," Journal of Public Economics, Elsevier, vol. 236(C).
    12. Dami'an Vergara, 2022. "Minimum Wages and Optimal Redistribution," Papers 2202.00839, arXiv.org, revised Dec 2022.
    13. Philipp Bach & Sven Klaassen & Jannis Kueck & Mara Mattes & Martin Spindler, 2025. "Sensitivity Analysis for Treatment Effects in Difference-in-Differences Models using Riesz Representation," Papers 2510.09064, arXiv.org.
    14. Banasaz, Mohammadmahdi & Bose, Niloy & Sedaghatkish, Nazanin, 2025. "Identification of loan effects on personal finance: A case for small U.S. entrepreneurs," Journal of Economic Behavior & Organization, Elsevier, vol. 234(C).
    15. Rüttenauer, Tobias & Kapelle, Nicole, 2024. "Panel Data Analysis," SocArXiv 3mfzq, Center for Open Science.
    16. Dor Leventer, 2025. "Conditional Triple Difference-in-Differences," Papers 2502.16126, arXiv.org, revised Jun 2025.
    17. Vinish Shrestha, 2022. "Revisiting the Effects of Cigarette Taxes on Smoking Outcomes," Working Papers 2022-02, Towson University, Department of Economics, revised Jun 2024.
    18. Hadah, Hussain & Compta, Gael & Saffouri, Ali, 2026. "The Effects of Waiting Periods on Firearm Suicides in the U.S," IZA Discussion Papers 18624, IZA Network @ LISER.
    19. Chen, Rongjie & Liu, Songrui & Nie, Zhuo & Wang, Ruting, 2026. "Bank deregulation and the rise of local government debt: Evidence from joint-equity bank entry in China," Economic Modelling, Elsevier, vol. 154(C).
    20. Bach, Philipp & Klaaßen, Sven & Kueck, Jannis & Mattes, Mara & Spindler, Martin, 2025. "Sensitivity analysis for treatment effects in difference-in-differences models using Riesz Rrepresentation," Discussion Papers 2025/7, Free University Berlin, School of Business & Economics.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2605.04124. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.