Hello Anderson Winkler & other FSL experts,
I am hoping that someone can look over this design matrix and let me know if it is properly set up - thank you in advance!
I am combining data from 2 studies. In each study, there are patients and controls, scanned at 2 time points (T1 & T2). Two sessions of resting state data were gathered at each visit for each participant. In one study, I have data for all of the subjects at T1 and T2, but the other study has a fair number of subjects who missed either T1 or T2.
In my design matrix, I am currently using 1 covariate for study (EV1), and 1 covariate to represent diagnosis (EV2). T1 and T2 are represented in "conditions." I have based the rest of the matrix on conversations I have seen at this forum. I also have EB columns to represent 1) subjects who have scans both at T1 and T2 and subs who only have one or the other, 2) T1 vs T2 and 3) the session itself compared to all other sessions.
I pasting an example portion of the design matrix & EBs for a between subjects analysis, as I want to examine what is consistent for patients across T1 and T2 compared to controls.
Any feedback is much appreciated!!!
Best,
Tamara
EB2 = 1 or 2 time points
EB3 = T1 or T2
EV1 = study covariate
EV2 = patient vs control covariate
Sub_IDs are present for clarity
SUB_ID EB1 EB2 EB3 EB4 Condition EV1 EV2 EV3 EV4 EV5 EV6 EV7 EV8
'K00' -1 1 2 1 'T2' 1 1 0 0 0 0 0 0
'K00' -1 1 2 2 'T2' 1 1 0 0 0 0 0 0
'K01' -1 2 1 3 'T1' 1 1 1 0 0 0 0 0
'K01' -1 2 1 4 'T1' 1 1 1 0 0 0 0 0
'K01' -1 2 2 5 'T2' 1 1 -1 0 0 0 0 0
'K01' -1 2 2 6 'T2' 1 1 -1 0 0 0 0 0
'K02' -1 2 1 7 'T1' 1 1 0 1 0 0 0 0
'K02' -1 2 1 8 'T1' 1 1 0 1 0 0 0 0
'K02' -1 2 2 9 'T2' 1 1 0 -1 0 0 0 0
'K02' -1 2 2 10 'T2' 1 1 0 -1 0 0 0 0
'K03' -1 2 1 11 'T1' 1 0 0 0 1 0 0 0
'K03' -1 2 1 12 'T1' 1 0 0 0 1 0 0 0
'K03' -1 2 2 13 'T2' 1 0 0 0 -1 0 0 0
'K03' -1 2 2 14 'T2' 1 0 0 0 -1 0 0 0
'K04' -1 1 2 15 'T2' 1 0 0 0 0 0 0 0
'K04' -1 1 2 16 'T2' 1 0 0 0 0 0 0 0
'M01' -1 2 1 17 'T1' 0 1 0 0 0 1 0 0
'M01' -1 2 1 18 'T1' 0 1 0 0 0 1 0 0
'M01' -1 2 2 19 'T2' 0 1 0 0 0 -1 0 0
'M01' -1 2 2 20 'T2' 0 1 0 0 0 -1 0 0
'M02' -1 2 1 21 'T1' 0 0 0 0 0 0 1 0
'M02' -1 2 1 22 'T1' 0 0 0 0 0 0 1 0
'M02' -1 2 2 23 'T2' 0 0 0 0 0 0 -1 0
'M02' -1 2 2 24 'T2' 0 0 0 0 0 0 -1 0
|