Millisecond Forums

Feedback on IAT

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

By JeroenWs - 3/6/2015

In me experiment, participants have to complete an IAT.
I programmed the IAT and everything is working fine. However, I want to add an extra element.
After each Block, I want to give participants feedback about their performance. So that they will see something like:" 
You correctly classified 30 words and you made 10 mistakes. The percentage of trials you did correctly is 75%.
Next, if participants performance comes below a certain percentage, lets say 65%, I want to give them feedback that says their performance
was below average, they should focus more on correctly categorizing the stimuli. If their percentage is between 65 and 90 % it should say something like well done.
And when their percentage is higher than 90%, I want to give them some feedback that they should try to be a bit faster and id is okay to make some errors.
I hope someone can help me with this.

my script is the following:



**********************
Experiment (condities)
**********************

<expt>
/ blocks = [1 = oefen_cat_con; 2 = oefen_val; 3 = congruent; 4 = oefen_cat_inc_s; 5 = incongruent]
/ preinstructions = (welkom, uitleg1, namen)
/ postinstructions = (einde)
</expt>




**********************
IAT (Mar/Ned)*(pos/neg)

6 blokken
- oefen_cat (20 trials)
- oefen_val (20 trials)
- congruent (40 trials)
- oefen_cat_s (20 trials)
- incongruent (40 trials)

Volgorde congruent/incongruent counterbalance
pp1 = congruent > incongruent
pp2 = congruent2 > incongruent2

**********************

<defaults>
/ txcolor = (0, 0, 0)
/ txbgcolor = (255, 255, 255)
/ screencolor = (255, 255, 255)
/ validresponse = ("A", "a", "L", "l",)
/ font = ("Arial", -30, 700, 0, 49)
/ posttrialpause = 100
</defaults>

**********************
Stimuli
**********************

*****<*****item pos>
/1 = "LIEFDE"
/2 = "VREDE"
/3 = "VEILIG"
/4 = "GEZOND"
/5= "LEUK"
</item>

*<*item neg>
/1 = "KANKER"
/2 = "OORLOG"
/3= "ONGELUK"
/4 = "DOOD"
/5 = "MARTELING"
</item>

*<*item mar>
/1 = "IBRAHIM"
/2 = "ACHMED"
/3 = "MUSTAFA"
/4 = "ABDUL"
/5 = "MOHAMMED"
</item>

*<*item ned>
/1 = "JOHAN"
/2 = "JAN"
/3 = "KAREL"
/4 = "KLAAS"
/5 = "HANS"
</item>

*********************NEW

<item pos>
/1 = "LIEFDE"
/2 = "VREDE"
/3 = "VEILIG"
/4 = "GEZOND"
/5= "LEUK"
/6= "AARDIG"
/7= "GRAPPIG"
/8= "GELUK"
/9 = "BLIJ"
/10 = "GESLAAGD"
/11 = "GEZELLIG"
/12 = "WINNEN"
/13 = "VERMAAK"
/14 = "VRIEND"
/15 = "VAKANTIE"
/16 = "RESPECT"
/17 = "MOOI"
/18 = "PRETTIG"
/19 = "VROLIJK"
/20 = "FEEST"
</item>

<item neg>
/1 = "KANKER"
/2 = "OORLOG"
/3= "ONGELUK"
/4 = "DOOD"
/5 = "MARTELING"
/6 = "AGRESSIE"
/7 ="VERDRIET"
/8 = "NOOD"
/9 = "VERLIES"
/10 = "PIJN"
/11= "WALGING"
/12 = "HAAT"
/13 = "KWAAD"
/14 = "ZIEKTE"
/15 = "VERVELEND"
/16 = "GEMEEN"
/17 = "GEVAAR"
/18 = "BITTER"
/19 = "TIRAN"
/20 = "ARMOEDE"
</item>

<item mar>
/1 = "IBRAHIM"
/2 = "ACHMED"
/3 = "MUSTAFA"
/4 = "ABDUL"
/5 = "ALI"
/6 = "AZIZ"
/7 = "YOUSSEF"
/8 = "TARIK"
/9 = "RACHID"
/10 = "ADIL"
</item>

