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

Causal Inference under Dynamic Selection and Latent Heterogeneity

Author

Listed:
  • Weisheng Zhang

Abstract

I study dynamic treatment effects in panel data under staggered adoption when treatment timing depends jointly on unobserved time-invariant heterogeneity and time-varying pretreatment covariates, including lagged outcomes. Untreated potential outcomes follow a nonparametric dynamic panel model that allows flexible interactions between time-varying covariates and latent heterogeneity. I use pretreatment outcome histories to find individuals with similar time-invariant latent factors, and the key requirement is that these histories are sufficiently informative about those latent factors. I develop an identification strategy for the dynamic average treatment effect on the treated (ATT) and propose kernel-based doubly robust estimators for the dynamic ATT. I further combine double cross-fitting with undersmoothing and show that, under suitable regularity conditions, the proposed estimators are root-n consistent, asymptotically normal, and asymptotically unbiased. The simulation study demonstrates that the proposed method provides accurate inference across a wide range of data-generating processes. I illustrate the method with an application to the U.S. family planning program studied by Bailey (2012) and reestimate its effect on fertility rates.

Suggested Citation

  • Weisheng Zhang, 2026. "Causal Inference under Dynamic Selection and Latent Heterogeneity," Papers 2609.17170, arXiv.org, revised Oct 2026.
  • Handle: RePEc:arx:papers:2609.17170
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Hoderlein, Stefan & White, Halbert, 2012. "Nonparametric identification in nonseparable panel data models with generalized fixed effects," Journal of Econometrics, Elsevier, vol. 168(2), pages 300-314.
    2. Davide Viviano & Jelena Bradic, 2021. "Dynamic covariate balancing: estimating treatment effects over time with potential local projections," Papers 2103.01280, arXiv.org, revised Feb 2026.
    3. Sant’Anna, Pedro H.C. & Zhao, Jun, 2020. "Doubly robust difference-in-differences estimators," Journal of Econometrics, Elsevier, vol. 219(1), pages 101-122.
    4. Moon, Hyungsik Roger & Weidner, Martin, 2017. "Dynamic Linear Panel Regression Models With Interactive Fixed Effects," Econometric Theory, Cambridge University Press, vol. 33(1), pages 158-195, February.
    5. Dmitry Arkhangelsky & Guido Imbens, 2023. "Causal Models for Longitudinal and Panel Data: A Survey," Papers 2311.15458, arXiv.org, revised Jun 2024.
    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. Victor Chernozhukov & Iván Fernández‐Val & Jinyong Hahn & Whitney Newey, 2013. "Average and Quantile Effects in Nonseparable Panel Models," Econometrica, Econometric Society, vol. 81(2), pages 535-580, March.
    8. Martha J. Bailey, 2012. "Reexamining the Impact of Family Planning Programs on US Fertility: Evidence from the War on Poverty and the Early Years of Title X," American Economic Journal: Applied Economics, American Economic Association, vol. 4(2), pages 62-97, April.
    9. Jushan Bai, 2009. "Panel Data Models With Interactive Fixed Effects," Econometrica, Econometric Society, vol. 77(4), pages 1229-1279, July.
    10. Dmitry Arkhangelsky & Guido Imbens, 2024. "Causal models for longitudinal and panel data: a survey," The Econometrics Journal, Royal Economic Society, vol. 27(3), pages 1-61.
    11. Neng-Chieh Chang, 2020. "Double/debiased machine learning for difference-in-differences models," The Econometrics Journal, Royal Economic Society, vol. 23(2), pages 177-191.
    12. Dmitry Arkhangelsky & Guido W. Imbens, 2019. "Doubly Robust Identification for Causal Panel Data Models," Papers 1909.09412, arXiv.org, revised Feb 2022.
    13. Philip Marx & Elie Tamer & Xun Tang, 2024. "Parallel Trends and Dynamic Choices," Journal of Political Economy Microeconomics, University of Chicago Press, vol. 2(1), pages 129-171.
    14. Arthur Lewbel, 2019. "The Identification Zoo: Meanings of Identification in Econometrics," Journal of Economic Literature, American Economic Association, vol. 57(4), pages 835-903, December.
    15. Ashenfelter, Orley C, 1978. "Estimating the Effect of Training Programs on Earnings," The Review of Economics and Statistics, MIT Press, vol. 60(1), pages 47-57, February.
    16. Yuan Zhang & Elizaveta Levina & Ji Zhu, 2017. "Estimating network edge probabilities by neighbourhood smoothing," Biometrika, Biometrika Trust, vol. 104(4), pages 771-783.
    17. Stéphane Bonhomme & Thibaut Lamadon & Elena Manresa, 2022. "Discretizing Unobserved Heterogeneity," Econometrica, Econometric Society, vol. 90(2), pages 625-643, March.
    18. Eric Auerbach, 2022. "Identification and Estimation of a Partially Linear Regression Model Using Network Data," Econometrica, Econometric Society, vol. 90(1), pages 347-365, January.
    19. Stéphane Bonhomme & Elena Manresa, 2015. "Grouped Patterns of Heterogeneity in Panel Data," Econometrica, Econometric Society, vol. 83(3), pages 1147-1184, May.
    20. Susan Athey & Mohsen Bayati & Nikolay Doudchenko & Guido Imbens & Khashayar Khosravi, 2021. "Matrix Completion Methods for Causal Panel Data Models," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 116(536), pages 1716-1730, October.
    21. Javier Alvarez & Manuel Arellano, 2003. "The Time Series and Cross-Section Asymptotics of Dynamic Panel Data Estimators," Econometrica, Econometric Society, vol. 71(4), pages 1121-1159, July.
    22. Bo E. Honoré & Ekaterini Kyriazidou, 2000. "Panel Data Discrete Choice Models with Lagged Dependent Variables," Econometrica, Econometric Society, vol. 68(4), pages 839-874, July.
    23. Manuel Arellano & Stephen Bond, 1991. "Some Tests of Specification for Panel Data: Monte Carlo Evidence and an Application to Employment Equations," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 58(2), pages 277-297.
    24. Stock J.H. & Watson M.W., 2002. "Forecasting Using Principal Components From a Large Number of Predictors," Journal of the American Statistical Association, American Statistical Association, vol. 97, pages 1167-1179, December.
    25. Victor Chernozhukov & Denis Chetverikov & Mert Demirer & Esther Duflo & Christian Hansen & Whitney Newey & James Robins, 2018. "Double/debiased machine learning for treatment and structural parameters," Econometrics Journal, Royal Economic Society, vol. 21(1), pages 1-68, February.
    26. Jeffrey M. Wooldridge, 2025. "Two-way fixed effects, the two-way mundlak regression, and difference-in-differences estimators," Empirical Economics, Springer, vol. 69(5), pages 2545-2587, November.
    27. Hu, Yingyao & Shum, Matthew, 2012. "Nonparametric identification of dynamic models with unobserved state variables," Journal of Econometrics, Elsevier, vol. 171(1), pages 32-44.
    28. Heckman, James J. & Navarro, Salvador, 2007. "Dynamic discrete choice and dynamic treatment effects," Journal of Econometrics, Elsevier, vol. 136(2), pages 341-396, February.
    29. Jushan Bai & Serena Ng, 2021. "Matrix Completion, Counterfactuals, and Factor Analysis of Missing Data," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 116(536), pages 1746-1763, October.
    30. Blundell, Richard & Bond, Stephen, 1998. "Initial conditions and moment restrictions in dynamic panel data models," Journal of Econometrics, Elsevier, vol. 87(1), pages 115-143, August.
    31. Ge Sun & Weisheng Zhang, 2026. "Flexible Imputation of Incomplete Network Data," Papers 2604.03171, arXiv.org, revised Aug 2026.
    32. Alberto Abadie & Javier Gardeazabal, 2003. "The Economic Costs of Conflict: A Case Study of the Basque Country," American Economic Review, American Economic Association, vol. 93(1), pages 113-132, March.
    33. Blundell, Richard & Griffith, Rachel & Windmeijer, Frank, 2002. "Individual effects and dynamics in count data models," Journal of Econometrics, Elsevier, vol. 108(1), pages 113-131, May.
    34. 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.
    35. Dmitry Arkhangelsky & Guido W Imbens, 2022. "Doubly robust identification for causal panel data models [Sufficient statistics for unobserved heterogeneity in structural dynamic logit models]," The Econometrics Journal, Royal Economic Society, vol. 25(3), pages 649-674.
    36. Sasaki, Yuya, 2015. "Heterogeneity and selection in dynamic panel data," Journal of Econometrics, Elsevier, vol. 188(1), pages 236-249.
    37. Victor Chernozhukov & Ben Deaner & Ying Gao & Jerry Hausman & Whitney K. Newey, 2026. "Linear Estimation of Structural and Causal Effects for Nonseparable Panel Data," Papers 2607.28291, arXiv.org.
    38. Ashenfelter, Orley & Card, David, 1985. "Using the Longitudinal Structure of Earnings to Estimate the Effect of Training Programs," The Review of Economics and Statistics, MIT Press, vol. 67(4), pages 648-660, November.
    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. Ben Deaner & Chen-Wei Hsiang & Andrei Zeleneev, 2025. "Simple Specification-Free Causal Inference in Large Panels," Papers 2503.20769, arXiv.org, revised Sep 2026.
    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. Dmitry Arkhangelsky & David Hirshberg, 2023. "Large-Sample Properties of the Synthetic Control Method under Selection on Unobservables," Papers 2311.13575, arXiv.org, revised Dec 2023.
    5. Su, Liangjun & Wang, Fa & Wang, Yiren, 2026. "Estimation and inference for unbalanced panel data models with interactive fixed effects," Journal of Econometrics, Elsevier, vol. 255(C).
    6. Dalia Ghanem & Pedro H. C. Sant'Anna & Kaspar Wüthrich, 2022. "Selection and Parallel Trends," CESifo Working Paper Series 9910, CESifo.
    7. Ruei-Chi Lee, 2026. "Average Treatment Effect Localization: Projection Methods in Synthetic Control," Papers 2609.10617, arXiv.org.
    8. Anish Agarwal & Sukjin Han & Dwaipayan Saha & Vasilis Syrgkanis & Haeyeon Yoon, 2026. "Synthetic Blips: Generalizing Synthetic Controls for Dynamic Treatment Effects," Bristol Economics Discussion Papers 26/834, School of Economics, University of Bristol, UK.
    9. Mugnier, Martin, 2025. "A simple and computationally trivial estimator for grouped fixed effects models," Journal of Econometrics, Elsevier, vol. 250(C).
    10. Susan Athey & Guido Imbens, 2025. "Identification of Average Treatment Effects in Nonparametric Panel Models," Papers 2503.19873, arXiv.org.
    11. Martin Huber & Sarina Joy Oberhansli, 2026. "Difference-in-differences for mediation analysis using double machine learning," Papers 2602.23877, arXiv.org.
    12. Susan Athey & Guido Imbens & Zhaonan Qu & Davide Viviano, 2025. "Triply Robust Panel Estimators," Papers 2508.21536, arXiv.org, revised Feb 2026.
    13. Jacob Carlson & Neil Shephard, 2026. "When are time series predictions causal? The potential system and dynamic causal effects," Papers 2603.20394, arXiv.org.
    14. Brown, Nicholas L. & Butts, Kyle, 2025. "Dynamic treatment effect estimation with interactive fixed effects and short panels," Journal of Econometrics, Elsevier, vol. 250(C).
    15. Yixiao Sun & Haitian Xie & Yuhang Zhang, 2025. "Difference-in-Differences Meets Synthetic Control: Doubly Robust Identification and Estimation," Papers 2503.11375, arXiv.org, revised Sep 2026.
    16. Takahiro Hoshino & Makoto Nakakita, 2026. "Shared-Donor Inference for Fixed-Set Heterogeneity in Synthetic Difference-in-Differences," Papers 2607.08324, arXiv.org, revised Sep 2026.
    17. Stéphane Bonhomme & Kevin Dano & Bryan S. Graham, 2025. "Moment restrictions for nonlinear panel data models with feedback," CeMMAP working papers 12/25, Institute for Fiscal Studies.
    18. St'ephane Bonhomme & Kevin Dano & Bryan S. Graham, 2025. "Moment Restrictions for Nonlinear Panel Data Models with Feedback," Papers 2506.12569, arXiv.org, revised Sep 2026.
    19. Murilo Cardoso & Bruno Ferman & Marcelo Fernandes, 2026. "Treatment-effect heterogeneity and interactive fixed effects: Can we control for too much?," Papers 2604.27187, arXiv.org.
    20. Guanhao Zhou & Yuefeng Han & Xiufan Yu, 2025. "Covariate-Adjusted Deep Causal Learning for Heterogeneous Panel Data Models," Papers 2505.20536, 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:2609.17170. 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.