no more than 4 times in a row


Author
Message
Ulrike Nestler
Ulrike Nestler
Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)
Group: Forum Members
Posts: 17, Visits: 41
Hello,
i am currently programming shifting paradigm such as the color-shape task which basically consist of switch and no switch trials. And I need to know an expression that allows the order of trials to be randomized with the constraint that no more than 4 switch trials can occur in a row. Can you please help me with that? Because the usual noreplacenorepeat doesn't do it here.

Thanks!
UIrike

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: 12K, Visits: 98K
You need to use a <list> for trial selection, with its /maxrunsize set to 4.

<block myblock>
/ trials = [1-100=list.triallist]
</block>

<list triallist>
/ items = (trial.a, trial.b)
/ poolsize = 100
/ maxrunsize = 4
</list>

<trial a>
/ trialduration = 10
</trial>

<trial b>
/ trialduration = 10
</trial>


Ulrike Nestler
Ulrike Nestler
Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)Distinguished Member (2.6K reputation)
Group: Forum Members
Posts: 17, Visits: 41
Thanks so much for this fast reply! :-D

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search