Millisecond Forums

Reduce number of trials for the AMP

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

By Lisa Leonie24 - 10/20/2021

Hi everyone,
sorry in advance if this is a stupid question but I'm new to this.
I would like to reduce the number of trials per Stimulus in the AMP script. 
I was wondering if this is possible and if so, what I need to do in order to reduce the number of trials?

Thank you in advance!
Lisa

By Dave - 10/20/2021

Lisa Leonie24 - 10/20/2021
Hi everyone,
sorry in advance if this is a stupid question but I'm new to this.
I would like to reduce the number of trials per Stimulus in the AMP script. 
I was wondering if this is possible and if so, what I need to do in order to reduce the number of trials?

Thank you in advance!
Lisa


Edit the respective <block>'s /trials attribute according to your needs. In the standard configuration, the test block runs 48 AMP trials

<block test>
/ onblockbegin = [
    picture.primeA.resetselection();
    picture.primeB.resetselection();
    picture.primeNeutral.resetselection();
    picture.target.resetselection();
]
/ bgstim = (attributeAlabel, attributeBlabel)
/ trials = [
    1 = instructions;
    2 = getReady;
    3-50 = noreplace(primeA, primeB, primeNeutral);
]
</block>

sampling primeA, primeB and primeNeutral trials in equal proportions (i.e. that's 16 primeA trials, 16 primeB trials, and 16 primeNeutral trials in random order).

If you want to, say, cut that in half, change the above to

<block test>
/ onblockbegin = [
  picture.primeA.resetselection();
  picture.primeB.resetselection();
  picture.primeNeutral.resetselection();
  picture.target.resetselection();
]
/ bgstim = (attributeAlabel, attributeBlabel)
/ trials = [
  1 = instructions;
  2 = getReady;
  3-26 = noreplace(primeA, primeB, primeNeutral);
]
</block>
By Lisa Leonie24 - 10/20/2021

Perfect, thank you so much!