Randomizing paired blocks of images


Author
Message
beccabos
beccabos
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 24, Visits: 59
Hello,

I'm trying to program a choice task- I have three categories of images, that I've paired with each other in three blocks (Ha, Hb, Ub).

Is there a way to randomize the presentation of all of these images… e.g., an equal likelihood that a pairing from any of these blocks will be presented next, instead of randomized sequentially by three separate blocks? I am not sure how to organize the trials to do this as they're currently set up… would I have to move all of the pairs to a single block to do that? Part of the current script is attached here. 

Thanks for the help!

Best,
Becca



Attachments
choice.docx (189 views, 68.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 108K
There are no <block> elements at all in the code you attached. There are only three different <trial> elements -- <trial choicetrial_d1> to <trial choicetrial_d3> -- each apparently sampling from a given pair of stimulus elements -- <picture CATstrat_d1>/<picture CAT_d1> to <picture CATstrat_d3>/<picture CAT_d3>. There are 36 item pairs per category.

Thus it should be as simple as doing

<block myblock>
/ trials = [1-108 = noreplace(choicetrial_d1, choicetrial_d2, choicetrial_d3)]
</block>

which will give you 36 d1-trials, 36 d2-trials and 36 d3-trials in random order.

If that's not what you are aiming for, please clarify.

Edited 11 Years Ago by Dave
beccabos
beccabos
Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)Expert (1.5K reputation)
Group: Forum Members
Posts: 24, Visits: 59
This is SO helpful, Dave- thank you!!! I really appreciate it… this is exactly what I was missing. 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search