{"title":"Causal inference in longitudinal studies with time-varying confounding: A Mendelian randomization approach.","authors":"Jialin Qu, Kelly L Klump, Yuehua Cui","doi":"10.4310/dat.202610133602","DOIUrl":"10.4310/dat.202610133602","url":null,"abstract":"<p><p>Mendelian randomization (MR) uses genetic variants as instrumental variables to estimate causal effects of an exposure on an outcome. Most existing MR methods are developed for cross-sectional data and do not directly address longitudinal settings in which exposures, outcomes, and confounding may vary over time. To address this gap, we propose a concurrent MR framework for longitudinal studies assuming time-varying confounding. The method combines a two-stage instrumental variable procedure with quadratic inference functions (QIF) to account for within-subject correlation across repeated measurements. In the first stage, time-varying genetic effects on the exposure are modeled and selected using penalized QIF. In the second stage, the fitted exposure trajectory is used to test whether the exposure has a time-varying causal effect on the outcome at the same time point. Simulation studies show that, under the assumed model, the proposed approach maintains reasonable type I error control and achieves useful power across a range of sample sizes and correlation structures. We apply the method to longitudinal data from a twin study to examine the effects of ovarian hormones on emotional eating behavior. The analysis suggests a time-varying causal effect of progesterone on emotional eating as measured by the Dutch Eating Behavior Questionnaire, whereas no clear evidence is found for estradiol or for effects on negative affect measured by PANAS. These findings should be interpreted cautiously because the method relies on strong assumptions about instrument validity and concurrent causal effects, and further biological and methodological validation is warranted.</p>","PeriodicalId":524300,"journal":{"name":"Data analytics and topology","volume":"2 1","pages":"1-10"},"PeriodicalIF":0.0,"publicationDate":"2026-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC13816168/pdf/","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"149521906","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}