IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2510.11659.html
   My bibliography  Save this paper

Compositional difference-in-differences for categorical outcomes

Author

Listed:
  • Onil Boussim

Abstract

In difference-in-differences (DiD) settings with categorical outcomes, such as voting, occupation, or major choices, treatments often affect both total counts (e.g., turnout) and category shares (e.g., vote shares). Traditional linear DiD models can yield invalid counterfactuals in this context (e.g., negative values) and lack compatibility with standard discrete choice models. I propose Compositional DiD (CoDiD), which identifies counterfactual totals and shares under a parallel growths assumption: absent treatment, each category's size grows or shrinks at the same proportional rate in treated and control groups. I show that under a random utility model, this is equivalent to parallel trends in expected utilities, i.e., the change in average latent desirability for each alternative is identical across groups. Consequently, relative preferences (e.g., how individuals prefer Democrat vs. Republican) evolve in parallel, and counterfactual distributions follow parallel trajectories in the probability simplex. I extend CoDiD to (i) derive bounds under relaxed assumptions, (ii) accommodate staggered treatment timing, and (iii) construct a synthetic DiD analog. I illustrate the method's empirical relevance through two applications: first, I examine how early voting reforms affect voter choice in U.S. presidential elections; second, I analyze how the Regional Greenhouse Gas Initiative (RGGI) affected the electricity mix in participating states.

