Time-varying effect modeling (TVEM), a statistical technique for modeling dynamic patterns of change, presents new opportunities to study biobehavioral health processes. TVEM is particularly useful when applied to intensive longitudinal data (ILD) because it permits highly flexible modeling of outcomes over continuous time, as well as of associations between variables and moderation effects. TVEM coupled with ILD is ideal for the study of addiction. This article provides a general overview of using TVEM, particularly when applied to ILD, to better enable addiction scientists to conduct novel analyses that are important to realizing the dynamics of addiction-related processes. It presents an empirical example using ecological momentary assessment data from participants throughout their first 90 days of addiction recovery to estimate the (1) associations between morning craving and same-day recovery outcomes, (2) association between morning positive and negative affect and same-day recovery outcomes and (3) time-varying moderation effects of affect on the association between morning craving and recovery outcomes. We provide a didactic overview in implementing and interpreting the aims and results, including equations, computer syntax and reference resources. Our results highlight how affect operates as both a time-varying risk and protective factor on recovery outcomes, particularly when considered in combination with experiences of craving (i.e. dynamic moderation). We conclude by discussing our results, recent innovations and future directions of TVEM for advancing addiction science, including how 'time' can be operationalized to probe new research questions.
Keywords: Addiction recovery; affect; craving; ecological momentary assessment; intensive longitudinal data; substance use disorders; time-varying effect modeling.
© 2023 The Authors. Addiction published by John Wiley & Sons Ltd on behalf of Society for the Study of Addiction.