Abstract
In animal behavior studies, a common goal is to investigate the causal pathways between an exposure and outcome, and a mediator that lies in between. Causal mediation analysis provides a principled approach for such studies. Although many applications involve longitudinal data, the existing causal mediation models are not directly applicable to settings where the mediators are measured on irregular time grids. In this paper, we propose a causal mediation model that accommodates longitudinal mediators on arbitrary time grids and survival outcomes simultaneously. We take a functional data analysis perspective and view longitudinal mediators as realizations of underlying smooth stochastic processes. We define causal estimands of direct and indirect effects accordingly and provide corresponding identification assumptions. We employ a functional principal component analysis approach to estimate the mediator process and propose a Cox hazard model for the survival outcome that flexibly adjusts the mediator process. We then derive a g-computation formula to express the causal estimands using the model coefficients. The proposed method is applied to a longitudinal data set from the Amboseli Baboon Research Project to investigate the causal relationships between early adversity, adult physiological stress responses, and survival among wild female baboons. We find that adversity experienced in early life has a significant direct effect on females’ life expectancy and survival probability, but find little evidence that these effects were mediated by markers of the stress response in adulthood. We further developed a sensitivity analysis method to assess the impact of potential violation to the key assumption of sequential ignorability. Supplementary materials accompanying this paper appear on-line.
Similar content being viewed by others
References
Adam EK, Quinn ME, Tavernier R, McQuillan MT, Dahlke KA, Gilbert KE (2017) Diurnal cortisol slopes and mental and physical health outcomes: a systematic review and meta-analysis. Psychoneuroendocrinology 83:25–41
Alberts SC, Altmann J (2012) The Amboseli Baboon research project: 40 years of continuity and change. In: Long-term field studies of primates. Springer, pp 261–287
Baron RM, Kenny DA (1986) The moderator-mediator variable distinction in social psychological research: conceptual, strategic, and statistical considerations. J Pers Soc Psychol 51:1173
Berens AE, Jensen SK, Nelson CA (2017) Biological embedding of childhood adversity: from physiological mechanisms to clinical implications. BMC Med 15:1–12
Boyce WT, Hertzman C (2018) Early childhood health and the life course: the state of the science and proposed research priorities. Springer, Cham, pp 61–93
Campos FA, Archie EA, Gesquiere LR, Tung J, Altmann J, Alberts SC (2021) Glucocorticoid exposure predicts survival in female baboons. Sci Adv 7(17):eabf6759
Daniels MJ, Roy JA, Kim C, Hogan JW, Perri MG (2012) Bayesian inference for the causal effect of mediation. Biometrics 68:1028–1036
Didelez V (2019) Defining causal mediation with a longitudinal mediator and a survival outcome. Lifetime Data Anal 25:593–610
Didelez V (2019) Defining causal mediation with a longitudinal mediator and a survival outcome. Lifetime Data Anal 25:593–610
Evans GW, Li D, Whipple SS (2013) Cumulative risk and child development. Psychol Bull 139:1342
Fahrmeir L, Lang S (2001) Bayesian inference for generalized additive mixed models based on Markov random field priors. J Roy Stat Soc Ser C 50:201–220
Felitti VJ, Anda RF, Nordenberg D, Williamson DF, Spitz AM, Edwards V, Koss MP, Marks JS (1998) Relationship of childhood abuse and household dysfunction to many of the leading causes of death in adults: the adverse childhood experiences (ACE) study. Am J Prev Med 14:245–258
Forastiere L, Mattei A, Ding P (2018) Principal ignorability in mediation analysis: through and beyond sequential ignorability. Biometrika 105:979–986
Goldsmith J, Greven S, Crainiceanu C (2013) Corrected confidence bands for functional data using principal components. Biometrics 69:41–51
Han K, Hadjipantelis PZ, Wang J-L, Kramer MS, Yang S, Martin RM, Müller H-G (2018) Functional principal component analysis for identifying multivariate patterns and archetypes of growth, and their association with long-term cognitive development. PLoS ONE 13:e0207073
Harris BN (2019) Stress hypothesis overload: 131 hypotheses exploring the role of stress in tradeoffs, transitions, and health. General Comp Endocrinol 113355
Hertzman C (1999) The biological embedding of early experience and its effects on health in adulthood. Ann NY Acad Sci 896:85–95
Huang R, Xu R, Dulai PS (2020) Sensitivity analysis of treatment effect to unmeasured confounding in observational studies with survival and competing risks outcomes. Stat Med 39:3397–3411
Ibrahim JG, Chen M-H, Sinha D (2014) Bayesian survival analysis. Statistics Reference Online, Wiley StatsRef
Imai K, Keele L, Tingley D (2010) A general approach to causal mediation analysis. Psychol Methods 15:309
Imai K, Keele L, Yamamoto T (2010b) Identification, inference and sensitivity analysis for causal mediation effects. Stat Sci 51–71
Imbens GW, Rubin DB (2015) Causal inference in statistics, social, and biomedical sciences. Cambridge University Press, Cambridge
Jiang C-R, Wang J-L (2010) Covariate adjusted functional principal components analysis for longitudinal data. Ann Stat 38:1194–1226
Jiang C-R, Wang J-L (2011) Functional single index models for longitudinal data. Ann Stat 39:362–388
Kim C, Daniels M, Li Y, Milbury K, Cohen L (2018) A Bayesian semiparametric latent variable approach to causal mediation. Stat Med 37:1149–1161
Kim C, Daniels MJ, Hogan JW, Choirat C, Zigler CM (2019) Bayesian methods for multiple mediators: Relating principal stratification and causal mediation in the analysis of power plant emission controls. Ann Appl Stat 13:1927
Kim C, Daniels MJ, Marcus BH, Roy JA (2017) A framework for Bayesian nonparametric inference for causal effects of mediation. Biometrics 73:401–409
Kowal DR, Bourgeois DC (2020) Bayesian function-on-scalars regression for high-dimensional data. J Comput Graph Stat 29:629–638
Lachin JM (2016) Fallacies of last observation carried forward analyses. Clin Trials 13:161–168
Lange T, Vansteelandt S, Bekaert M (2012) A simple unified approach for estimating natural direct and indirect effects. Am J Epidemiol 176:190–195
Levy EJ, Gesquiere LR, McLean E, Franz M, Warutere JK, Sayialel SN, Mututua RS, Wango TL, Oudu VK, Altmann J (2020) Higher dominance rank is associated with lower glucocorticoids in wild female baboons: a rank metric comparison. Horm Behav 125:104826
Lin S-H, Young J, Logan R, Tchetgen Tchetgen EJ, VanderWeele TJ (2017a) Parametric mediational g-formula approach to mediation analysis with time-varying exposures, mediators, and confounders. Epidemiology 28:266
Lin S-H, Young JG, Logan R, VanderWeele TJ (2017) Mediation analysis for a survival outcome with time-varying exposures, mediators, and confounders. Stat Med 36:4153–4166
Lindquist MA (2012) Functional causal mediation analysis with an application to brain connectivity. J Am Stat Assoc 107:1297–1309
Lindquist MA, Sobel ME (2011) Graphical models, potential outcomes and causal inference: comment on Ramsey. Spirtes Glymour NeuroImage 57:334–336
Lok JJ (2016) Defining and estimating causal direct and indirect effects when setting the mediator to specific values is not feasible. Stat Med 35:4008–4020
Lok JJ, Bosch RJ (2021) Causal organic indirect and direct effects: closer to the original approach to mediation analysis, with a product method for binary mediators. Epidemiology
MacKinnon D (2012) Introduction to statistical mediation analysis. Routledge
Markham AC, Gesquiere LR, Alberts SC, Altmann J (2015) Optimal group size in a highly social mammal. Proc Natl Acad Sci 112:14882–14887
Miller GE, Chen E, Fok AK, Walker H, Lim A, Nicholls EF, Cole S, Kobor MS (2009) Low early-life social class leaves a biological residue manifested by decreased glucocorticoid and increased proinflammatory signaling. Proc Natl Acad Sci 106:14716–14721
Miller GE, Chen E, Parker KJ (2011) Psychological stress in childhood and susceptibility to the chronic diseases of aging: moving toward a model of behavioral and biological mechanisms. Psychol Bull 137:959
Neyman J (1923) On the application of probability theory to agricultural experiments. Essay on principles. Section 9 (translated). Stat Sci 465–480
Nguyen TQ, Schmid I, Stuart EA (2020) Clarifying causal mediation analysis for the applied researcher: defining effects based on what we want to learn. Psychol Methods (in press)
Pearl J (2001) Direct and indirect effects. In: Proceedings of the seventeenth conference on uncertainty in artificial intelligence. Morgan Kaufmann Publishers Inc., pp 411–420
Petruccelli K, Davis J, Berman T (2019) Adverse childhood experiences and associated health outcomes: a systematic review and meta-analysis. Child Abuse Neglect 97:104127
Ramsay J, Silverman B (2005) Functional data analysis
Robins J (1986) A new approach to causal inference in mortality studies with a sustained exposure period-application to control of the healthy worker survivor effect. Math Modell 7:1393–1512
Robins JM, Finkelstein DM (2000) Correcting for noncompliance and dependent censoring in an AIDS clinical trial with inverse probability of censoring weighted (IPCW) log-rank tests. Biometrics 56:779–788
Robins JM, Greenland S (1992) Identifiability and exchangeability for direct and indirect effects. Epidemiology 143–155
Robins JM, Hernan MA, Brumback B (2000) Marginal structural models and causal inference in epidemiology. Epidemiology 11
Rosenbaum S, Zeng S, Campos F, Gesquiere L, Altmann J, Alberts S, Li F, Archie E (2020) Social bonds do not mediate the relationship between early adversity and adult glucocorticoids in wild baboons. Proc Natl Acad Sci (in press)
Roth DL, MacKinnon DP (2012) Mediation analysis with longitudinal data. A practical guide for researchers in aging, health, and social sciences. Long Data Anal 181–216
Rubin DB (1974) Estimating causal effects of treatments in randomized and nonrandomized studies. J Educ Psychol 66:688
Saha C, Jones MP (2009) Bias in the last observation carried forward method under informative dropout. J Stat Plan Inf 139:246–255
Schoenle LA, Zimmer C, Miller ET, Vitousek MN (2021) Does variation in glucocorticoid concentrations predict fitness? A phylogenetic meta-analysis. Gen Comp Endocrinol 300:113611
Sobel ME (2008) Identification of causal parameters in randomized studies with mediating variables. J Educ Behav Stat 33:230–251
Tchetgen Tchetgen EJ, Shpitser I (2012) Semiparametric theory for causal mediation analysis: efficiency bounds, multiple robustness, and sensitivity analysis. Ann Stat 40:1816
Tung J, Archie EA, Altmann J, Alberts SC (2016) Cumulative early life adversity predicts longevity in wild baboons. Nat Commun 7:1–7
van der Laan MJ, Petersen ML (2008) Direct effect models. Int J Biostat 4
VanderWeele T (2015) Explanation in causal inference: methods for mediation and interaction. Oxford University Press, Oxford
VanderWeele TJ (2011) Causal mediation analysis with survival data. Epidemiology 22:582
VanderWeele TJ (2016) Mediation analysis: a practitioner’s guide. Annu Rev Public Health 37:17–32
VanderWeele TJ, Tchetgen Tchetgen EJ (2017) Mediation analysis with time varying exposures and mediators. J Roy Stat Soc Ser B 79:917–938
Vansteelandt S, Linder M, Vandenberghe S, Steen J, Madsen J (2019) Mediation analysis of time-to-event endpoints accounting for repeatedly measured mediators subject to time-varying confounding. Stat Med 38:4828–4840
Wang X, Chen M-H, Yan J (2013) Bayesian dynamic regression models for interval censored survival data with application to children dental health. Lifetime Data Anal 19:297–316
Warren JR (2009) Socioeconomic status and health across the life course: a test of the social causation and health selection hypotheses. Soc Forces 87:2125–2153
Yao F, Müller H-G, Wang J-L (2005) Functional data analysis for sparse longitudinal data. J Am Stat Assoc 100:577–590
Zeng S, Rosenbaum S, Archie E, Alberts S, Li F (2021) Causal mediation analysis for sparse and irregular longitudinal data. Ann Appl Stat 15:747–767
Zhao Y, Luo X, Lindquist M, Caffo B (2018) Functional mediation analysis with an application to functional magnetic resonance imaging data. arXiv preprint arXiv:1805.06923
Zheng W, van der Laan M (2017) Longitudinal mediation analysis with time-varying mediators and exposures, with application to survival outcomes. J Causal Inf 5
Zigler CM, Dominici F, Wang Y (2012) Estimating causal effects of air quality regulations using principal stratification for spatially correlated multivariate intermediate outcomes. Biostatistics 13:289–302
Acknowledgements
We thank the guest editor Cory Zigler and a reviewer for constructive comments. The majority of the data represented here was supported by the National Institutes of Health and the National Science Foundation, currently through NIH R01 AG053330 and R01 AG053308, as well as R01 HD088558, P01 AG031719, and NSF IOS 1456832. We also thank Duke University, Princeton University, and the University of Notre Dame for financial and logistical support. For assistance and cooperation in Kenya, we are grateful to the Kenya Wildlife Service (KWS), University of Nairobi, Institute of Primate Research (IPR), National Museums of Kenya, National Environment Management Authority, and National Commission for Science, Technology, and Innovation (NACOSTI). We also thank the members of the Amboseli-Longido pastoralist communities, and the Enduimet Wildlife Management Area for their cooperation and assistance in the field. Particular thanks go to the Amboseli Baboon Project long-term field team (R.S. Mututua, S. Sayialel, J.K. Warutere, Siodi, I.L.), and to T. Wango and V. Oudu for their untiring assistance in Nairobi. The baboon project database, Babase, is expertly managed by N. Learn and J. Gordon. Database design and programming are provided by K. Pinc. This research was approved by the IACUC at Duke University, University of Notre Dame, and Princeton University and adhered to all the laws and guidelines of Kenya. For a complete set of acknowledgments of funding sources, logistical assistance, and data collection and management, please visit http://amboselibaboons.nd.edu/acknowledgements/.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
About this article
Cite this article
Zeng, S., Lange, E.C., Archie, E.A. et al. A Causal Mediation Model for Longitudinal Mediators and Survival Outcomes with an Application to Animal Behavior. JABES 28, 197–218 (2023). https://doi.org/10.1007/s13253-022-00490-6
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13253-022-00490-6