Hi Sourajit,Yes, that's right.All the best,AndersonOn 19 November 2017 at 18:17, sourajit mitra <[log in to unmask]> wrote:SourajitKind regardsPlease give me a feedback on this additional feature.in contrast file.Dear Anderson,Thank you for the comments.Also in the contrast in addition to interaction if we consider male>female, male < female in concussed as well as controlgroups then it should be additionalC3: [1 0 -1 0 0 0 0 0]C4: [-1 0 1 0 0 0 0 0]C5: [0 1 0 -1 0 0 0 0]C6: [0 -1 0 1 0 0 0 0]On Sat, Nov 18, 2017 at 7:14 PM, Anderson M. Winkler <[log in to unmask]> wrote:Hi Sourajit,Before suggesting a model, here are two general comments:- Site is a qualitative variable, not quantitative, such that coding as 1, 2, 3 isn't adequate. Instead, need to code the three sites using two EVs (or three, depending on how it's coded).- Sites with same brand/model of scanner, and even same coils, can still differ due to calibration, software version, etc. Thus, instead of considering two types of scanners, consider each individual machine.From your example it seems site 1 has two scanners, whereas sites 2 and 3 have one scanner each. Thus, it seems you're working with four individual machines.Consider then the following design:EV1: Males, concussedEV2: Males, controlsEV3: Females, concussedEV4: Females, controlsEV5: AgeEV6: +1 for scanner 1, -1 for scanner 2, 0 otherwiseEV7: +1 for scanner 2, -1 for scanner 3, 0 otherwiseEV8: +1 for scanner 3, -1 for scanner 4, 0 otherwiseThe contrasts of interest for the interaction are then:C1: [1 -1 -1 1 0 0 0 0]C2: [-1 1 1 -1 0 0 0 0]All the best,AndersonOn 16 November 2017 at 15:00, Sourajit Mitra Mustafi <[log in to unmask]> wrote:Dear FSL users,
I have two group of subjects one is Contact-Control and another is Concussed. In each group there are both male and female.
Now I want to see interaction of sexes in groups. The study is multi-site, 3 sites, 2 type of scanners.
So I thought of 2 possible ways
Method 1
design.mat
Group1 Group2 Sex(Group1) Sex (Group2) CoV1(age) Cov1(Site) CoV3(Scanner)
1 0 2 0 18 1 1
1 0 1 0 19 1 2
1 0 2 0 20 2 1
1 0 1 0 19 3 2
0 1 0 1 21 2 1
0 1 0 2 22 3 2
0 1 0 2 19 2 1
0 1 0 1 20 2 1
......
......
2= female 1-male
and the design.con
Group1 Group2 Sex(Group1) Sex (Group2) CoV1(age) Cov1(Site) CoV3(Scanner)
0 0 1 -1 0 0 0 (interaction 1)
0 0 -1 1 0 0 0 (interaction 2)
0 0 0 1 0 0 0 (positive correlation)
0 0 0 -1 0 0 0 (negative correlation)
0 0 1 0 0 0 0 (positive correlation)
0 0 -1 0 0 0 0 (negative correlation)
Another alternate approach I thought of is
Method 2
design1.mat
MALE FEMALE MALE (GROUP) FEMALE(Group) CoV1(age) Cov1(Site) CoV3(Scanner)
1 0 2 0 18 1 1
1 0 1 0 19 1 2
1 0 2 0 20 2 1
1 0 1 0 19 3 2
0 1 0 1 21 2 1
0 1 0 2 22 3 2
0 1 0 2 19 2 1
0 1 0 1 20 2 1
......
......
where 2=Contact-Control and 1=concussed.
and design1.con looks something like
MALE FEMALE MALE (GROUP) FEMALE(Group) CoV1(age) Cov1(Site) CoV3(Scanner)
0 0 1 -1 0 0 0 (interaction 1)
0 0 -1 1 0 0 0 (interaction 2)
0 0 0 1 0 0 0 (positive correlation)
0 0 0 -1 0 0 0 (negative correlation)
0 0 1 0 0 0 0 (positive correlation)
0 0 -1 0 0 0 0 (negative correlation)
Could you please specify which approach is appropriate in this regard?
Which will give me interaction of sexes in groups?
Thanking you
Sourajit