help > Design set-up help
Showing 1-5 of 5 posts
Display:
Results per page:
Feb 7, 2025  04:02 PM | jrobinson
Design set-up help

Hi there,


I have a within-subjects crossover design. Each participants underwent 2 sessions, with 4 scans total (pre-administration and post-administration for 2 conditions).  I'm struggling to figure out if/how conn can handle testing for differences in post-pre connectivity between conditions.  


Any help would be greatly appreciated!


 

Feb 9, 2025  09:02 PM | Alfonso Nieto-Castanon - Boston University
RE: Design set-up help

Hi,


There are several ways to do the same but one simple way would be:


1) in the Setup.Basic tab simply enter 4 as the number of runs/sessions


2) then in Setup.Conditions define your four conditions (e.g. pre_treatmentA, pre_treatmentB, post_treatmentA, and post_treatmentA) and associate each with the corresponding functional scan (this association may be common across all subjects or it may be different for different subjects, for example if the order of the two treatments was randomized across subjects). 


3) last, when you get to second-level analyses, select  AllSubjects in the 'subject effects' list, then select your four conditions in the 'Conditions' list and enter a vector [-1 1 1 -1] in the 'Between-conditions contrast' field. That will evaluate the interaction between your two factors (i.e. (post_treatmentA - pre_treatmentA) - (post_treatmentB - pre_treatmentB) )


While not necessary for this analysis, you may also want to define a subject-level variable (in Setup.Covariates (2nd-level)) that explicitly identifies the order of the two treatments across subjects (e.g. define a 'TreatmentOrder' covariate and enter a +1 for subjects who received treatment A before treatment B, and -1 for the opposite-order subjects). This information is redundant with what you have already done in step (2) above, but it allows you to, for example, use this variable in your second-level analyses to evaluate potential treatment-order effects in your results.


Hope this helps


Alfonso


Originally posted by jrobinson:



Hi there,


I have a within-subjects crossover design. Each participants underwent 2 sessions, with 4 scans total (pre-administration and post-administration for 2 conditions).  I'm struggling to figure out if/how conn can handle testing for differences in post-pre connectivity between conditions.  


Any help would be greatly appreciated!


 



 

Feb 28, 2025  09:02 PM | jrobinson
RE: Design set-up help

Hi Alfonso!


This is super helpful - thank you.  However, I'm wondering how this works when I'm looking at differences between task conditions (so basically, the differences between the post-pre of each group on a task-rest condition)...


I'm not sure if that makes sense. 

Mar 3, 2025  11:03 PM | jrobinson
RE: Design set-up help

...Also, can you confirm that you meant [-1 1 1 -1] for preA, preB, postA, postB?  This may be my ignorance, but I'm trying to figure out how this would model the interaction. 


As written, this would mean the following values would be assigned to each condition:


preA -1


preB 1


post A 1


post B -1

Mar 17, 2025  04:03 PM | jrobinson
RE: Design set-up help

Bumping this up to get clarity/confirmation on testing the interaction.