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  

|
January 09, 2017 10:34AM
Galit,

> Originally, I was thinking of adding RTs as a predictor to the analysis, but then
> I reckoned it was a bad idea as it correlates with the Condition predictor. I see
> that in Example2 in the documentation, RT is added as a random effect. What
> is the meaning of RT being a random effect?

This is a very good question! When the RT is correlated with a within-subject factor (Condition in your case), I recommend that you center the RT value within each Condition level before you feed the RT values into 3dLME. Even though the following page only covers the situation with as between-subjects factor (multiple groups), it might be helpful to understand the concept and mechanism:

[afni.nimh.nih.gov]

The point of incorporating RT as an explanatory variable is to account for RT variability across subjects *within* each level (condition in your case).

> In analogy, an R formula would look something like this:
> lmer(BOLD ~ Cond*RT + age + (Cond|RT))

The model for Exam 2 is actually this:

lmer(BOLD ~ Cond*RT + age + (RT|subjects)

Other models are possible, but currently not strictly implemented:

mer(BOLD ~ Cond*RT + age + (RT|subjects) + (Cond|subjects)

Gang
Subject Author Posted

RT as a random effect in LME for fMRI data?

Galit January 09, 2017 08:09AM

Re: RT as a random effect in LME for fMRI data?

gang January 09, 2017 10:34AM

Re: RT as a random effect in LME for fMRI data?

Galit January 10, 2017 04:09AM

Re: RT as a random effect in LME for fMRI data?

gang January 10, 2017 10:07AM

Re: RT as a random effect in LME for fMRI data?

Galit January 15, 2017 04:27AM

Re: RT as a random effect in LME for fMRI data?

gang January 17, 2017 09:01AM

Re: RT as a random effect in LME for fMRI data?

Galit January 18, 2017 08:14AM

Re: RT as a random effect in LME for fMRI data?

gang January 18, 2017 04:18PM