[solved] Present both pictures and words randomly in a IAT-experiment
Hi all!
I'm working on an IAT experiment for my university internship.
The first two blocks of trials works fine (the first block consist in only words that the partecipants have to classify, whereas the second block consist in only pictures).
Now, I'm trying to create a block that merges words and pictures that it will be presented in random order, but when I run it, the stimuli overlaps like this:
I'm a newbie in programming, so I cannot figure out how to use the "if statements" to present the stimuli randomly without the overlapping.
Can someone help me to solve this problem?
Thank you in advance,
Best regards.
PS: sorry for my raw english ![]()

Comments
No one can help me?
Hi,
Basically, you need a variable in your loop that keeps track whether an image or a face should be presented. Let's call it
stim_type. In yourtrial_sequence, you will have then twosketchpads, one for the image, one for the word. In therun iffields you can then add something like[stim_type]='word'for the words and[stim_type] = 'image'for the images.Does this make sense to you? If not, please give us a little more detail on your experiment. Then, my answer will also be a little more specific.
Best,
Eduard
Thank you so much!
Now it works pretty good!