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 04, 2022 10:30PM
Hello again,

I have some additional questions after going through the MBA script from AFNI. I suppose this question might be more adequate for the stan forums, but if you could help that would be much appreciated. I came up with the following model for my analysis:

Y ~ 1 + group_dummy1 + group_dummy2 + (1 | ROI) + (1 + group_dummy1 + group_dummy2 | mm(Subj1, Subj2, weights = cbind(1, 1), scale = FALSE))

Would this be correct for my situation? My understanding is that I could not run the model with a single grouping variable, but I don't understand why not (example below).

Y ~ 1 + group + (1 | ROI) + (1 + group | mm(Subj1, Subj2, weights = cbind(1, 1), scale = FALSE))


Similarly, if I were to include a variable like age and wanted to look at the age by group interaction (let's assume two groups for simplicity here), from the MBA documentation I see that I should code a variable for that (group_age, corresponding to the first model below), but I don't understand why it could not be coded as the second model below:

First model:
Y ~ 1 + group + age + group_age + (1 | ROI) +
(1 + group + age+ group_age| mm(Subj1, Subj2, weights = cbind(1, 1), scale = FALSE))

Second model:
Y ~ 1 + group*age + (1 | ROI) +
(1 + group*age | mm(Subj1, Subj2, weights = cbind(1, 1), scale = FALSE))

Finally, if I wanted to include a within-subject factor of socialness (social and non-social videos), where I want to look at the ISC within each condition, the difference between conditions within each group, and the interaction of group by socialness, would the model below be the correct one (once again assuming 2 groups only)? Or should I include socialness by itself as well (i.e. group*socialness)? Or should I really stick with running separate models for each of the within-subject contrasts?

Y ~ 1 + group + group:socialness + (1 | ROI) +
(1 + group + group:socialness | mm(Subj1, Subj2, weights = cbind(1, 1), scale = FALSE))



Thank you so much for your help again!

Best,
Vasco
Subject Author Posted

3dISC mixed effects modeling

vdiogo June 27, 2022 08:57PM

Re: 3dISC mixed effects modeling

gang June 28, 2022 05:17PM

Re: 3dISC mixed effects modeling

vdiogo July 04, 2022 01:20PM

Re: 3dISC mixed effects modeling

vdiogo July 04, 2022 10:30PM

Re: 3dISC mixed effects modeling

gang July 05, 2022 05:02PM

Re: 3dISC mixed effects modeling

vdiogo July 05, 2022 06:44PM

Re: 3dISC mixed effects modeling

gang July 07, 2022 10:59AM

Re: 3dISC mixed effects modeling

vdiogo August 02, 2022 01:05PM

Re: 3dISC mixed effects modeling

gang August 03, 2022 05:14PM

Re: 3dISC mixed effects modeling

vdiogo August 11, 2022 01:26PM

Re: 3dISC mixed effects modeling

gang August 12, 2022 06:36AM

Re: 3dISC mixed effects modeling

vdiogo August 18, 2022 04:07PM

Re: 3dISC mixed effects modeling

gang August 19, 2022 09:59PM

Re: 3dISC mixed effects modeling

vdiogo August 27, 2022 10:15AM

Re: 3dISC mixed effects modeling

gang August 29, 2022 02:55PM

Re: 3dISC mixed effects modeling

vdiogo March 01, 2023 08:09PM

Re: 3dISC mixed effects modeling

gang March 02, 2023 09:02AM