Millisecond Forums

Removing control trials from Stroop task

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

By CLB - 12/8/2022

Hi guys,

I want to run the Color Word Stroop with Keyboard Responding but without the colored rectangles control trial. Could anyone advise on how to remove those trials? I have tried messing around with the Stroop script to achieve this but I'm running into errors again and again, and this is time sensitive for a project. I'd appreciate any help on this!

Thanks! 
By Dave - 12/8/2022

CLB - 12/8/2022
Hi guys,

I want to run the Color Word Stroop with Keyboard Responding but without the colored rectangles control trial. Could anyone advise on how to remove those trials? I have tried messing around with the Stroop script to achieve this but I'm running into errors again and again, and this is time sensitive for a project. I'd appreciate any help on this!

Thanks! 

<block stroop>
/ onblockbegin = [
    list.latencies.reset();
    list.latencies_congruent.reset();
    list.latencies_control.reset();
    list.latencies_incongruent.reset();
    list.responses.reset();
    list.responses_congruent.reset();
    list.responses_control.reset();
    list.responses_incongruent.reset();
]
/ trials = [
    1=getReady;
    2-85 =noreplace(redcongruent, redincongruent, redcontrol, greencongruent, greenincongruent, greencontrol, bluecongruent, blueincongruent,
    bluecontrol, blackcongruent, blackincongruent, blackcontrol);
]
</block>

Bolded above are the control trials. Remove them from the noreplace() pool in the block's /trials attribute and adjust the number of trials the block runs accordingly.
By CLB - 12/13/2022

Thanks a mil for your help!