Hi, I was hoping to get some help with an experiment I am designing.
Before participants proceed to another part of the experiment they need to learn the names of 4 faces. There are 4 different faces but only 2 names, so two faces share the same name. Participants get 40 trials to learn the face names after which if they scored 90% correct they proceed to the next phase.
Please can I get some help with the code to record their responses, calculate their correct scores, display that score to the participant with either the message that they will proceed to the next phase or that they will have to redo the learning phase. Here is the code I have tested so far.
Thanks heaps for your kind assistance.
David Barton
****************************************************************
Stimulus Items
******************************************************************
<picture faces1>
/ items = faces1
/ select = faces1
/ size = (45%, 45%)
</picture>
<picture faces2>
/ items = faces2
/ select = faces2
/ size = (45%, 45%)
</picture>
<text NameleftA>
/ items = names1
/ valign = bottom
/ halign = left
/ position = (25,80)
/ txcolor = (0,0,0)
/ fontstyle = ("Arial", 40pt, true)
</text>
<text NamerightA>
/ items = names1
/ valign = bottom
/ halign = left
/ position = (70,80)
/ txcolor = (0,0,0)
/ fontstyle = ("Arial", 40pt, true)
</text>
<text NameleftB>
/ items = names2
/ valign = bottom
/ halign = left
/ position = (25,80)
/ txcolor = (0,0,0)
/ fontstyle = ("Arial", 40pt, true)
</text>
<text NamerightB>
/ items = names2
/ valign = bottom
/ halign = left
/ position = (70,80)
/ txcolor = (0,0,0)
/ fontstyle = ("Arial", 40pt, true)
</text>
-----------------------------------------------------------------
Error
---------------------------------------------------------------------
<text error>
/ position = (50%,85%)
/ items = ("X")
/ color = (255, 0, 0)
/ fontstyle = ("Arial",10%, true)
</text>
*******************************************************************
Items
*******************************************************************
<item names1>
/1 = "Hugo"
</item>
<item names2>
/1= "Finn"
</item>
<item faces1>
/1="C:\Experiments\1403 IAT\learning\Roundface 1.JPG"
/2="C:\Experiments\1403 IAT\learning\Roundface 2.JPG"
</item>
<item faces2>
/1="C:\Experiments\1403 IAT\learning\Roundface 3.JPG"
/2="C:\Experiments\1403 IAT\learning\Roundface 4.JPG"
</item>
<counter faces1>
/ select = noreplace (1-2)
/ selectionrate = always
</counter>
<counter faces2>
/ select = noreplace (1-2)
/ selectionrate = always
</counter>
***************************************************************************************************************************************************************************************
Trials
***************************************************************************************************************************************************************************************
<trial learning1>
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=NameleftA,NamerightB,faces1]
/ posttrialpause = 250
</trial>
<trial learning2>
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=NameleftB,NamerightA,faces1]
/ posttrialpause = 250
</trial>
<trial learning3>
/ validresponse = ("z", "/")
/ correctresponse = ("/")
/ stimulusframes = [1=NameleftA,NamerightB,faces2]
/ posttrialpause = 250
</trial>
<trial learning4>
/ validresponse = ("z", "/")
/ correctresponse = ("z")
/ stimulusframes = [1=NameleftB,NamerightA,faces2]
/ posttrialpause = 250
</trial>
******************************************************************************************************************************************************************************************
Blocks
*****************************************************************************************************************************************************************************************
<block Election>
/ trials = [1-40 = noreplace(learning1,learning2,learning3,learning4)]
/ errormessage = true(error,200)
/responsemode=correct
/ recorddata = true
</block>