Millisecond Online Community

randomising response keys

rated by 0 users
This post has 2 Replies | 2 Followers

Not Ranked
Posts 2
blop Posted: 07-15-2010 9:58 PM

Hi,

I'm using a modified Stroop task, which requires a yes/no response (the task is to decide whether the name of a colour matches the colour in which the following word is presented).

At the moment, I have the task set up so that all participants press 'x' for yes, and '.' for no. However I would like to randomise the keys, so that this pairing is reversed for half of the participants (i.e. they press 'x' for no, and '.' for yes). The only way I could do this was to create two separate versions of the task, and then randomise participants using a batch. 

Is there any way to randomise the keys assigned to yes and no responses within the same script?

Thanks.

 

Top 10 Contributor
Posts 99

Hey blop,

If you would like to do that, you should make the randomization with the use of two <expt> elements (unnamed):

<expt>
/ subjects = (1 of 2)
/ blocks = [1 = Stroop_dotx]
</expt>

<expt>
/ subjects = (2 of 2)
/ blocks = [1 = Stroop_xdot]
</expt>

Make two different block elements, with one block using 'x' for no and '.' for yes and one block where you use 'x' for yes and '.' for no.

If you would like more info on the '/ subjects = ...' part, just hit F1 to see the help function and search for subjects.

Good luck with your script!

Ivor

Why visit Java, that's next to the C, when a Python is more dangerous!

Not Ranked
Posts 2

Thanks for your help Ivor!

Page 1 of 1 (3 items) | RSS
Powered by Community Server (Non-Commercial Edition), by Telligent Systems