Millisecond Forums

Importing data from inquisit to SPSS?

https://forums.millisecond.com/Topic9178.aspx

By Star7 - 11/18/2012

Hi, I've managed to complete a script for dot probe task.


For analysis, I'm looking at a 2 (probe type: e, f) x 2 (probe position: top, bottom) x 2 (probe location: statistics words, neutral words). This would result in 8 different combinations and hence, 8 trials.


I ran inquisit monkey for sample data. However, there are too many columns and I'm not sure where to start looking. I'm thinking of using <data> command to narrow the data collected but I'm unsure of the command. Furthermore, I'm not sure I've written the script correctly to allow such analysis. All help greatly appreciated!


Here's the script:


**********
Creating Text Stimuli
**********

<text statisticsitemstop>
/ items = statisticsitems
/ position = (50%, 40%)
</text>

<text statisticsitemsbottom>
/ items = statisticsitems
/ position = (50%, 60%)
</text>

<text neutralitemstop>
/ items = neutralitems
/ position = (50%, 40%)
</text>

<text neutralitemsbottom>
/ items = neutralitems
/ position = (50%, 60%)
</text>

<item statisticsitems>
/ 1 = "        STATISTICS        "
/ 2 = "        POPULATION        "
/ 3 = "       SAMPLE       "
/ 4 = "        ERROR       "
/ 5 = "       VARIABLE       "
/ 6 = "       DISTRIBUTION       "
/ 7 = "         SIGNIFICANCE        "
/ 8 = "        VARIATION       "
/ 9 = "        REPRESENTATIVE        "
/ 10 = "        MODE      "
</item>

<item neutralitems>
/ 1 = "        FURNITURE        "
/ 2 = "        OPPORTUNITY        "
/ 3 = "        ASPECT        "
/ 4 = "        BRIEF        "
/ 5 = "        INITIAL        "
/ 6 = "        EXPLANATION        "
/ 7 = "         IMAGINATION        "
/ 8 = "        PROFESSION       "
/ 9 = "        CORPORATION        "
/ 10 = "        DECK      "
</item>

<text targettope>
/ items = ("          E          ")
/ position = (50%, 40%)
</text>

<text targetbottome>
/ items = ("          E          ")
/ position = (50%, 60%)
</text>

<text targettopf>
/ items = ("          F          ")
/ position = (50%, 40%)
</text>

<text targetbottomf>
/ items = ("          F          ")
/ position = (50%, 60%)
</text>

<text fixation>
/ items = ("+")
</text>

<text erasefixation>
/ items = ("+")
/ txcolor = (255, 255, 255)
</text>

<shape erasewords>
/ color = (255, 255, 255)
/ size = (50%, 50%)
</shape>

<text errormessage>
/ items = ("error")
/ txcolor = (255, 0, 0)
</text>

**********
Creating Instructions
**********

<page intro>
^^^Dot Probe Task
^^Welcome and thank you for participating in this task.
</page>

<page task>
^^Place your left middle finger on "E" and your left index finger on "F".
^^On each trial, a fixation point '+' is presented for 500 ms, followed by two words, presented above and below the fixation point for 500 ms. Both words are erased from the screen, and one is replaced with either an "E" or a "F".
^^If the word is replaced by an "E", press the "E" key on the keyboard.
^^If the word is replaced by an "F", press the "F" key on the keyboard.
^^Respond as quickly and accurately as possible.
</page>

<page taskreminder>
^^This concludes the end of the practice session.
^^The next 20 trials are test trials. Please respond as quickly and accurately as possible. The error message will no longer be displayed after an incorrect response.
^^Reminder: If you see an "E" or a "F". Press the relevant key (either "E" or "F") as quickly and accurately as possible.
</page>

<page practice>
^^The next 10 trials are practice trials so you can learn the task. An error message will be shown if you respond incorrectly.
^^Reminder: If you see an "E" or a "F". Press the relevant key (either "E" or "F") as quickly and accurately as possible.
</page>

