3dMVM

Hi AFNI gurus,

Im trying to run a regression looking at change in some clinical score (BPRS) with baseline functional connectivity using 3dMVM with some covariates. I’m only looking at one group only (not doing 2-group comparisons). Here’s my script

3dMVM -prefix pathtoprefix/results_3MVM_ECN_baseline.nii -jobs 12
-mask pathtomask/ECN_mask.nii
-bsVars 1
-wsVars ‘BPRS+age+sex+FD’
-qVars ‘age,FD’
-SS_type 3
-dataTable
Subj BPRS age sex FD InputFile
sub-patient01 56.25 25 1 0.1971614 /connmap_sub-patient01_ses-01_ECN.nii
sub-patient03 78.95 28 2 0.1366462 /connmap_sub-patient03_ses-01_ECN.nii
sub-patient05 76.47 22 2 0.1146088 /connmap_sub-patient05_ses-01_ECN.nii
sub-patient06 66.67 24 1 0.106127 /connmap_sub-patient06_ses-01_ECN.nii
sub-patient07 80 18 2 0.1333833 /connmap_sub-patient07_ses-01_ECN.nii

Everything seems to be working fine until I get this message:

[b]Reading input files now…

Reading input files: Done!

If the program hangs here for more than, for example, half an hour,
kill the process because the model specification or the GLT coding
is likely inappropriate.[/b]

It get’s stuck there, so I’m guessing there must be something wrong, but can’t seem to find what it is.

Thank you,
O

-bsVars 1
-wsVars ‘BPRS+age+sex+FD’ \

Are you sure all the four variables (‘BPRS’, ‘age’, ‘sex’, ‘FD’) are within-subject variables?

Yes, these variables were acquired for all subjects at baseline, except for BPRS. BPRS variable is the percent change score from baseline and after 16 weeks of treatment.

Maybe ‘sex’ could be consider a between-subjects factor

Nevermind, I figured it out

-bsVars ‘BPRS+age+sex+FD’
-qVars ‘age,FD’ \

The variables between-subject since I’m only analyzing one data point per subject, not multiple ones. I get confused by the terminology.

Thanks!