Data Recording - Simple IAT


Author
Message
smile_its_zoe
smile_its_zoe
Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)
Group: Forum Members
Posts: 27, Visits: 129
Dave - Wednesday, April 5, 2017
smile_its_zoe - Wednesday, April 5, 2017
Hi, 

I just created my own Raven Task which has a similar premise to the IAT tasks. A puzzle appears on screen and the respondents are asked to press buttons 1-6 on the keyboard for the missing piece (attached image) .

I've coded as follows but when i run the monkey and review the data the correct column doesn't represent the response. Sometimes it says the answer is correct where the response they gave was incorrect. With the way i have coded it they only get one opportunity to respond and then it goes to the next task.

Am i misunderstanding the correct column and what it represents? Does it mean they have just pressed one of the /valid responses not the one i have stated in the trial that is /correctresponse?

Kind Regards

Zoe

DATA RECORDING
------------------------------------------------------------------------------------------------------------------------------------
<data>
/columns=[date, time, group, subject, script.starttime, pretrialpause, posttrialpause, trialtimeout, trialduration,
script.elapsedtime,stimulusitem, response, correct, latency,]
/format=tab
</data>


******************************************************************************************************************************************
RAVEN TEST - ALL
******************************************************************************************************************************************

-------------------------------------------------------------------------------------------------------------------------------------------
EXP & BLOCKS & TRIALS
-------------------------------------------------------------------------------------------------------------------------------------------

<expt RAVENTEST>
/ preinstructions=(raventestintro)
/blocks=[1 = RAVENTEST1]
</expt>

<block RAVENTEST1>
/ trials=[ 1=raven1, Raven2, Raven3, Raven4, Raven5, Raven6, Raven7, Raven8, Raven9, Raven10, Raven11, Raven12, raven13, Raven14, Raven15, Raven16, Raven17, Raven18, Raven19, Raven20, Raven21, Raven22, Raven23, Raven24, Raven25, Raven26, Raven27, Raven28, Raven29, Raven30, Raven31, Raven32, Raven33, Raven34, Raven35, Raven36]
</block>

<trial Raven1>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT1]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven2>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT2]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven3>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT3]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven4>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT4]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven5>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT5]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven6>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT6]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven7>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT7]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven8>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT8]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven9>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT9]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven10>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT10]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven11>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT11]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven12>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT12]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven13>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT13]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven14>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT14]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven15>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT15]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven16>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT16]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven17>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT17]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven18>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT18]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven19>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT19]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven20>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT20]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven21>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT21]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven22>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT22]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven23>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT23]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven24>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT24]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven25>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT25]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven26>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT26]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven27>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT27]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven28>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT28]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven29>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT29]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven30>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT30]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven31>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT31]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven32>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT32]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven33>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT33]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven34>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT34]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven35>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT35]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven36>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT36]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>
-------------------------------------------------------------------------------------------------------------------------------------------
PAGE CONTENT
-------------------------------------------------------------------------------------------------------------------------------------------

1. PRE-INSTRUCTIONS

<htmlpage raventestintro>
/ file = "raventestinstructions.htm"
</htmlpage>

<instruct raventestintro2>
/windowsize = (60%, 40%)
</instruct>

2. TEST PAGE- RAVEN TEST

