AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
November 30, 2009 07:29PM
Hi,

I will be analyzing an event-related design where each trial is 10.5 seconds long and is split into three phases: (3 sec, 3.5 sec, 4 sec) and there are two runs of the task that I will concatenate.
I am interested in modeling different events in each phase based on responses during that phase. I will be using the stim_times option with 1D files that have rows of stimulus onset times for the particular events. I am not sure about whether or not I should be modeling the event with for example BLOCK (3, 1) or GAM. This is how I have set up 3dDeconvolve with the BLOCK function. I was wondering if my set-up looks OK and what the difference is between using BLOCK or GAM and the advantage of each?

Thanks!

3dDeconvolve \
-input ${subj}-WOF_all-reg+orig \
-mask ${subj}-anat-mask3x3-allone+orig \
-censor ${subj}-WOF_all-censor.1D \
-x1D ${subj}-WOF_all-decon \
-x1D_stop \
-polort 'A' \
-num_stimts 26 \
-stim_times 1 ${subj}-WOF-10s.1D 'BLOCK(3,1)' -stim_label 1 10s \
-stim_times 2 ${subj}-WOF-30s.1D 'BLOCK(3,1)' -stim_label 2 30s \
-stim_times 3 ${subj}-WOF-50s.1D 'BLOCK(3,1)' -stim_label 3 50s \
-stim_times 4 ${subj}-WOF-70s.1D 'BLOCK(3,1)' -stim_label 4 70s \
-stim_times 5 ${subj}-WOF-90s.1D 'BLOCK(3,1)' -stim_label 5 90s \
-stim_times 6 ${subj}-WOF-10a.1D 'BLOCK(3.5,1)' -stim_label 6 10a \
-stim_times 7 ${subj}-WOF-30a.1D 'BLOCK(3.5,1)' -stim_label 7 30a \
-stim_times 8 ${subj}-WOF-50a.1D 'BLOCK(3.5,1)' -stim_label 8 50a \
-stim_times 9 ${subj}-WOF-70a.1D 'BLOCK(3.5,1)' -stim_label 9 70a \
-stim_times 10 ${subj}-WOF-90a.1D 'BLOCK(3.5,1)' -stim_label 10 90a \
-stim_times 11 ${subj}-WOF-10w.1D 'BLOCK(4,1)' -stim_label 11 10w \
-stim_times 12 ${subj}-WOF-30w.1D 'BLOCK(4,1)' -stim_label 12 30w \
-stim_times 13 ${subj}-WOF-50w.1D 'BLOCK(4,1)' -stim_label 13 50w \
-stim_times 14 ${subj}-WOF-70w.1D 'BLOCK(4,1)' -stim_label 14 70w \
-stim_times 15 ${subj}-WOF-90w.1D 'BLOCK(4,1)' -stim_label 15 90w \
-stim_times 16 ${subj}-WOF-10nw.1D 'BLOCK(4,1)' -stim_label 16 10nw \
-stim_times 17 ${subj}-WOF-30nw.1D 'BLOCK(4,1)' -stim_label 17 30nw \
-stim_times 18 ${subj}-WOF-50nw.1D 'BLOCK(4,1)' -stim_label 18 50nw \
-stim_times 19 ${subj}-WOF-70nw.1D 'BLOCK(4,1)' -stim_label 19 70nw \
-stim_times 20 ${subj}-WOF-90nw.1D 'BLOCK(4,1)' -stim_label 20 90nw \
-stim_file 21 ${subj}-WOF_all-reg.1D'[0]' -stim_label 21 Roll -stim_base 21 \
-stim_file 22 ${subj}-WOF_all-reg.1D'[1]' -stim_label 22 Pitch -stim_base 22 \
-stim_file 23 ${subj}-WOF_all-reg.1D'[2]' -stim_label 23 Yaw -stim_base 23 \
-stim_file 24 ${subj}-WOF_all-reg.1D'[3]' -stim_label 24 DS -stim_base 24 \
-stim_file 25 ${subj}-WOF_all-reg.1D'[4]' -stim_label 25 DL -stim_base 25 \
-stim_file 26 ${subj}-WOF_all-reg.1D'[5]' -stim_label 26 DP -stim_base 26 \
-concat WOFConcatCuts.1D \
-num_glt 7 \
-gltsym 'SYM: 10s -50s' -glt_label 1 10s -50s \
-gltsym 'SYM: 50w -50nw' -glt_label 2 50w-50nw \
-gltsym 'SYM: 50nw -50w' -glt_label 3 50nw-50w \
-gltsym 'SYM: 30w -70w' -glt_label 4 30w-70w \
-gltsym 'SYM: 30w -30nw' -glt_label 5 30w-30nw \
-gltsym 'SYM: +0.5*10s +0.5*30s -0.5*70s -0.5*90s' -glt_label 6 Rs-Ss \
-gltsym 'SYM: +0.5*10a +0.5*30a -0.5*70a -0.5*90a' -glt_label 7 Ra-Sa \
-bucket ${subj}-WOF_all-decon

Subject Author Posted

BLOCK vs. GAM in event-related design

Anita Cservenka November 30, 2009 07:29PM

Re: BLOCK vs. GAM in event-related design

Gang Chen December 01, 2009 11:51AM