Hi,
I am a bit lost in terms of how to interpret interaction effects between categorical variables.
We wanted to look at effects of time and genotype on pain over time. There are 3 time points and 3 genetic variants.
The code I used in my model is as such:
xtmixed pain time##genotype || ID:
the interaction term that results look like this:
time#genotype
2 2 | -.040
2 3 | .566
3 2 | -1.25
3 3 | .06
My question is: what is the reference here? Is it genotype 1 at baseline / genotype 1 at baseline compared to baseline value of genetic variant 2/3 / or something else?
Some help with this is highly appreciated!
Thanks in advance
Ann
I am a bit lost in terms of how to interpret interaction effects between categorical variables.
We wanted to look at effects of time and genotype on pain over time. There are 3 time points and 3 genetic variants.
The code I used in my model is as such:
xtmixed pain time##genotype || ID:
the interaction term that results look like this:
time#genotype
2 2 | -.040
2 3 | .566
3 2 | -1.25
3 3 | .06
My question is: what is the reference here? Is it genotype 1 at baseline / genotype 1 at baseline compared to baseline value of genetic variant 2/3 / or something else?
Some help with this is highly appreciated!
Thanks in advance
Ann
Comment