random alignment of stimuli


Author
Message
shane
shane
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 23, Visits: 92
Hi,

I'm attempting to program a seemingly simple script wherein from among a list of 40 text stimuli, each item is selected randomly (no problem with that part), and the text is presented at the top or bottom part of the screen randomly, about an equal number of times (that is, about 20 items should appear at the top, 20 at the bottom). It's the latter part - the randomization of the vertical alignment that is creating some difficulty for me.  Your help is appreciated!  

Best,


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
This should be fairly straightforward:

<block myblock>
/ trials = [1-4=mytrial]
</block>

<trial mytrial>
/ stimulusframes = [1=mytext]
/ validresponse = (57)
</trial>

<text mytext>
/ items = ("A", "B", "C", "D")
/ vposition = list.randvpos.nextvalue
</text>

<list randvpos>
/ items = (15%, 85%)
/ poolsize = 4
</list>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search