Shared Scripts, Data, Stimuli, Files, and Demos

RT-Final_Final Run Experiment

RT-Final_Final

ouisa

No comments yet
 




Comments

No comments yet

If you are a registered user and signed in, you can here copy this script and its stimuli to your own account, where you can edit it and change it in any way you want.

It is absolutely free to register (no credit card info asked!). You can then instantly copy this experiment with one click and edit it, change its accompanying texts, its landing page, stimuli, etc. Invite your colleagues, friends, or students to check out your experiment. There is no limit on how many people can do your experiment, even with a free account.

The catch? There is no catch! Just keep in mind that with a free account, you cannot collect data. For teaching that is usually not a problem. For research, prepaid data collection (unlimited subjects) starts as low as €10.00 for a 10-day period.

 
var subject_id = increase("Subject ID","script");
text("On screen you will see words flashing in congruent and incongruent colours (For example ocean in blue and blood in red).");
await(7000);
text("Whenever you see a congruent word and colour press the key L, whenever you see an incongruent word and colour press the key S. Please be as fast as possible.");
await(9000);
text("As a reminder: L = congruent words and S = incongruent words");
await(5000);
text("The experiment will start now");
await(3000);

var i;
var trials = [
    {cond: 1,color:"blue",word:"ice", letter: "l"},
    {cond: 1, color: "blue", word: "frost", letter: "l"},
    {cond: 1, color: "blue", word:"frozen",letter:"l"},
    {cond: 1, color: "blue", word:"snow",letter:"l"},
    {cond: 1, color: "blue", word:"fridge",letter:"l"},
    {cond: 1, color: "red", word: "heat",letter:"l"},
    {cond: 1, color: "red", word:"burn",letter:"l"},
    {cond: 1, color: "red", word:"sun",letter:"l"},
    {cond: 1, color: "red", word:"boil",letter:"l"},
    {cond: 1, color: "red", word:"oven",letter:"l"},
    {cond: 2, color: "blue", word:"heat",letter:"s"},
    {cond: 2, color: "blue", word:"burn",letter:"s"},
    {cond: 2, color: "blue", word:"sun",letter:"s"},
    {cond: 2, color: "blue", word:"boil",letter:"s"},
    {cond: 2, color: "blue", word:"oven",letter:"s"},
    {cond: 2, color: "red", word:"ice",letter:"s"},
    {cond: 2, color: "red", word:"frost",letter:"s"},
    {cond: 2, color: "red", word:"frozen",letter:"s"},
    {cond: 2, color: "red", word:"snow",letter:"s"},
    {cond: 2, color: "red", word:"fridge",letter:"s"}
],
    
trials = shuffle(trials);

var e;

for (i = 0; i < trials.length; i = i +1)
{
    text (trials[i].word);
    style ("color", trials[i].color);
    t1 = now();
    e = awaitkey("s,l");
    t2 = now();
    RT = t2 - t1;
    logtrial(e.RT, "RT", trials[i].cond);
        
    if (trials[i].cond === 1 && trials[i].letter ==="l") // e.key
        {
            logtrial(1,"Score", trials[i].cond);
        }
            if (trials[i].cond === 2 && trials[i].letter ==="s") 
            {
                logtrial(1,"Score", trials[i].cond);
            }
        else {
            logtrial(0,"Score",trials[i].cond);
        }

}

style("color", "#000000");
text("This is the end of the experiment. Thank you very much for your participation");

Data inspection is forthcoming!

In the mean time, authors may download their own data and make it available as an Excel file. Check out the 'Stimuli and Files' tab.

Click on a category to view the stimuli and files

You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.

This experiment has no images

You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.

This experiment has no images

You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.

This experiment has no images
This experiment has no video links

You can download the files shown here by clicking on the file names or image. Note that you cannot link directly to the images, sounds, videos, etc. shown here from other web pages; the link will go stale in about one hour and will no longer work after that.

This experiment has no images

Related Experiments