<picture RT1>
/ items = ("A1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT2>
/ items = ("A2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT3>
/ items = ("A3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT4>
/ items = ("A4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT5>
/ items = ("A5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT6>
/ items = ("A6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT7>
/ items = ("A7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT8>
/ items = ("A8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT9>
/ items = ("A9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT10>
/ items = ("A10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT11>
/ items = ("A11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT12>
/ items = ("A12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT13>
/ items = ("AB1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT14>
/ items = ("AB2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT15>
/ items = ("AB3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT16>
/ items = ("AB4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT17>
/ items = ("AB5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT18>
/ items = ("AB6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT19>
/ items = ("AB7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT20>
/ items = ("AB8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT21>
/ items = ("AB9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT22>
/ items = ("AB10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT23>
/ items = ("AB11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT24>
/ items = ("AB12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT25>
/ items = ("B1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT26>
/ items = ("B2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT27>
/ items = ("B3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT28>
/ items = ("B4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT29>
/ items = ("B5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT30>
/ items = ("B6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT31>
/ items = ("B7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT32>
/ items = ("B8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT33>
/ items = ("B9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT34>
/ items = ("B10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT35>
/ items = ("B11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT36>
/ items = ("B12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

******************************************************************************************************************************************
END
******************************************************************************************************************************************


I think you misunderstand the response column, not the correct column. What the response column will log is the numerical keyboard scancode (see the "Keyboard Scan Codes" topic in the documentation and Tools -> Keyboard Scancodes...), not the key's "literal" value (i.e. the letter or digit printed on it). And yes, the response column represents the key that was pressed, one of those defined in /validresponse. If the key pressed is the one specified in /correctresponse the correct column will be equal to 1 (correct response), otherwise false (error).

Ah hah.... perfect... now it makes sense!!! Thanks
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
smile_its_zoe - Wednesday, April 5, 2017
Hi, 

I just created my own Raven Task which has a similar premise to the IAT tasks. A puzzle appears on screen and the respondents are asked to press buttons 1-6 on the keyboard for the missing piece (attached image) .

I've coded as follows but when i run the monkey and review the data the correct column doesn't represent the response. Sometimes it says the answer is correct where the response they gave was incorrect. With the way i have coded it they only get one opportunity to respond and then it goes to the next task.

Am i misunderstanding the correct column and what it represents? Does it mean they have just pressed one of the /valid responses not the one i have stated in the trial that is /correctresponse?

Kind Regards

Zoe

DATA RECORDING
------------------------------------------------------------------------------------------------------------------------------------
<data>
/columns=[date, time, group, subject, script.starttime, pretrialpause, posttrialpause, trialtimeout, trialduration,
script.elapsedtime,stimulusitem, response, correct, latency,]
/format=tab
</data>


******************************************************************************************************************************************
RAVEN TEST - ALL
******************************************************************************************************************************************

-------------------------------------------------------------------------------------------------------------------------------------------
EXP & BLOCKS & TRIALS
-------------------------------------------------------------------------------------------------------------------------------------------

<expt RAVENTEST>
/ preinstructions=(raventestintro)
/blocks=[1 = RAVENTEST1]
</expt>

<block RAVENTEST1>
/ trials=[ 1=raven1, Raven2, Raven3, Raven4, Raven5, Raven6, Raven7, Raven8, Raven9, Raven10, Raven11, Raven12, raven13, Raven14, Raven15, Raven16, Raven17, Raven18, Raven19, Raven20, Raven21, Raven22, Raven23, Raven24, Raven25, Raven26, Raven27, Raven28, Raven29, Raven30, Raven31, Raven32, Raven33, Raven34, Raven35, Raven36]
</block>

<trial Raven1>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT1]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven2>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT2]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven3>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT3]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven4>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT4]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven5>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT5]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven6>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT6]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven7>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT7]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven8>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT8]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven9>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT9]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven10>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT10]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven11>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT11]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven12>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT12]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven13>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT13]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven14>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT14]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven15>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT15]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven16>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT16]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven17>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT17]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven18>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT18]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven19>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT19]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven20>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT20]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven21>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT21]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven22>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT22]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven23>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT23]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven24>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT24]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven25>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT25]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven26>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT26]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven27>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT27]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven28>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT28]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven29>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT29]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven30>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT30]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven31>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT31]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven32>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT32]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven33>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT33]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven34>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT34]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven35>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT35]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven36>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT36]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>
-------------------------------------------------------------------------------------------------------------------------------------------
PAGE CONTENT
-------------------------------------------------------------------------------------------------------------------------------------------

1. PRE-INSTRUCTIONS

<htmlpage raventestintro>
/ file = "raventestinstructions.htm"
</htmlpage>

<instruct raventestintro2>
/windowsize = (60%, 40%)
</instruct>

2. TEST PAGE- RAVEN TEST

