TY - JOUR
T1 - Bayesian (Non)Linear Random Effects Mediation Models
T2 - Evaluating the Impact of Omitting Confounders
AU - Zhang, Ziwei
AU - Kohli, Nidhi
AU - Lock, Eric F.
N1 - Publisher Copyright:
© 2024 American Psychological Association
PY - 2024
Y1 - 2024
N2 - Often in educational and psychological studies, researchers are interested in understanding the mediation mechanism of longitudinal (repeated measures) variables. Almost all longitudinal mediation models in the literature stem from structural equation modeling framework and hence, cannot directly estimate intrinsically nonlinear functions (e.g., exponential, linear–linear piecewise function with an unknown changepoint) without using reparameterizations. The current study aims to develop a framework of Bayesian (non)linear random effects mediation models, B(N)REMM, to directly model intrinsically linear and nonlinear functions. Specifically, we developed two distinct longitudinal mediation models where all variables under consideration were longitudinal and followed either a linear trend (L-BREMM) or a segmented trend captured by linear–linear piecewise functions with unknown random changepoints (P-BREMM). Additionally, no research has assessed the impact of omitting confounder(s) when modeling mediation effects for intrinsically nonlinear functions. We used an empirical data example from the Early Childhood Longitudinal Study—Kindergarten Cohort to contrast the fit of two models where one included the confounder and the other omitted it. The empirical example illustrated the need to study the impacts of model misspecification with respect to omitting confounder(s). We further explored this issue and its effect on model estimation for both L-BREMM and P-BREMM via Monte Carlo simulation studies under a variety of data conditions. The simulation study results showed that omitting confounder(s) negatively impact parameter recovery for both L-BREMM and P-BREMM but only had an impact on model convergence of P-BREMM. We provide R scripts to estimate both L-BREMM and P-BREMM to aid the dissemination of these models. Translational Abstract Often in educational and psychological studies, researchers are interested in understanding the mediation mechanism of longitudinal (repeated measures) variables. However, longitudinal mediation models stemming from structural equation modeling literature cannot directly estimate intrinsically nonlinear functions (e.g., exponential, linear–linear piecewise function with an unknown changepoint) without using reparameterizations. This brings challenges for practitioners who are not familiar with the reparameterization approach. The current study aims to develop a Bayesian framework of (non)linear random effects mediation models, B(N)REMM, to directly estimate intrinsically linear and nonlinear functions. Specifically, we developed two distinct longitudinal mediation models, first where all longitudinal variables followed a linear trend (L-BREMM), and the second where they followed a segmented trend captured by linear–linear piecewise functions with unknown random changepoints (P-BREMM). Additionally, we explored the effect of omitting confounder(s) on model estimation for both L-BREMM and P-BREMM via Monte Carlo simulation studies. The simulation studies were motivated by an empirical data analysis of the Early Childhood Longitudinal Study—Kindergarten Cohort where we illustrated the effect of omitting confounder(s) by contrasting the fit of two models where one included the confounder and the other omitted it. We provide R scripts to aid practitioners in using both L-BREMM and P-BREMM.
AB - Often in educational and psychological studies, researchers are interested in understanding the mediation mechanism of longitudinal (repeated measures) variables. Almost all longitudinal mediation models in the literature stem from structural equation modeling framework and hence, cannot directly estimate intrinsically nonlinear functions (e.g., exponential, linear–linear piecewise function with an unknown changepoint) without using reparameterizations. The current study aims to develop a framework of Bayesian (non)linear random effects mediation models, B(N)REMM, to directly model intrinsically linear and nonlinear functions. Specifically, we developed two distinct longitudinal mediation models where all variables under consideration were longitudinal and followed either a linear trend (L-BREMM) or a segmented trend captured by linear–linear piecewise functions with unknown random changepoints (P-BREMM). Additionally, no research has assessed the impact of omitting confounder(s) when modeling mediation effects for intrinsically nonlinear functions. We used an empirical data example from the Early Childhood Longitudinal Study—Kindergarten Cohort to contrast the fit of two models where one included the confounder and the other omitted it. The empirical example illustrated the need to study the impacts of model misspecification with respect to omitting confounder(s). We further explored this issue and its effect on model estimation for both L-BREMM and P-BREMM via Monte Carlo simulation studies under a variety of data conditions. The simulation study results showed that omitting confounder(s) negatively impact parameter recovery for both L-BREMM and P-BREMM but only had an impact on model convergence of P-BREMM. We provide R scripts to estimate both L-BREMM and P-BREMM to aid the dissemination of these models. Translational Abstract Often in educational and psychological studies, researchers are interested in understanding the mediation mechanism of longitudinal (repeated measures) variables. However, longitudinal mediation models stemming from structural equation modeling literature cannot directly estimate intrinsically nonlinear functions (e.g., exponential, linear–linear piecewise function with an unknown changepoint) without using reparameterizations. This brings challenges for practitioners who are not familiar with the reparameterization approach. The current study aims to develop a Bayesian framework of (non)linear random effects mediation models, B(N)REMM, to directly estimate intrinsically linear and nonlinear functions. Specifically, we developed two distinct longitudinal mediation models, first where all longitudinal variables followed a linear trend (L-BREMM), and the second where they followed a segmented trend captured by linear–linear piecewise functions with unknown random changepoints (P-BREMM). Additionally, we explored the effect of omitting confounder(s) on model estimation for both L-BREMM and P-BREMM via Monte Carlo simulation studies. The simulation studies were motivated by an empirical data analysis of the Early Childhood Longitudinal Study—Kindergarten Cohort where we illustrated the effect of omitting confounder(s) by contrasting the fit of two models where one included the confounder and the other omitted it. We provide R scripts to aid practitioners in using both L-BREMM and P-BREMM.
KW - confounders
KW - intrinsically nonlinear function
KW - longitudinal mediation
KW - model misspecification
KW - random effects models
UR - http://www.scopus.com/inward/record.url?scp=85214519120&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85214519120&partnerID=8YFLogxK
U2 - 10.1037/met0000721
DO - 10.1037/met0000721
M3 - Article
AN - SCOPUS:85214519120
SN - 1082-989X
JO - Psychological Methods
JF - Psychological Methods
ER -