Use of estimated drift rate for fMRI modeling #665
-
Dear all, I have a design as follows: [Population(15 Controls, 15 Patients)] * [Task(1 Explicit emotion categorization, 1 Implicit emo. categ.)] * [Voice Emotion(Happy, Angry, Neutral)]. The task was designed so that it was a 2-AFC (Implicit: female-male; Explicit: angry-neutral; happy-neutral). 5201 trials in total, so about ~173 per participant. Here is my question: Thanks a lot for your help, and sorry in advance if I forgot to mention some relevant aspects, I will happily add them. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @LeoCeravolo , To get the trial-level parameter values, try the If you check your trace after, you should now find included the trial level parameters for any parameters for which you had defined a regression model. Let us know if this doesn't yield. Best, |
Beta Was this translation helpful? Give feedback.
-
Dear all, I ran into a related issue but maybe I'm doing something wrong: when recovering the trial-level values, I cannot get the values for regressed parameters either for interactions or random slopes (less important), even though I can see them in the posterior traces of the model (see red squares in the attached image). |
Beta Was this translation helpful? Give feedback.
-
sorry for the delay. |
Beta Was this translation helpful? Give feedback.
Hi @LeoCeravolo ,
To get the trial-level parameter values, try the
add_likelihood_parameters_to_idata()
function.You can use it like:
my_model.add_likelihood_parameters_to_idata()
.If you check your trace after, you should now find included the trial level parameters for any parameters for which you had defined a regression model.
Let us know if this doesn't yield.
Best,
Alex