Color Word Stroop Script Editing


Author
Message
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: 108K
Dave - 2/6/2021
clynzee - 2/6/2021
Hello!

I am interested in running 2 different versions of the Color Word Stroop with Keyboard Responding (English); one version with all congruent presentations, one version with 75% incongruent presentations/25% congruent presentations. I would also like to remove the control trials (color blocks) from both versions and increase the trial presentation amount from 84 to 256 trials.

I have tried editing the script, however I receive errors when trying to run the test.

Any guidance on this issue?

Thanks!

What edits did you make and what are the specific errors, please?

To make a few general points.
(1) To not run the control trials, remove them from the <block>'s /trials attribute.

<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>

(2) To increase the amount of trials from 84 to 256, change 2-85 in the /trials attribute to 2-257.

/ trials = [
  1=getReady;
  2-257=noreplace(redcongruent, redincongruent, greencongruent, greenincongruent, bluecongruent, blueincongruent, blackcongruent, blackincongruent);
]

(3a) For the version running only congruent trials, simply remove all incongruent trials.

/ trials = [
1=getReady;
2-257=noreplace(redcongruent, greencongruent, bluecongruent, blackcongruent);
]

(3b) For the version with a 3:1 incongruent to congruent ratio, adjust the ratio of the trials in the noreplace pool accordingly:

/ trials = [
1=getReady;
2-257=noreplace(redcongruent, redincongruent, redincongruent, redincongruent,
greencongruent, greenincongruent, greenincongruent, greenincongruent,
bluecongruent, blueincongruent, blueincongruent, blueincongruent,
blackcongruent, blackincongruent, blackincongruent, blackincongruent);
]

That's pretty much all there is to it.

Edited 4 Years Ago by Dave
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: 108K
clynzee - 2/6/2021
Hello!

I am interested in running 2 different versions of the Color Word Stroop with Keyboard Responding (English); one version with all congruent presentations, one version with 75% incongruent presentations/25% congruent presentations. I would also like to remove the control trials (color blocks) from both versions and increase the trial presentation amount from 84 to 256 trials.

I have tried editing the script, however I receive errors when trying to run the test.

Any guidance on this issue?

Thanks!

What edits did you make and what are the specific errors, please?

clynzee
clynzee
Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)Associate Member (108 reputation)
Group: Forum Members
Posts: 8, Visits: 39
Hello!

I am interested in running 2 different versions of the Color Word Stroop with Keyboard Responding (English); one version with all congruent presentations, one version with 75% incongruent presentations/25% congruent presentations. I would also like to remove the control trials (color blocks) from both versions and increase the trial presentation amount from 84 to 256 trials.

I have tried editing the script, however I receive errors when trying to run the test.

Any guidance on this issue?

Thanks!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search