<page end>
The Dot Probe Task is now concluded.
^^Thank you for your participation.
</page>

<instruct>
/ nextlabel = "Press the spacebard to proceed"
/ lastlabel = "Press the spacebard to proceed"
/ nextkey = (" ")
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)
</instruct>

**********
Creating Trials
**********

<trial statisticsitemstargettope>
/ stimulustimes =[0=fixation; 500=erasefixation, statisticsitemstop, neutralitemsbottom; 1000=erasewords, targettope]
/ validresponse = ("E", "F")
/ correctresponse = ("E")
</trial>

<trial statisticsitemstargettopf>
/ stimulustimes =[0=fixation; 500=erasefixation, statisticsitemstop, neutralitemsbottom; 1000=erasewords, targettopf]
/ validresponse = ("E", "F")
/ correctresponse = ("F")
</trial>

<trial neutralitemstargettope>
/ stimulustimes = [0=fixation; 500=erasefixation, neutralitemstop, statisticsitemsbottom; 1000=erasewords, targettope]
/ validresponse = ("E", "F")
/ correctresponse = ("E")
</trial>

<trial neutralitemstargettopf>
/ stimulustimes = [0=fixation; 500=erasefixation, neutralitemstop, statisticsitemsbottom; 1000=erasewords, targettopf]
/ validresponse = ("E", "F")
/ correctresponse = ("F")
</trial>

<trial statisticsitemstargetbottome>
/ stimulustimes = [0=fixation; 500=erasefixation, statisticsitemstop, neutralitemsbottom; 1000=erasewords, targetbottome]
/ validresponse = ("E", "F")
/ correctresponse = ("E")
</trial>

<trial statisticsitemstargetbottomf>
/ stimulustimes = [0=fixation; 500=erasefixation, statisticsitemstop, neutralitemsbottom; 1000=erasewords, targetbottomf]
/ validresponse = ("E", "F")
/ correctresponse = ("F")
</trial>

<trial neutralitemstargetbottome>
/ stimulustimes = [0=fixation; 500=erasefixation, neutralitemstop, statisticsitemsbottom; 1000=erasewords, targetbottome]
/ validresponse = ("E", "F")
/ correctresponse = ("E")
</trial>

<trial neutralitemstargetbottomf>
/ stimulustimes = [0=fixation; 500=erasefixation, neutralitemstop, statisticsitemsbottom; 1000=erasewords, targetbottomf]
/ validresponse = ("E", "F")
/ correctresponse = ("F")
</trial>

**********
Creating Blocks
**********

<block practice>
/ preinstructions = (practice)
/ trials = [1-10 = noreplace(statisticsitemstargettope, statisticsitemstargettopf, neutralitemstargettope, neutralitemstargettopf, statisticsitemstargetbottome, statisticsitemstargetbottomf, neutralitemstargetbottome, neutralitemstargetbottomf)]
/ errormessage = (errormessage, 300)
/ recorddata = false
</block>

<block critical>
/ preinstructions = (taskreminder)
/ trials = [1-24 = noreplace(statisticsitemstargettope, statisticsitemstargettopf, neutralitemstargettope, neutralitemstargettopf, statisticsitemstargetbottome, statisticsitemstargetbottomf, neutralitemstargetbottome, neutralitemstargetbottomf)]
</block>

**********
Creating an Expt
**********

<expt>
/ preinstructions = (intro, task)
/ postinstructions = (end)
/ blocks = [1=practice; 2=critical]
</expt>

<defaults>
/ fontstyle = ("Arial", 2%, false, false, false, false, 5, 0)
/ posttrialpause = 1000
</defaults>

By Dave - 11/18/2012

For information re. Inquisit's default data recording, see the "Data Recording" topic in the Inquisit documentation. For information on changing data output, see the documentation for the <data> element, specifically the /columns attribute. The remaining questions are unrelated to Inquisit and you will probably find better guidance elsewhere (e.g., books, tutorials, etc. re. behaviorial data analysis).



Regards,


~Dave