By vlw0045 - 10/30/2014
Hey Dave,
I've got an experiment I am trying to put together, and I'm not sure if our ideal set-up is possible. I thought I would try to run it by you and see if you had to know-how. It requires the random no-replace command, but I think our grouping is too complicated.
We're going to be showing participants 10 pictures, one male and one female in five different groups, from a bank of 20 pictures (2 males and 2 females). We need to associated a picture of a name (or just a text command name) with each of these pictures. We'll be pulling from a bank of 2 names per group. (I've included a diagram below). That's possible. Now comes the hard part. Can we display the pictures from the groups, matched with names, in random order? So a male picture from group 1 is displayed, then a female from group 5, then a female from group 3, and so on in random order until all 10 pictures have been shown?
Group 1 Group 2 Group 3 Group 4 Group 5 M M F F M M F F M M F F M M F F M M F F Name Name Name Name Name Name Name Name Name Name
I know we'll be using the random no-replace command to have Inquisit select a single image from both the male category and the female category of group one, and assigning them a name, and so on with the other groups. I have no idea how to write the code so they can be presented in a random order across the groups. Do you know how this is possible?
I hope I've been clear, and I hope this isn't *too* silly of a question for you.
Best,
Tori
|
By Dave - 10/30/2014
Suppose you have set up five <trial> elements, one for each group, displaying the picture and associated name (you indicate that you already know how to do this):
<trial group1trial> / stimulusframes = [1=group1pic, group1name] ... </trial> ... <trial group5trial> / stimulusframes = [1=group5pic, group5name] ... </trial>
Then, at the <block>-level you would simply do:
<block myblock> / trials = [1-10 = noreplace(group1trial, group2trial, group3trial, group4trial, group5trial)] ... </block>
|
|