Related Experiment Video
Updated: Mar 15, 2026

Modulation of the Neurophysiological Response to Fearful and Stressful Stimuli Through Repetitive Religious Chanting
Published on: November 4, 2021
Causal inference and longitudinal data: a case study of religion and mental health
Tyler J VanderWeele1,2, John W Jackson3, Shanshan Li3
1Department of Epidemiology, Harvard Chan School of Public Health, 677 Huntington Avenue, Boston, MA, 02115, USA. tvanderw@hsph.harvard.edu.
Purpose:
We provide an introduction to causal inference with longitudinal data and discuss the complexities of analysis and interpretation when exposures can vary over time.
Methods:
We consider what types of causal questions can be addressed with the standard regression-based analyses and what types of covariate control and control for the prior values of outcome and exposure must be made to reason about causal effects. We also consider newer classes of causal models, including marginal structural models, that can assess questions of the joint effects of time-varying exposures and can take into account feedback between the exposure and outcome over time. Such feedback renders cross-sectional data ineffective for drawing inferences about causation.
Results:
The challenges are illustrated by analyses concerning potential effects of religious service attendance on depression, in which there may in fact be effects in both directions with service attendance preventing the subsequent depression, but depression itself leading to lower levels of the subsequent religious service attendance.
Conclusions:
Longitudinal designs, with careful control for prior exposures, outcomes, and confounders, and suitable methodology, will strengthen research on mental health, religion and health, and in the biomedical and social sciences generally.
Related Concept Videos
Longitudinal Research
Longitudinal Studies
Case Studies
Cause and Effect
Causality in Epidemiology
Observational Studies
There are three types of observational studies – Prospective, retrospective, and cross-sectional.
Prospective Study
Prospective studies, also known as longitudinal or cohort studies, are carried out by collecting future data from groups sharing similar characteristics. One...

