-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Hi there,
Sorry, this is my first time posting an issue for an R package so I am unsure what is standard protocol. If you need me to submit a full markdown file then I could probably do that.
I am trying to use the GxE_interaction_test() command. I have combined data from 4 different cohorts. I have one measure of the environment and one measure of their temperament (the "genes" component for my analysis).
Originally I used GxE_interaction_test() without accounting for cohort effects (first image- this all looks fine to me). This is partially because I had standardised all the cohort's data before pooling so it had a mean of 0 and an SD of 1 but also because I couldn't get the lme4=TRUE option to work correctly. Now I have had feedback from peer reviewers where they are asking for a linear mixed model.
The problem I have is that when using LME4=TRUE I get the exact same AIC/BIC values for multiple competing models (second image), which I do not think should be possible. In particular, it looks like the main effects of the genes and environment are being included in all models as the intercept-only model/no interaction models have the same AIC/BIC values as the G+E model, and it seems to be saying that when I look at the coeficients for these models (third image).
Am I doing something wrong in the formulation of the formula? I have tried modifying the specification of the random effects- I would ideally only test for random slopes by cohort- and I have tried not including the covariates but I keep getting the same AIC for all models not including interactions when using LME4.
Any help would be much appreciated!
Rob


