I'm conducting a follow-up study with two groups and two time points (Stage). I want to estimate the covariate effect of x on the interaction between group and time when y is the dependent variable. I will use a linear mixed model. I know that if I include x as a fixed effect in the model, it will have a mean value.
y ~ group*stage + x + (1|partID)
However, I am not sure if such a model would be appropriate.
y ~ group*stage + x*stage + (1|partID)
I am not evaluating the effect of a treatment. So I'm not interested in the effect of the baseline. I would appreciate your valuable suggestions on how to build the model.
Sincerely