Group: Awaiting Activation
Posts: 24,
Visits: 86
|
Hi everyone, I want to construct a Picture IAT in which I present 10 neutral and 10 disorder-specific targets and 5 avoidance- as well as 5 approach-relevant attributes. I downloaded the script from the millisecond library and changed the attribute as well as the target labels correspondingly. For the design of the <lock compatibletest1>, it would be important that each neutral and each disorder-specific stimulus is presented one time. Thus I changed the script as follows: <block compatibletest1> / bgstim = (targetAleft, orleft, attributeAleftmixed, targetBright, orright, attributeBrightmixed) / trials = [1=instructions; 3,5,7,9,11,13,15,17,19,21 = noreplace(targetAleft, targetBright); 2,4,6,8,10,12,14,16,18,20 = noreplace(attributeA, attributeB)] / errormessage = true(error,200) / responsemode = correct / ontrialend = [if(block.compatibletest1.latency <= 10000 && block.compatibletest1.currenttrialnumber != 1 ) values.sum1a = values.sum1a + block.compatibletest1.latency] / ontrialend = [if(block.compatibletest1.latency <= 10000 && block.compatibletest1.currenttrialnumber != 1 ) values.n1a += 1] / ontrialend = [if(block.compatibletest1.latency <= 10000 && block.compatibletest1.currenttrialnumber != 1 ) values.ss1a = values.ss1a + (block.compatibletest1.latency * block.compatibletest1.latency)] / ontrialend = [if(block.compatibletest1.latency <= 10000 && block.compatibletest1.currenttrialnumber != 1 ) values.n_correct += block.compatibletest1.correct] </block>
However, when I check the output, the visual targets are sometimes presented twice and some targets are missing. How do I have to change the script such that each target stimulus is presented once during the compatible and incompatible trial?
Thanks for your help in advance, Charlotte
Thanks for your replay. I just recognized that I posted the practice trial, not the test trial, which is: <block compatibletest2> / bgstim = (targetAleft, orleft, attributeAleftmixed, targetBright, orright, attributeBrightmixed) / trials = [ 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40 = noreplace(targetAleft, targetBright); 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39 = noreplace(attributeA, attributeB)] / errormessage = true(error,200) / responsemode = correct / ontrialend = [if(block.compatibletest2.latency <= 10000) values.sum1b = values.sum1b + block.compatibletest2.latency] / ontrialend = [if(block.compatibletest2.latency <= 10000) values.n1b += 1] / ontrialend = [if(block.compatibletest2.latency <= 10000) values.ss1b = values.ss1b + (block.compatibletest2.latency * block.compatibletest2.latency)] / ontrialend = [if(block.compatibletest2.latency <= 10000) values.n_correct += block.compatibletest2.correct] </block>
The problem is: I have ten smoking-related targets (smoking1.jpg to smoking10.jpg) as well as ten neutral targets (neutral1.jpg to neutral10.jpg). For the test trial, I want each target to be presented once. However, after running several monkey trials and checking the output, the noreplace instruction does not work as several target stimuli are presented more than once while others are not presented at all. What can I do such that each target stimulus is presented exactly one?
Thanks so much for your help! Charlotte
|