To examine whether marital status moderated the association between the PRS and HED among young adults and whether the association between marital status (treated as a time-varying variable), PRS, and HED changed across time, we used a generalized linear mixed model (GLMM) with log link by assuming the HED follows a Poisson distribution. In this model, HED frequency was predicted by age, marital status, PRS, two-way interactions, and the three-way interaction between age, PRS, and marital status. Age was centered at 21 years. Sex was coded as female (0) or male (1) and included as a covariate. The first three ancestral principal components were also included as covariates to control for potential population stratification. Random effects of intercept and age were included to incorporate repeated assessments.