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  

|
July 14, 2021 03:26PM
Hi Rito,

To correlate cortical thickness with cognitive score at baseline, that would presumably be done were the correlation is across subjects for each ROI, does that seem correct? So using 3dttest++ as Gang suggets, the input files would be one list of ROI values (baseline) per subject. Then the cognitive scores would be applied as a covariate.

<Gang, please correct me if this does not seem correct.>

Comparison of the two groups would then be a 2-sample t-test. So A command would look similar to the class demo with a covariate file, AFNI_data6/group_results/s6.ttest.covary .

In this case it might read something like:

3dttest++ -prefix cognitive_100_vs_105    \
          -AminusB                              \
          -setA group_100                       \
               s0000 s0000_ROIs.1D              \
               s0001 s0001_ROIs.1D              \
               ...                              \
               s0099 s0099_ROIs.1D              \
          -setB group_105                       \
               s1000 s1000_ROIs.1D              \
               s1001 s1001_ROIs.1D              \
               ...                              \
               s1104 s1104_ROIs.1D              \
          -covariates cognitive_scores_covary.txt

Where s0000_ROIs.1D would have the 187 ROI averages, one value per row.
And where cognitive_scores_covary.txt would be a text file with one row per subject, and might look like:

subject cog_score
s0000  43.7
s0001  86.0
...
s1104  56.2

Does that seem reasonable?

- rick
Subject Author Posted

question about longitudinal analyses in two treatment arms

Rito July 13, 2021 01:59PM

Re: question about longitudinal analyses in two treatment arms

gang July 14, 2021 10:58AM

Re: question about longitudinal analyses in two treatment arms

rick reynolds July 14, 2021 03:26PM