Randomizing picture position in 8 trials with equal outcome


Author
Message
leluxe
leluxe
Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)
Group: Forum Members
Posts: 18, Visits: 85
I've got a question regarding the randomized presentation of 8 versions of an Ebbinghaus task.
The participants are presented these tasks in a randomized order and they are supposed to adjust the red element to the correct size. Up to this point, the adjustment always takes place on the right side. To rule out differences between the hemispheres of the field of vision I would like to randomly let the adjustment take place on both the right and the left side. It is important though, that of the 8 trials exactly 4 are adjusted on the left side and 4 on the right side, while kepping the order randomized. Also one of the eight versions of the task should be presented either with adjustment on the right or on the left (not on both sides, I want to remain with only 8 trials i.e. every version once), so that for example one participant sees the version with the adjustment in the big flower with adjustment on the left and the next participant sees it with adjustment on the right. The sides where the adjustment takes place is the one where the picture has an arrow added to it and where the red element with the dynamic value in the /size attribute is situated.
To achieve this I implemented a list element with the /items (1,1,1,1,2,2,2,2), wrote two values, namely /adjustside and /compareside and then wrote /ontrialbegin attributes in each trial which give these values one of two different values, depending on which item is drawn from the list. The values are used in the /hposition attribute of the elements I want to position dynamically and represent either the right or the left side of the screen (indicated by (display.width/2) + expressions.vectorposition respectively (display.width/2) - expressions.vectorposition).

You can see how it should look where I didn't try the randomisation yet and you can sadly see how it shouldn't whith the trials where I tried the randomisation. Somehow the elements are all in the left corner/outside of the screen.
I would greatly appreciate if you could help me out here. I don't know if this approach is usable at all, but it was the only one I could come up with.

The file with the pictures is attached.

Best regards,
Pablo

Attachments
Ebbinghaus randomize.zip (718 views, 291.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Please study the changes in <trial floweradjustbig> thoroughly and then apply that to the other trials.

Attachments
Ebbinghaus randomize.iqx (1K views, 31.00 KB)
leluxe
leluxe
Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)Distinguished Member (3K reputation)
Group: Forum Members
Posts: 18, Visits: 85
Amazing! I see why you added the logic with the trialcount property. The nextvalue property makes sense as well. I'm not familiar with list elements, so I didn't see the most logical solution again. Already adapted this to the other elements and it works perfectly, thank you.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search