| Reference | Downloads | Github

Pseudorandomly present a second stimulus within a loop

Hey everyone!

I am setting up a recognition memory study where words are paired with two different values (high-value or low-value). During the study phase, I need to present a second stimulus (thought probe) to pseudorandomly be presented 4 times (2 times after a high-value pairing and 2 times after a low-value pairing).

I was hoping someone would be able to suggest code I can implement to achieve the pseudorandom presentation of the thought probe within the study phase loop.

Thank you in advance!

A simple way would be to put this into the spreadsheet. You can create a column (e.g., Probe) with an empty string () on trials where is no thought probe and then put a message on trials where there is a thought probe.