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  

|
March 20, 2020 10:28AM
Hi all,

Question about centering in 3dMVM. We have a prior concussion variable (def1/def2 below) of interest that we're trying to run without mean centering. However, after running one 3dMVM with qVarCenters and one without, the output/results appear to be the same, i.e., it appears the default mean centering occurs regardless of whether qVarCenters is used. The actual mean is around 1, but we want to account for values of 0. Are we missing something in our code to account for this?

(Version AFNI_19.3.18)
3dMVM -prefix ${resDir}/cbfMVM_def2_Model2_noMC \
    -jobs 24 \
    -resid def2_Model2_noMC_resid \
    -bsVars 'def2*sex+total_years_exposure+ageAtScan+waistHipRatio' \
    -qVars 'def1,def2,total_years_exposure,ageAtScan,waistHipRatio' \
    -qVarCenters '0,0,11.27,21.50,0.881' \
    -mask ${homeDir}/data/cbf/analysis/MASK/CBF_inter_GM+tlrc \
    -num_glt 2 \
    -gltLabel 1 men_con -gltCode 1 'sex: 1*0 def2 : ' \
    -gltLabel 2 women_con -gltCode 2 'sex: 1*1 def2 : ' \
    -dataTable \
    Subj def1 def2 ageAtScan total_years_exposure sex waistHipRatio InputFile \

....
Output example (based on code from above):
96 centered values for numeric variable def1 : 0.65625 0.65625 3.65625 1.65625 2.65625...

Output example (with default mean centering):
96 centered values for numeric variable def1 : 0.65625 0.65625 3.65625 1.65625 2.65625...

Perhaps it's a small enough difference to not matter? Not sure. Thoughts?

Thanks,
Lezlie
Subject Author Posted

3dMVM centering

lespana March 20, 2020 10:28AM

Re: 3dMVM centering

gang March 22, 2020 08:47AM

Re: 3dMVM centering

lespana March 23, 2020 08:24AM