+xI have a question with an experiment. I guess it will be very easy to solve, but I do not know how to start.
The experiment consists of 48 stimuli. Each stimulus is an image in which a mathematical operation appears. The question of the experiment is: Is the result shown in the image correct? Therefore, the correct answer may be "yes" or "no".
There are 24 stimuli whose correct answer is "yes" and 24 stimuli whose correct answer is "no".
I want to present the stimuli in a given order, that is, I want the 48 stimuli to be presented in an equal sequence for all participants (sequence = 1, 2, 3, 4, ..., 48). But in this sequence are mixed the stimuli with different correct answer.
what should I do?
Thank you in advance
Best regards
Encode the correct answers in a <list>. Pair that list to the stimulus element. Evaluate response via the <trial>'s /iscorrectresponse attribute.
<text mytext>
/ items = myitems
/ select = sequence</text>
<item myitems>
/ 1 = "Stimulus 1 (correct answer is yes)"
/ 2 = "Stimulus 2 (correct answer is yes)"
/ 3 = "Stimulus 3 (correct answer is no)"
/ 4 = "Stimulus 4 (correct answer is yes)"
/ 5 = "Stimulus 5 (correct answer is no)"
/ 6 = "Stimulus 6 (correct answer is no)"
/ 7 = "Stimulus 7 (correct answer is no)"
/ 8 = "Stimulus 8 (correct answer is yes)"
</item>
<list correct_response>
/ items = ("yes", "yes", "no", "yes", "no", "no", "no", "yes")
/ selectionmode = text.mytext.currentindex</list>
<trial mytrial>
/ stimulusframes = [1=mytext, yes, no]
/ inputdevice = mouse
/ validresponse = (yes, no)
/ iscorrectresponse = [trial.mytrial.response == list.correct_response.nextvalue]</trial>
<text yes>
/ items = ("YES.")
/ position = (40%, 80%)
</text>
<text no>
/ items = ("NO.")
/ position = (60%, 80%)
</text>
<block myblock>
/ trials = [1-8 = mytrial]
</block>