Shared Scripts, Data, Stimuli, Files, and Demos

CrossCulturalSecurityCopy Run Experiment

CrossCulturalSecurityCopy

ÁlvaroBenito

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.

 
instruction("Gracias por participar en este experimento! Por favor, antes de empezar contesta algunas preguntas");
select("Por favor indica tu edad",
       ['14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27','28', '29', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '60', '61', '62', '63', '64', '65', '66', '67', '68', '69', '70', '71', '72', '73', '74', '75', '76', '77', '78', '79', '80', '81', '82', '83', '84', '85', '86', '87', '88', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99'],"Age");
       
select("Por favor indica tu género",
       ['Mujer','Hombre'],"Gender");     
       
scale("Mis opiniones acerca de mi cultura a veces son contradictorias (1 = Muy de acuerdo; 5 = Muy en desacuerdo)",
       "1","5","1CulturalIdClar");
scale("Algunos días tengo una opinión sobre mi cultura y otros días esa opinión puede cambiar (1 = Muy de acuerdo; 5 = Muy en desacuerdo)",
       "1","5","2CulturalIdClar");
scale("Lo que pienso acerca de mi cultura varía frecuentemente (1 = Muy de acuerdo; 5 = Muy en desacuerdo)",
       "1","5","3CulturalIdClar");
scale("Si tuviera que describir mi cultura, la descripción no sería siempre la misma (1 = Muy de acuerdo; 5 = Muy en desacuerdo)",
       "1","5","4CulturalIdClar");


text ("Durante los siguientes dos minutos, algunas parejas de palabras aparecerán en la pantalla");
await(5000);
clear();

text("Debes tocar la pantalla o el botón SI lo más rapido posible o evitar tocarla según la palabra que aparezca. Al inicio de cada ronda te diremos la palabra a tocar y la palabra a evitar! Hay 6 rondas muy rápidas, al final de cada una te diremos el número de aciertos!");
await(14000);
clear();

instruction("Recuerda tocar según la palabra aparezca! En menos de un segundo. Si tardas más contará como error!");

instruction("Toca cuando veas CONTROL y evita tocar cuando veas AZAR");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}


var a = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'control' : 'azar'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
    
     or
    
    {
        e = await('click',1000);
    }
    
    if (e.type !== 'timeout' && stimulus === 'control')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'azar')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    a.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(a),"MeanRT1");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');
   
log(stat.dprime(hits,false_alarms).toFixed(2), "d1");


yes.text("OK");
yes.await('click');
yes.destroy();
clear();

instruction("Toca cuando veas AZAR y evita tocar cuando veas CONTROL");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}



var b = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'Azar' : 'Control'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
    
      or
    
    {
        e = await('click',1000);
    }
    
    if (e.type !== 'timeout' && stimulus === 'Azar')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'Control')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    b.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(b),"MeanRT2");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');
   
log(stat.dprime(hits,false_alarms).toFixed(2), "d2");


yes.text("OK");
yes.await('click');
yes.destroy();
clear();

instruction("Toca cuando veas JERARQUÍA y evita tocar cuando veas IGUALDAD");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}




var c = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'Jerarquía' : 'Igualdad'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
    
      or
    
    {
        e = await('click',1000);
    }
    if (e.type !== 'timeout' && stimulus === 'Jerarquía')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'Igualdad')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    c.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(c),"MeanRT3");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');
   
log(stat.dprime(hits,false_alarms).toFixed(2), "d3");

yes.text("OK");
yes.await('click');
yes.destroy();
clear();

instruction("Toca cuando veas IGUALDAD y evita tocar cuando veas JERARQUÍA");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}



var d = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'Igualdad' : 'Jerarquía'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
      or
    
    {
        e = await('click',1000);
    }
    
    if (e.type !== 'timeout' && stimulus === 'Igualdad')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'Jerarquía')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    d.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(d),"MeanRT4");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');
   
log(stat.dprime(hits,false_alarms).toFixed(2), "d4");

yes.text("OK");
yes.await('click');
yes.destroy();
clear();

instruction("Dos últimas rondas. Recuerda ser rápido. Toca cuando veas ÉXITO y evita RELACIÓN");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}




var g = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'Éxito' : 'Relación'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
      or
    
    {
        e = await('click',1000);
    }
    
    if (e.type !== 'timeout' && stimulus === 'Éxito')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'Relación')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    g.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(g),"MeanRT5");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');

   
log(stat.dprime(hits,false_alarms).toFixed(2), "d5");

yes.text("OK");
yes.await('click');
yes.destroy();
clear();

instruction("Toca cuando veas RELACIÓN y evita ÉXITO");

await(1000);

var i, coords = [[30,30],[51,30],[30,51],[51,51]], 
    blocks = [], r, stimululus, e, hits = 0, false_alarms = 0,
    yes = addblock(44,90,12,7,"darkkhaki","SI"),
    trials = shuffle([1,1,1,1,1, 1,1,1,1,1, 1,1,1,1,1, 2,2,2,2,2]);

await(2000);


for (i = 0; i < coords.length; i++) { 
    blocks.push(addblock(coords[i][0],coords[i][1],25,25,'lightblue').text('+',100)); // * of size 300%
}




var h = [];


for (i = 0; i < trials.length; i++) 
{
    await(500 + random(500));
    stimulus = trials[i] === 1 ? 'Relación' : 'Éxito'; 
    r = randint(0,3); 

    blocks[r].text(stimulus,65);
    
    waitfor 
    
    {
        e = awaitkey(' ',1000); 
    } or
    
    {
        e = yes.await('click',1000);
    }
      or
    
    {
        e = await('click',1000);
    }
    
    if (e.type !== 'timeout' && stimulus === 'Relación')
    {
        ++hits;
    }
    
    if (e.type !== 'timeout' && stimulus === 'Éxito')
    {
        ++false_alarms;
    }
    
    log(e.RT,"RT");
    clear();
    
    h.push(e.RT);
   

    await(300);
    blocks[r].text('+',100);
}

for (i = 0; i < blocks.length; i++) 
{
    blocks[i].destroy();
}



log(stat.mean(h),"MeanRT6");
clear();


text('Has tenido ' + hits + ' aciertos y ' + false_alarms + ' errores');

await(2500);

log(stat.dprime(hits,false_alarms).toFixed(2), "d6");
   
   
text('Muchas gracias!');

await(1000);

await(500);
yes.destroy();
clear();

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

Related Experiments