Millisecond Forums

IAT trials loop

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

By gazzardlauren - 8/11/2017

Hi there, 

Within a block we are trying to show a photo briefly and then do a response test, we would like to do this repetitively within a single block. Currently we have: 

<block priming>
/ bgstim = (attributeAright, attributeBleft, targetcenter)
/ trials = [1=instructions;2=instructions;3=targetcenter;4=noreplace(attributeA, attributeB);5=targetcenter;6=noreplace(attributeA, attributeB)]
/ recorddata = false
</block>

We would like to do many iterations of "targetcenter" and "noreplace(attributeA, attributeB)" without having to progress through numbers. 

Thank You,
Lauren Gazzard
By Dave - 8/11/2017

gazzardlauren - Friday, August 11, 2017
Hi there, 

Within a block we are trying to show a photo briefly and then do a response test, we would like to do this repetitively within a single block. Currently we have: 

<block priming>
/ bgstim = (attributeAright, attributeBleft, targetcenter)
/ trials = [1=instructions;2=instructions;3=targetcenter;4=noreplace(attributeA, attributeB);5=targetcenter;6=noreplace(attributeA, attributeB)]
/ recorddata = false
</block>

We would like to do many iterations of "targetcenter" and "noreplace(attributeA, attributeB)" without having to progress through numbers. 

Thank You,
Lauren Gazzard

Not quite sure what you mean by "(without) having to progress through numbers," but you can reformulate to like so:

<block priming>
/ bgstim = (attributeAright, attributeBleft, targetcenter)
/ trials = [1=instructions;2=instructions;3,5,7,9,11=targetcenter;4,6,8,10,12=noreplace(attributeA, attributeB);]
/ recorddata = false
</block>

Otherwise, you need to employ a /branch from <trial targetcenter> to either trial.attributeA or trial.attribueB selected from a <list>. I.e. something like:

<block priming>
/ bgstim = (attributeAright, attributeBleft, targetcenter)
/ trials = [1=instructions;2=instructions;3-12=targetcenter]
/ recorddata = false
</block>

with

<trial targetcenter>
...
/ branch = [list.atrributetriallist.nextvalue]
</trial>

and

<list attributetriallist>
/ items = (trial.attributea, trial.attributeb)
/ poolsize = 10
</list>