I am working on an emotion regulation choice E-prime task wherein participants are asked to choose 1 of 2 regulation strategies in response to viewing negative stimuli.
Participants are taught that responses they will enter on the keyboard are a = strategy 1 and l = strategy 2. However these keyboard choices are counterbalanced, based on whether the participants ID is an odd or even number. That is - participants with odd IDs are taught that a = strategy 1 and l = strategy 2; and participant with even IDs are taught that a = strategy 2 and l = strategy 1.
In the training portion at the beginning of the experiment, a text slide is used to instruct participants that a = strategy 1 and l = strategy 2, however these instructions are sufficient for participants with an odd ID only.
I am thinking in the training portion of the experiment, I will need an “if then” code, to direct the experiment to teach participants based the keyboard instructions on their ID number. Specifically, I am thinking of a code that specifies these instructions “if the participants ID is odd, then go to this text screen” and “if a participants ID is even, then go to this text screen instead”.
Can a code like this be created (i.e, a code that is based on the odd and evenness of a participants ID number)? If so, how would this best be done?
Alternatively, is there another solution that would better suit what I am trying to achieve?
I appreciate any help or feedback that you can provide.
Please sign in to leave a comment.