<picture RT1>
/ items = ("A1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT2>
/ items = ("A2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT3>
/ items = ("A3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT4>
/ items = ("A4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT5>
/ items = ("A5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT6>
/ items = ("A6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT7>
/ items = ("A7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT8>
/ items = ("A8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT9>
/ items = ("A9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT10>
/ items = ("A10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT11>
/ items = ("A11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT12>
/ items = ("A12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT13>
/ items = ("AB1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT14>
/ items = ("AB2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT15>
/ items = ("AB3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT16>
/ items = ("AB4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT17>
/ items = ("AB5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT18>
/ items = ("AB6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT19>
/ items = ("AB7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT20>
/ items = ("AB8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT21>
/ items = ("AB9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT22>
/ items = ("AB10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT23>
/ items = ("AB11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT24>
/ items = ("AB12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT25>
/ items = ("B1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT26>
/ items = ("B2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT27>
/ items = ("B3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT28>
/ items = ("B4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT29>
/ items = ("B5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT30>
/ items = ("B6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT31>
/ items = ("B7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT32>
/ items = ("B8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT33>
/ items = ("B9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT34>
/ items = ("B10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT35>
/ items = ("B11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT36>
/ items = ("B12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

******************************************************************************************************************************************
END
******************************************************************************************************************************************


I think you misunderstand the response column, not the correct column. What the response column will log is the numerical keyboard scancode (see the "Keyboard Scan Codes" topic in the documentation and Tools -> Keyboard Scancodes...), not the key's "literal" value (i.e. the letter or digit printed on it). And yes, the response column represents the key that was pressed, one of those defined in /validresponse. If the key pressed is the one specified in /correctresponse the correct column will be equal to 1 (correct response), otherwise false (error).

smile_its_zoe
smile_its_zoe
Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)Esteemed Member (2.5K reputation)
Group: Forum Members
Posts: 27, Visits: 129
Hi, 

I just created my own Raven Task which has a similar premise to the IAT tasks. A puzzle appears on screen and the respondents are asked to press buttons 1-6 on the keyboard for the missing piece (attached image) .

I've coded as follows but when i run the monkey and review the data the correct column doesn't represent the response. Sometimes it says the answer is correct where the response they gave was incorrect. With the way i have coded it they only get one opportunity to respond and then it goes to the next task.

Am i misunderstanding the correct column and what it represents? Does it mean they have just pressed one of the /valid responses not the one i have stated in the trial that is /correctresponse?

Kind Regards

Zoe

DATA RECORDING
------------------------------------------------------------------------------------------------------------------------------------
<data>
/columns=[date, time, group, subject, script.starttime, pretrialpause, posttrialpause, trialtimeout, trialduration,
script.elapsedtime,stimulusitem, response, correct, latency,]
/format=tab
</data>


******************************************************************************************************************************************
RAVEN TEST - ALL
******************************************************************************************************************************************

-------------------------------------------------------------------------------------------------------------------------------------------
EXP & BLOCKS & TRIALS
-------------------------------------------------------------------------------------------------------------------------------------------

<expt RAVENTEST>
/ preinstructions=(raventestintro)
/blocks=[1 = RAVENTEST1]
</expt>

<block RAVENTEST1>
/ trials=[ 1=raven1, Raven2, Raven3, Raven4, Raven5, Raven6, Raven7, Raven8, Raven9, Raven10, Raven11, Raven12, raven13, Raven14, Raven15, Raven16, Raven17, Raven18, Raven19, Raven20, Raven21, Raven22, Raven23, Raven24, Raven25, Raven26, Raven27, Raven28, Raven29, Raven30, Raven31, Raven32, Raven33, Raven34, Raven35, Raven36]
</block>

<trial Raven1>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT1]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven2>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT2]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven3>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT3]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven4>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT4]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven5>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT5]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven6>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT6]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven7>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT7]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven8>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT8]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven9>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT9]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven10>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT10]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven11>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT11]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven12>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT12]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven13>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT13]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven14>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT14]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven15>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT15]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven16>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT16]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven17>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT17]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven18>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT18]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven19>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT19]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven20>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT20]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven21>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT21]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven22>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT22]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven23>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT23]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven24>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT24]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven25>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT25]
/ pretrialpause = 250
/ posttrialpause = 250
</trial>

<trial Raven26>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT26]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven27>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT27]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven28>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("2")
/ stimulusframes = [1 = RT28]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven29>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("1")
/ stimulusframes = [1 = RT29]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven30>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT30]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven31>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT31]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven32>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("6")
/ stimulusframes = [1 = RT32]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven33>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT33]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven34>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("3")
/ stimulusframes = [1 = RT34]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven35>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("4")
/ stimulusframes = [1 = RT35]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>

<trial Raven36>
/ validresponse = ("1", "2","3","4","5","6")
/ correctresponse = ("5")
/ stimulusframes = [1 = RT36]
/ posttrialpause = 250
/ pretrialpause = 250
</trial>
-------------------------------------------------------------------------------------------------------------------------------------------
PAGE CONTENT
-------------------------------------------------------------------------------------------------------------------------------------------

1. PRE-INSTRUCTIONS

<htmlpage raventestintro>
/ file = "raventestinstructions.htm"
</htmlpage>

<instruct raventestintro2>
/windowsize = (60%, 40%)
</instruct>

2. TEST PAGE- RAVEN TEST

<picture RT1>
/ items = ("A1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT2>
/ items = ("A2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT3>
/ items = ("A3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT4>
/ items = ("A4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT5>
/ items = ("A5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT6>
/ items = ("A6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT7>
/ items = ("A7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT8>
/ items = ("A8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT9>
/ items = ("A9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT10>
/ items = ("A10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT11>
/ items = ("A11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT12>
/ items = ("A12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT13>
/ items = ("AB1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT14>
/ items = ("AB2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT15>
/ items = ("AB3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT16>
/ items = ("AB4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT17>
/ items = ("AB5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT18>
/ items = ("AB6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT19>
/ items = ("AB7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT20>
/ items = ("AB8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT21>
/ items = ("AB9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT22>
/ items = ("AB10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT23>
/ items = ("AB11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT24>
/ items = ("AB12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT25>
/ items = ("B1.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT26>
/ items = ("B2.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT27>
/ items = ("B3.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT28>
/ items = ("B4.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT29>
/ items = ("B5.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT30>
/ items = ("B6.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT31>
/ items = ("B7.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT32>
/ items = ("B8.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT33>
/ items = ("B9.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT34>
/ items = ("B10.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT35>
/ items = ("B11.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

<picture RT36>
/ items = ("B12.jpg")
/ position = (22.5, 10)
/ valign = top
/ halign = left
</picture>

******************************************************************************************************************************************
END
******************************************************************************************************************************************


Attachments
A1.jpg (599 views, 214.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search