AFNI Message Board

History of AFNI updates  

|
November 04, 2021 01:04PM
Hello Gang,
Sorry to come back AGAIN with a new question.
When thinking about it (it happens sometimes =)) I realize that maybe I should add a session effect to my model.
Since all the animals were scanned on the same day it may affect the result.
However, the session is strongly linked to "age" and I don't want to annihilate my findings by adding "session".
What are your thoughts?
In any case, out of interest could you please confirm the way to add this effect?

something like??? :

3dLME -prefix 3dLME_glt.nii.gz -jobs 20 -mask brainmask_nolr_func.nii.gz \
-model "Sexe*age*session" -qVars "age" -ranEff "~1+age" -num_glt 5 \
-gltLabel 1 "05MF" -gltCode 1 "Sexe : 0.5*M +0.5*F age :" \
-gltLabel 2 "1MF" -gltCode 2 "Sexe : 1*M -1*F age :" \
-gltLabel 3 "1MF" -gltCode 3 "Sexe : 1*M age :" \
-gltLabel 4 "1F" -gltCode 4 "Sexe : 1*F age :" \
-gltLabel 5 "1F" -gltCode 5 "Sexe : 0.5*M +0.5*F age : session :" \
-dataTable @disign_matrix.txt -resid resid.nii.gz

-gltLabel 5 would give me the full interaction?

Now (to see if I understood) suppose that i want to add another quantitative variable (e.g. weight) that on which I also want to see the effect I could do something like:

3dLME -prefix 3dLME_glt.nii.gz -jobs 20 -mask brainmask_nolr_func.nii.gz \
-model "Sexe*age*session" -qVars "age, weight" -ranEff "~1+age+weight" -num_glt 6 \
-gltLabel 1 "05MF" -gltCode 1 "Sexe : 0.5*M +0.5*F age :" \
-gltLabel 2 "1MF" -gltCode 2 "Sexe : 1*M -1*F age :" \
-gltLabel 3 "1MF" -gltCode 3 "Sexe : 1*M age :" \
-gltLabel 4 "1F" -gltCode 4 "Sexe : 1*F age :" \
-gltLabel 5 "1F" -gltCode 5 "Sexe : 0.5*M +0.5*F age : session :" \.
-gltLabel 6 "1F" -gltCode 5 "Sexe : 0.5*M +0.5*F age : session : weight :" \
-dataTable @disign_matrix.txt -resid resid.nii.gz

-gltLabel 6 would give me the full interaction?

is it correct?
Thank you!!
Subject Author Posted

statistics on a longitudinal fMRI resting-state dataset

Doughboys February 28, 2020 05:12PM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang February 29, 2020 11:01PM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys March 01, 2020 07:16PM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang March 02, 2020 08:03AM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys March 02, 2020 12:02PM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang March 02, 2020 02:53PM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys March 02, 2020 07:01PM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang March 03, 2020 09:40AM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys February 09, 2021 09:48AM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang February 09, 2021 09:01PM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys February 10, 2021 08:55AM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys February 10, 2021 09:33AM

Re: statistics on a longitudinal fMRI resting-state dataset

Doughboys November 04, 2021 01:04PM

Re: statistics on a longitudinal fMRI resting-state dataset

Gang November 05, 2021 10:36AM



Sorry, only registered users may post in this forum.

Click here to login