<item ned>
/1 = "JOHAN"
/2 = "WILLEM"
/3 = "KAREL"
/4 = "KLAAS"
/5 = "HANS"
/6 = "KEES"
/7 = "PIETER"
/8 = "WOUTER"
/9 = "KOEN"
/10 = "THIJS"
</item>

********************END NEW

**********************
Tekst opmaak
**********************

<text pos>
/ items=pos
/ position = (50,50)
/ select = noreplace
</text>

<text neg>
/ items = neg
/ position = (50, 50)
/ select = noreplace
</text>

<text mar>
/ items = mar
/ position = (50, 50)
/ select = noreplace
</text>

<text ned>
/ items = ned
/ position = (50, 50)
/ select = noreplace
</text>

<text focus>
/ items = ("X")
/ position = (50, 50)
</text>

<text fout>
/ items = ("FOUT")
/ position = (50, 40)
/ txcolor = (255, 0, 0)
</text>

<text bgpos>
/ items = ("A = POSITIEF")
/ position = (15, 10)
</text>

<text bgneg>
/items = ("L = NEGATIEF")
/ position = (85, 10)
</text>

<text bgmarrechts_t>
/ items = ("L = MAROKKAANS")
/ position = (85, 15)
</text>

<text bgmarlinks_t>
/items = ("A = MAROKKAANS")
/ position = (15, 15)
</text>

<text bgnedrechts_t>
/ items = ("L = NEDERLANDS")
/ position = (85, 15)
</text>

<text bgnedlinks_t>
/items = ("A = NEDERLANDS")
/ position = (15, 15)
</text>

<text bgmarrechts>
/ items = ("MAROKKAANS")
/ position = (85, 15)
</text>

<text bgmarlinks>
/items = ("MAROKKAANS")
/ position = (15, 15)
</text>

<text bgnedrechts>
/ items = ("NEDERLANDS")
/ position = (85, 15)
</text>

<text bgnedlinks>
/items = ("NEDERLANDS")
/ position = (15, 15)
</text>

<text blank>
/ items = ("               ")
/ txcolor = (255, 255, 255)
/ txbgcolor = (255, 255, 255)
/ size = (500, 300)
/ position = (50, 50)
</text>

**********************
Trials
**********************

<trial pos>
/ stimulustimes = [1 = focus; 300 = blank, pos]
/ correctresponse = ("a", "A")
</trial>

<trial neg>
/ stimulustimes = [1 = focus; 300 = blank, neg]
/ correctresponse = ("l", "L")
</trial>

<trial marlinks>
/ stimulustimes = [1 = focus; 300 = blank, mar]
/ correctresponse = ("a", "A")
</trial>

<trial marrechts>
/ stimulustimes = [1 = focus; 300 = blank, mar]
/ correctresponse = ("l", "L")
</trial>

<trial nedlinks>
/ stimulustimes = [1 = focus; 300 = blank, ned]
/ correctresponse = ("a", "A")
</trial>

<trial nedrechts>
/ stimulustimes = [1 = focus; 300 = blank, ned]
/ correctresponse = ("l", "L")
</trial>

<trial wait>
/ timeout = 2000
</trial>

**********************
Blokken
**********************

<block oefen_cat_con>
/ bgstim = (bgnedlinks_t, bgmarrechts_t)
/ trials = [1 = wait; 2-21 = noreplace(nedlinks, marrechts )]
/ preinstructions = (oefenuitleg_NM, oefenuitleg2)
/ postinstructions = (oefeneinde1)
</block>

<block oefen_cat_inc_s>
/ bgstim = (bgmarlinks_t, bgnedrechts_t)
/ trials = [1 = wait; 2-21 = noreplace(marlinks, nedrechts )]
/ preinstructions = (switch, oefenuitleg_MN, oefenuitleg2)
</block>

<block oefen_val>
/ bgstim = (bgneg, bgpos)
/ trials = [1 = wait; 2-21 = noreplace(pos, neg )]
/ preinstructions = (uitleg1_val, valentie, oefenuitleg_val, oefenuitleg2)
</block>

