help > RE: 2x2 ANOVA setup
Oct 5, 2015  04:10 PM | Alfonso Nieto-Castanon - Boston University
RE: 2x2 ANOVA setup
Dear Lars,

Yes, for this design you would typically enter 8 as the number of subjects and 2 as the number of sessions per subject. Then in Setup.Conditions you would define two conditions ('pre' and 'post') and assign each condition to the corresponding scan (e.g. to assign the 'pre' condition to the first session simply select 'pre' condition and 'session1' and enter 0/inf in onsets/durations, and then select 'pre' condition and 'session2' and enter []/[] in onsets/durations). Those two conditions pre/post will appear in your second-level results tab listed in the 'conditions' list, while your two subject groups patients/controls will appear listed in the 'subject effects' list. 

If, in addition, you want to look at a PPI task vs. baseline analysis within each of your scans, then in addition to your 2 original conditions I would create another 2 conditions (e.g. pre_task, and post_task, with the corresponding task block onsets/durations instead of the original 0/inf values -and still []/[] for the opposite sessions). Then, in the first-level analysis tab simply select gPPI and select the two "task" conditions there (i.e. pre_task and post_task). The new analysis second-level results tab will contain only these two conditions (pre_task and post_task), each of them characterizing the PPI effect (differential connectivity between task and baseline) for each of the pre- and post- scans. 

Hope this helps and let me know if you would like me to further clarify any of the above
Alfonso

 
Originally posted by Lars Michels:
Dear Greg and Alfonso
 
I have a quite similar design (2 groups and for each of them I do have a pre and post (training) scan). I also want to test for main effects (F test).
 
During each scan I have resting and taks periods.
 
First, I am not sure how to set up the design matrix for this 2 x 2 ANOVA
 
Lets say, there are 4 controls and 4 patients. Do I have to choose 8 subjects or 16 in the Setup menu? For example, If have select 8, I could define two groups (2nd level covariates) and two conditions (pre and post). But then I cannot assign separte scans for each of them (Since I have only 1 session). Hence, I could still use 8 subjects in total but have to use 2 sessions for each subject and assign e.g. session 1 as the pre scan and session 2 as the post scan, right? However, the question is whether "pre" and "post" are still listed as Conditions in the 2nd level tab later on?

Alternatively, I could select 16 subjects, and code as controls_pre controls_post patients_pre patients_post (2nd level covariates) and as conditions still pre and post, e.g.
 
controls_pre [1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0], controls post [ 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0] etc.
 
I tested this. And yes, 4 groups and 2 conditions (pre/post) appear in the second level tab. But this is wrong, I think, as I do have only two groups (controls and patients) with repeated measures (pre and post).
 
Again, I wanted to run F-test first (and then t-tests).
 
Which of the Design scenarios is the correct one to choose?
 
Finally, I wanted to compute background connectivity (time bin: 0 inf) and task PPI connectivity. Does this mean I have to simply add some extra conditions, e.g. pre_background (0-inf) and pre_task (e.g. onset 20 40 60, duration 10) to be able to compute both background and PPI connectivity.
 
Thanks
Lars

Threaded View

TitleAuthorDate
Greg Book Mar 12, 2014
Alfonso Nieto-Castanon Apr 14, 2014
Victor Pando-Naude Feb 1, 2023
Amy Bouchard Mar 27, 2020
Alfonso Nieto-Castanon Mar 28, 2020
Amy Bouchard Mar 28, 2020
Bruno Baumann May 2, 2016
Lars Michels Oct 2, 2015
RE: 2x2 ANOVA setup
Alfonso Nieto-Castanon Oct 5, 2015
Lars Michels Oct 6, 2015
Alfonso Nieto-Castanon Oct 8, 2015
Lars Michels Oct 8, 2015
Alfonso Nieto-Castanon Oct 9, 2015
Greg Book Mar 31, 2014