Seasonality, mediation and comparison (SMAC) methods to identify influences on lung function decline

This study develops a comprehensive method to assess seasonal influences on a longitudinal marker and compare estimates between cohorts. The method extends existing approaches by (i) combining a sine-cosine model of seasonality with a specialized covariance function for modeling longitudinal correlation; (ii) performing mediation analysis on a seasonality model. An example dataset and R code are provided. The bundle of methods is referred to as seasonality, mediation and comparison (SMAC). The case study described utilizes lung function as the marker observed on a cystic fibrosis cohort but SMAC can be used to evaluate other markers and in other disease contexts. Key aspects of customization are as follows.• This study introduces a novel seasonality model to fit trajectories of lung function decline and demonstrates how to compare this model to a conventional model in this context.• Steps required for mediation analyses in the seasonality model are shown.• The necessary calculations to compare seasonality models between cohorts, based on estimation coefficients, are derived in the study.

[1]  M. Kenward,et al.  An Introduction to the Bootstrap , 2007 .

[2]  Kosuke Imai,et al.  mediation: R Package for Causal Mediation Analysis , 2014 .

[3]  D. Bates,et al.  Fitting Linear Mixed-Effects Models Using lme4 , 2014, 1406.5823.

[4]  Hadley Wickham,et al.  ggplot2 - Elegant Graphics for Data Analysis (2nd Edition) , 2017 .

[5]  P. Diggle,et al.  Seasonal fluctuation of lung function in cystic fibrosis: A national register-based study in two northern European populations , 2019, Journal of cystic fibrosis : official journal of the European Cystic Fibrosis Society.

[6]  S. T. Buckland,et al.  An Introduction to the Bootstrap. , 1994 .

[7]  E. Andrinopoulou,et al.  Seasonal variation of lung function in cystic fibrosis: longitudinal modeling to compare a Midwest US cohort to international populations. , 2021, The Science of the total environment.

[8]  Robert P. Freckleton,et al.  On the misuse of residuals in ecology: regression of residuals vs. multiple regression , 2002 .

[9]  Cole Brokamp,et al.  Predicting Daily Urban Fine Particulate Matter Concentrations Using a Random Forest Model. , 2018, Environmental science & technology.

[10]  Kosuke Imai,et al.  Unpacking the Black Box of Causality: Learning about Causal Mechanisms from Experimental and Observational Studies , 2011, American Political Science Review.

[11]  Lionel Henry,et al.  A Grammar of Data Manipulation [R package dplyr version 1.0.2] , 2020 .

[12]  Angelo J. Canty,et al.  Bootstrap Functions (Originally by Angelo Canty for S) , 2015 .