Millisecond Forums

Assigning conditions and labeling in data file

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

By Mbrantang - 2/3/2018

Hi,
I’m trying to assign three groups of images as separate conditions. To do this I utilized 3 separate to target the 3 separate . Doing this works but lacks the labeling in the data file. I don’t want the images to have decernable names so that’s not an option. If anyone have a better idea on how to do this please let me know.


Current setup
Trial -> picture-> items
Noreplace

Thanks
Magnus
By Dave - 2/5/2018

Mbrantang - Sunday, February 4, 2018
Hi, I’m trying to assign three groups of images as separate conditions. To do this I utilized 3 separate to target the 3 separate . Doing this works but lacks the labeling in the data file. I don’t want the images to have decernable names so that’s not an option. If anyone have a better idea on how to do this please let me know. Current setupTrial -> picture-> itemsNoreplaceThanks Magnus

You should be able to do this by setting up three conditions / groups in a <variables> element:

https://www.millisecond.com/support/docs/v4/html/language/elements/variables.htm

I.e. something like

<trial mytrial>
/ stimulusframes = [1=mypicture]
...
</trial>

<picture a>
/ items = aitems
...
</picture>

<picture b>
/ items = bitems
...
</picture>

<picture c>
/ items = citems
...
</picture>

with

<variables>
/group=(1 of 3) (mypicture=a; ...)
/group=(2 of 3)  (mypicture=b; ...)
/group=(3 of 3)  (mypicture=c; ...)
/groupassignment = groupnumber
</variables>