<block congruent>
/ bgstim = (bgpos, bgneg, bgmarrechts, bgnedlinks)
/ trials = [1 = wait; 2 = pos; 3 = nedlinks; 4 = marrechts; 5= pos; 6 = nedlinks; 7 = marrechts; 8 = marrechts; 9= neg; 10 = neg; 11 = neg; 12 = nedlinks; 13= nedlinks; 14 = marrechts; 15 = pos; 16 = nedlinks; 17= marrechts; 18 = pos; 19 = neg; 20 = marrechts; 21 = pos; 22 = pos; 23 = nedlinks; 24 = pos; 25= pos; 26 = nedlinks; 27 = pos; 28 = neg; 29= pos; 30 = marrechts; 31 = neg; 32 = neg; 33= nedlinks; 34 = marrechts; 35 = marrechts; 36 = neg; 37= neg; 38 = nedlinks; 39 = marrechts; 40 = nedlinks; 41= neg; 42 = pos; 43 = nedlinks; 44 = marrechts; 45= pos; 46 = nedlinks; 47 = marrechts; 48 = marrechts; 49= neg; 50 = neg; 51 = neg; 52 = nedlinks; 53= nedlinks; 54 = marrechts; 55 = pos; 56 = nedlinks; 57= marrechts; 58 = pos; 59 = neg; 60 = marrechts; 61 = pos; 62 = pos; 63 = nedlinks; 64 = pos; 65= pos; 66 = nedlinks; 67 = pos; 68 = neg; 69= pos; 70 = marrechts; 71 = neg; 72 = neg; 73= nedlinks; 74 = marrechts; 75 = marrechts; 76 = neg; 77= neg; 78 = nedlinks; 79 = marrechts; 80 = nedlinks; 81= neg]]
/ preinstructions = (blokuitleg1, congruentuitleg1, blokuitleg2)
</block>

<block incongruent>
/ bgstim = (bgneg, bgpos, bgmarlinks, bgnedrechts)
/ trials = [1 = wait; 2 = pos; 3 = neg; 4 = neg; 5= marlinks; 6 = nedrechts; 7 = neg; 8 = marlinks; 9= nedrechts; 10 = nedrechts; 11 = marlinks; 12 = pos; 13= neg; 14 = marlinks; 15 = nedrechts; 16 = neg; 17= pos; 18 = neg; 19 = neg; 20 = pos; 21 = marlinks; 22 = nedrechts; 23 = neg; 24 = marlinks; 25= pos; 26 = marlinks; 27 = nedrechts; 28 = nedrechts; 29= neg; 30 = nedrechts; 31 = marlinks; 32 = marlinks; 33= pos; 34 = marlinks; 35 = pos; 36 = neg; 37= nedrechts; 38 = pos; 39 = pos; 40 = nedrechts; 41= pos; 42 = pos; 43 = neg; 44 = neg; 45= marlinks; 46 = nedrechts; 47 = neg; 48 = marlinks; 49= nedrechts; 50 = nedrechts; 51 = marlinks; 52 = pos; 53= neg; 54 = marlinks; 55 = nedrechts; 56 = neg; 57= pos; 58 = neg; 59 = neg; 60 = pos; 61 = marlinks; 62 = nedrechts; 63 = neg; 64 = marlinks; 65= pos; 66 = marlinks; 67 = nedrechts; 68 = nedrechts; 69= neg; 70 = nedrechts; 71 = marlinks; 72 = marlinks; 73= pos; 74 = marlinks; 75 = pos; 76 = neg; 77= nedrechts; 78 = pos; 79 = pos; 80 = nedrechts; 81= pos]]
/ preinstructions = (blokuitleg1, incongruentuitleg1, blokuitleg2)
</block>




**********************
Instructies
**********************

<instruct>
/ txcolor = (0, 0, 0)
/ screencolor = (255, 255, 255)
/ nextkey = (" ")
/ prevkey = ("q")
/ prevlabel = ("(Q) Terug")
/ nextlabel = "(Spatie) Volgende"
/ finishlabel = "(Spatie) Volgende"
/ windowsize = (70%, 80%)
</instruct>

<page welkom>
^Welkom bij dit experiment.^Wat fijn dat je ons komt helpen.^Dit onderzoek bestaat uit drie delen.^^Succes :)
</page>

<page uitleg1>
^In dit eerste deel dien je woorden in categorieen in te delen.
^^Je gaat dit eerst oefenen met Nederlandse en Marokkaanse namen.
</page>

