Hello all.
I have run the following code:
in which whole_brain is an MRI outcome variable (continuous)
scan is scan in time (T1, T2 and T3)
and group is an intervention (control/intervention)
I am controlling for random effects at the level of the individual (ID).
After I have fitted this model, I get a significant interaction effect between scan and group:
meaning that the MRI measures over time depends on what group they were assigned to.
What I would like to obtain is adjusted values for each participant, so I can plot them. That is, adjusted for the effects of age, sex and other between group variances. Is that possible? I realize that the predict is not useful in this particular case.
Presumably I have to do something with the coefficients via gen, but I am not sure how this is achieved.
Thanks very much
I have run the following code:
PHP Code:
mixed whole_brain_mu group##scan age sex || id:, var noconst residuals(unstr, t(scan)) reml dfmethod(kroger)
scan is scan in time (T1, T2 and T3)
and group is an intervention (control/intervention)
I am controlling for random effects at the level of the individual (ID).
After I have fitted this model, I get a significant interaction effect between scan and group:
PHP Code:
contrast group##scan
What I would like to obtain is adjusted values for each participant, so I can plot them. That is, adjusted for the effects of age, sex and other between group variances. Is that possible? I realize that the predict is not useful in this particular case.
Presumably I have to do something with the coefficients via gen, but I am not sure how this is achieved.
Thanks very much
Comment