Suggested Citation

  • Onil Boussim, 2025. "Compositional difference-in-differences for categorical outcomes," Papers 2510.11659, arXiv.org, revised Oct 2025.
  • Handle: RePEc:arx:papers:2510.11659
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Steven T. Berry & Christian Cox & Philip Haile, 2025. "Selective Turnout, Voting Policy, and Partisan Bias: Evidence from Multi-Level Data," NBER Working Papers 34149, National Bureau of Economic Research, Inc.
    2. Meyer, Bruce D & Viscusi, W Kip & Durbin, David L, 1995. "Workers' Compensation and Injury Duration: Evidence from a Natural Experiment," American Economic Review, American Economic Association, vol. 85(3), pages 322-340, June.
    3. Dmitry Arkhangelsky & Susan Athey & David A. Hirshberg & Guido W. Imbens & Stefan Wager, 2021. "Synthetic Difference-in-Differences," American Economic Review, American Economic Association, vol. 111(12), pages 4088-4118, December.
    4. Steven T. Berry & Christian Cox & Philip A. Haile, 2025. "Selective Turnout, Voting Policy, And Partisan Bias: Evidence From Multi-Level Data," Cowles Foundation Discussion Papers 2453, Cowles Foundation for Research in Economics, Yale University.
    5. Train,Kenneth E., 2009. "Discrete Choice Methods with Simulation," Cambridge Books, Cambridge University Press, number 9780521766555, November.
    6. Dalia Ghanem & D'esir'e K'edagni & Ismael Mourifi'e, 2023. "Evaluating the Impact of Regulatory Policies on Social Welfare in Difference-in-Difference Settings," Papers 2306.04494, arXiv.org, revised Nov 2025.
    7. Puhani, Patrick A., 2012. "The treatment effect, the cross difference, and the interaction term in nonlinear “difference-in-differences” models," Economics Letters, Elsevier, vol. 115(1), pages 85-87.
    8. Susan Athey & Guido W. Imbens, 2006. "Identification and Inference in Nonlinear Difference-in-Differences Models," Econometrica, Econometric Society, vol. 74(2), pages 431-497, March.
    9. Havnes, Tarjei & Mogstad, Magne, 2015. "Is universal child care leveling the playing field?," Journal of Public Economics, Elsevier, vol. 127(C), pages 100-114.
    10. Charles F. Manski & John V. Pepper, 2018. "How Do Right-to-Carry Laws Affect Crime Rates? Coping with Ambiguity Using Bounded-Variation Assumptions," The Review of Economics and Statistics, MIT Press, vol. 100(2), pages 232-244, May.
    11. Brantly Callaway & Tong Li, 2019. "Quantile treatment effects in difference in differences models with panel data," Quantitative Economics, Econometric Society, vol. 10(4), pages 1579-1618, November.
    12. McFadden, Daniel, 1974. "The measurement of urban travel demand," Journal of Public Economics, Elsevier, vol. 3(4), pages 303-328, November.
    13. 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.
    14. Daniel McFadden, 1977. "Modelling the Choice of Residential Location," Cowles Foundation Discussion Papers 477, Cowles Foundation for Research in Economics, Yale University.
    15. Yan, Jingchi, 2021. "The impact of climate policy on fossil fuel consumption: Evidence from the Regional Greenhouse Gas Initiative (RGGI)," Energy Economics, Elsevier, vol. 100(C).
    16. Callaway, Brantly & Li, Tong & Oka, Tatsushi, 2018. "Quantile treatment effects in difference in differences models under dependence restrictions and with only two time periods," Journal of Econometrics, Elsevier, vol. 206(2), pages 395-413.
    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. Dmitry Arkhangelsky & Guido Imbens, 2023. "Causal Models for Longitudinal and Panel Data: A Survey," Papers 2311.15458, arXiv.org, revised Jun 2024.
    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. Lechner, Michael, 2011. "The Estimation of Causal Effects by Difference-in-Difference Methods," Foundations and Trends(R) in Econometrics, now publishers, vol. 4(3), pages 165-224, November.
    4. Florian F Gunsilius, 2025. "A primer on optimal transport for causal inference with observational data," Papers 2503.07811, arXiv.org, revised Mar 2025.
    5. Elena Kotyrlo, 2024. "Simple and complex difference-in-differences approach," Applied Econometrics, Russian Presidential Academy of National Economy and Public Administration (RANEPA), vol. 73, pages 119-142.
    6. Undral Byambadalai & Tatsushi Oka & Shota Yasui, 2024. "Estimating Distributional Treatment Effects in Randomized Experiments: Machine Learning for Variance Reduction," Papers 2407.16037, arXiv.org.
    7. Michael J. Kottelenberg & Steven F. Lehrer, 2017. "Targeted or Universal Coverage? Assessing Heterogeneity in the Effects of Universal Child Care," Journal of Labor Economics, University of Chicago Press, vol. 35(3), pages 609-653.
    8. Ben Deaner & Chen-Wei Hsiang & Andrei Zeleneev, 2025. "Inferring Treatment Effects in Large Panels by Uncovering Latent Similarities," Papers 2503.20769, arXiv.org, revised Mar 2025.
    9. Mark Kattenberg & Bas Scheer & Jurre Thiel, 2023. "Causal forests with fixed effects for treatment effect heterogeneity in difference-in-differences," CPB Discussion Paper 452, CPB Netherlands Bureau for Economic Policy Analysis.
    10. Lihua Lei, 2024. "Causal Interpretation of Regressions With Ranks," Papers 2406.05548, arXiv.org.
    11. 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.
    12. Puhani, Patrick A. & Sonderhof, Katja, 2010. "The effects of a sick pay reform on absence and on health-related outcomes," Journal of Health Economics, Elsevier, vol. 29(2), pages 285-302, March.
    13. Brantly Callaway & Tong Li & Joel Rodrigue & Yuya Sasaki & Yong Tan, 2024. "Regulation, Emissions and Productivity: Evidence from China’s Eleventh Five-Year Plan," Staff Working Papers 24-7, Bank of Canada.
    14. Jessica Ya Sun, 2020. "Welfare consequences of access to health insurance for rural households: Evidence from the New Cooperative Medical Scheme in China," Health Economics, John Wiley & Sons, Ltd., vol. 29(3), pages 337-352, March.
    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.
    16. Afrouz Azadikhah Jahromi & Brantly Callaway, 2022. "Heterogeneous Effects of Job Displacement on Earnings," Empirical Economics, Springer, vol. 62(1), pages 213-245, January.
    17. Tomu Hirata & Undral Byambadalai & Tatsushi Oka & Shota Yasui & Shingo Uto, 2025. "Efficient and Scalable Estimation of Distributional Treatment Effects with Multi-Task Neural Networks," Papers 2507.07738, arXiv.org.
    18. Pedro H. C. Sant'Anna, 2016. "Program Evaluation with Right-Censored Data," Papers 1604.02642, arXiv.org.
    19. Dalia Ghanem & D'esir'e K'edagni & Ismael Mourifi'e, 2023. "Evaluating the Impact of Regulatory Policies on Social Welfare in Difference-in-Difference Settings," Papers 2306.04494, arXiv.org, revised Nov 2025.
    20. Brantly Callaway, 2022. "Difference-in-Differences for Policy Evaluation," Papers 2203.15646, arXiv.org.

    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:2510.11659. 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: http://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.