<page namen>
^De Nederlandse namen die je moet indelen zijn:^^JOHAN, JAN, KAREL, KLAAS, HANS, KEES, PIETER, WOUTER, KOEN, THIJS.^^^De Marokaanse namen die je moet indelen zijn:^^IBRAHIM, ACHMED, MUSTAFA, ABDUL, MOHAMMED, AZIZ, YOUSSEF, TARIK, RACHID, ADIL.
</page>

<page valentie>
^De negatieve woorden die je moet indelen zijn:^^KANKER, OORLOG, ONGELUK, DOOD, MARTELING, AGRESSIE, VERDRIET, NOOD, VERLIES, PIJN, WALGING, HAAT, KWAAD, ZIEKTE, VERVELEND, GEMEEN, GEVAAR, BITTER, TIRAN, ARMOEDE. ^^^De positieve woorden die je moet indelen zijn:^^LIEFDE, VREDE, VEILIG, GEZOND, LEUK, AARDIG, GRAPPIG, GELUK, BLIJ, GESLAAGD, GEZELLIG, WINNEN, VERMAAK, VRIEND, VAKANTIE, RESPECT, MOOI, PRETTIG, VROLIJK, FEEST.
</page>

<page oefenuitleg_NM>
^Als je een Nederlandse naam ziet, druk dan op 'A'.^^Als je een Marokkaanse naam ziet, druk dan op 'L'.
</page>

<page oefenuitleg_MN>
^Als je een Marokkaanse naam ziet, druk dan op 'A'.^^Als je een Nederlandse naam ziet, druk dan op 'L'.
</page>

<page uitleg1_val>
^In het volgende deel dien je weer woorden in categorieen in te delen.^^Je gaat dit nu oefenen met positieve en negatieve woorden.
</page>

<page oefenuitleg_val>
^Als je een positief woord ziet, druk dan op 'A'.^^Als je een negatief woord ziet, druk dan op 'L'.
</page>

<page oefenuitleg2>
^Probeer zo snel en accuraat mogelijk antwoord te geven.^^^Druk op spatie om de oefening te beginnen.
</page>

<page oefeneinde1>
^Dit is het einde van de oefening.^^De rest van deze taak in dit deel van het experiment bestaat uit dit soort blokken.
</page>

<page blokuitleg1>
^Je gaat nu door met het volgende blok, dit is een testblok.^^In dit blok reageer je op positieve en negatieve woorden, EN op Marokkaanse en Nederlandse namen.
</page>

<page congruentuitleg1>
^Let op!^^Als je een positief woord OF een Nederlande naam ziet, druk dan op 'A'.^^Als je een negatief woord OF een Marokkaanse naam ziet, druk dan op 'L'.
</page>

<page incongruentuitleg1>
^Let op!^^Als je een positief woord OF een Marokkaanse naam ziet, druk dan op 'A'.^^Als je een negatief woord OF een Nederlande naam ziet, druk dan op 'L'.
</page>

<page blokuitleg2>
^Probeer zo snel en zo accuraat mogelijk antwoord te geven.^^^Druk op spatie om de taak beginnen.
</page>

<page switch>
^Dit is het einde van het eerste testblok.^^Let op! In het vervolg veranderen de labels voor de knoppen die je tot nu toe hebt gebruikt. Je zult dit eerst oefenen.^^Lees de instructie goed door voordat je begint!
</page>

<page einde>
^Dit is het einde van dit onderdeel van de serie experimenten.
^^Druk op spatie om door te gaan met het volgende onderdeel.
</page> 
By Dave - 3/6/2015

(1) You need to end each <block> with a <page> or <trial> element that reports the relevant performance metrics.
(2) If a given performance metric is not among those built into Inquisit (see the available properties for block and trial elements), you need to compute it yourself via <values>, <expressions> etc. See e.g. how the IAT scripts compute D-scores and the percentage of correct responses as examples: https://www.millisecond.com/download/library/v4/IAT/IAT.iqx
(3) Similar to (2), the verbal feedback depending on performance has to be implemented along the same lines. See the <trial summary> element as an example how verbal feedback regarding the achieve D-score is implemented.
By JeroenWs - 3/7/2015

Thanks Dave!
With the help of the IAT script you provided me with I was managed to do what I wanted to do!
Made some slight changes, but now everything is working the way I wanted to.

Thanks!!