help
help > RE: How to set the contrast for the interaction effect of 2*3 between subject ANOVA
Mar 9, 2023 10:03 PM | Alfonso Nieto-Castanon - Boston University
RE: How to set the contrast for the interaction effect of 2*3 between subject ANOVA
Hi Qian,
There are several equivalent ways to specify this, the one I typically recommend is:
1) define two separate 2nd-level covariates characterizing the levels of your first factor (e.g. a MALE and a FEMALE covariate each having 0/1 values identifying the subjects within those groups)
2) define three separate 2nd-level covariates characterizing the levels of your second factor (e.g. a GROUP1, GROUP2, and GROUP3 covariates, each having 0/1 values identifying the subjects within each of those groups)
3) in Setup.Covariates (2nd-level), select all those 5 variables and then click on 'covariate tools' -> 'Create interaction of selected covariate(s)'. That will create 6 new variables defining the interaction of the above 2 factors (e.g. MALE*GROUP1, MALE*GROUP2, etc.)
4) in the Results (2nd-level) tab, define the interaction analyses as:
Subject effects: MALE*GROUP1, MALE*GROUP2, MALE*GROUP3, FEMALE*GROUP1, FEMALE*GROUP2, FEMALE*GROUP3
Between-subjects contrast: [-1 1 0 1 -1 0; 0 -1 1 0 1 -1]
Best
Alfonso
Originally posted by zhuang qian:
There are several equivalent ways to specify this, the one I typically recommend is:
1) define two separate 2nd-level covariates characterizing the levels of your first factor (e.g. a MALE and a FEMALE covariate each having 0/1 values identifying the subjects within those groups)
2) define three separate 2nd-level covariates characterizing the levels of your second factor (e.g. a GROUP1, GROUP2, and GROUP3 covariates, each having 0/1 values identifying the subjects within each of those groups)
3) in Setup.Covariates (2nd-level), select all those 5 variables and then click on 'covariate tools' -> 'Create interaction of selected covariate(s)'. That will create 6 new variables defining the interaction of the above 2 factors (e.g. MALE*GROUP1, MALE*GROUP2, etc.)
4) in the Results (2nd-level) tab, define the interaction analyses as:
Subject effects: MALE*GROUP1, MALE*GROUP2, MALE*GROUP3, FEMALE*GROUP1, FEMALE*GROUP2, FEMALE*GROUP3
Between-subjects contrast: [-1 1 0 1 -1 0; 0 -1 1 0 1 -1]
Best
Alfonso
Originally posted by zhuang qian:
Hi, experts!
I wrote to you for the question of how to set the contrast for the interaction effect of 2*3 between subject ANOVA. The first factor is Gender (F/M) and the second one is Group (group1/2/3).
best!
Qian
I wrote to you for the question of how to set the contrast for the interaction effect of 2*3 between subject ANOVA. The first factor is Gender (F/M) and the second one is Group (group1/2/3).
best!
Qian
Threaded View
| Title | Author | Date |
|---|---|---|
| zhuang qian | Mar 7, 2023 | |
| Alfonso Nieto-Castanon | Mar 9, 2023 | |
